transaction log
Effettuando frequenti transazioni sul database è possibile che il transaction log
si riempa e non consenta di effettuare ulteriori operazioni.
Il messaggio di errore che si ottiene è il seguente:
Can't allocate space for object syslogs in database dbname because the
logsegment is full. If you ran out of space in syslogs, dump the
transaction log. Otherwise use ALTER DATABASE or sp_extendsegment to
increase the size of the segment.
Per liberarlo utilizzare:
dbcc checktable (syslogs)
che restituisce un messaggio simile a:
Checking syslogs
The total number of data pages in this table is 87.
The number of data pages in Sysindexes for this table was 132871. It has been corrected to 87.
The number of rows in Sysindexes for this table was 59837. It has been corrected to 1937.
*** NOTICE: Space used on the log segment is 0.17 Mbytes, 0.05.
*** NOTICE: Space free on the log segment is 347.99 Mbytes, 99.95.
Table has 1937 data rows.
DBCC execution completed. If DBCC printed error messages, see your System Administrator.