moonshadow
Programmer
We've a production database running on SQL 6.5 (ugh!), every night we take a dump, copy it to the backup server and restore it onto 2 databases there. One we use as a warm standby and apply 6 minute transaction logs during the day. The other is used for adhoc queries. We have a batch job that runs immediately after the restore to add some more users to the query database. This is failing with error:
Msg 1105, Level 17, State 2, Server FIFE, Procedure sp_adduser, Line 154
Can't allocate space for object 'Syslogs' in database 'copypor01' because the 'logsegment' segment 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.
On the face of it, it looks like a simple space issue, but I've recently increased the database size by 2GB. Stopping and starting SQL Server clears the problem. However, SQL enterprise manager says there is no space left in the database, but 1GB left in the transaction log. This must be inaccurate, as the production system reports the same but is running fine. How can the transaction log be full after a full restore ? Or what else could cause this ?
Can anyone help?
Msg 1105, Level 17, State 2, Server FIFE, Procedure sp_adduser, Line 154
Can't allocate space for object 'Syslogs' in database 'copypor01' because the 'logsegment' segment 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.
On the face of it, it looks like a simple space issue, but I've recently increased the database size by 2GB. Stopping and starting SQL Server clears the problem. However, SQL enterprise manager says there is no space left in the database, but 1GB left in the transaction log. This must be inaccurate, as the production system reports the same but is running fine. How can the transaction log be full after a full restore ? Or what else could cause this ?
Can anyone help?