UPDATE Calls
SET AcctSessionTime=0
WHERE AcctSessionTime<0
We keep two months accounting data (consolidated nightly) in a 500MB SQL
database. The above query does not work because it takes a long time to
process during which time the calls table gets locked and causes Radius to
freeze since it can not record the accounting requests. Is there a better
query to write to accomplish this task of altering negative AcctSessionTime
records to set them to 0? Also, out of curiosity, has anyone else ever had
a Netserver start doing this? Ours started after the V.90 code load.
While it is only about 3 records per month that are corrupt, it still makes
for troublesome reporting.
--==================================================== /\ Mike A. Miller == /--\ \/ Abraxis Networks ==/ \ B R A /\ I S == / == N E T W O R K S michael@abraxis.com====================================================