To anybody out there that may be able to solve my SQL admin problem.
At the moment I am getting the following error:
Error:1105, Severity: 17, State 2
Can't allocate space for object 'syslogs' in database 'master' 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.
I get this error in NT's Application Log and when I perform SQL statements
while using MS Enterprise Manager.
I have tried to dump the transaction log, the same error message occurs.
I have tried to increase the size of the database, by using the gui
interface, the same error message occurs.
I have tried to ALTER DATABASE and then use the sp_logdevice to increase
the size of the transaction log.
I don't know where the the transaction log is (I didn't create the db), but
I'm guessing it is located in another db called 'msdb'.
I have also tried to increase the size of that db as well
Is there anybody out there that can help me?
cheers
Sam
I fell into this the first time my logs filled up too.
rob
Sam Matthews wrote in article
>
> To anybody out there that may be able to solve my SQL admin problem.
>
> At the moment I am getting the following error:
>
> Error:1105, Severity: 17, State 2
> Can't allocate space for object 'syslogs' in database 'master' 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. ...
Check the tempdb size. By default Log size shared with data. I work with
the Log size 50 MB, but you can set the size by trying to increase Log size
by step. In past I had this error when join 5 tables in view with 10000
records in each. Also check that 'Truncate log on checkpoint' is checked.
With best regards,
AB
--
Regards,
Victor Mangasing, MCSE
415 372-2599
Empart Technologies
vic...@empart.com
Sam Matthews <sa...@clandcen.co.nz> wrote in article
<01bc5e7b$2dd8c2e0$d746...@polypro2.clandcen.co.nz>...
>
> To anybody out there that may be able to solve my SQL admin problem.
>
> At the moment I am getting the following error:
>
> Error:1105, Severity: 17, State 2
> Can't allocate space for object 'syslogs' in database 'master' 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.
>
> I get this error in NT's Application Log and when I perform SQL
statements
> while using MS Enterprise Manager.
>
> I have tried to dump the transaction log, the same error message occurs.
>
run the following statement:
"dump tran master with NO_LOG"
this will truncate the transaction log in the master database.
once this is done, make sure that your master db has the "truncate log
on checkpoint" option turned on.
--
____________________________________
Oleg Dimerman (ol...@oeonline.com)
Turning the database option 'Truncate Log On CheckPoint' is definitely not
the answer for +PRODUCTION+ databases. If this option is turned on, you
will lose your ability to restore the database to the time of failure. You
would have to resort to the last full backup (usually nightly).
The proper approach is to
1. Dump the log.
2. Examine your query (what's wrong). This is usually the culprit.
3. Expand the log segment if still determined to be neccessary.
Regards,
Rob O'Neal
>
>To anybody out there that may be able to solve my SQL admin problem.
>
>At the moment I am getting the following error:
>
>Error:1105, Severity: 17, State 2
>Can't allocate space for object 'syslogs' in database 'master' 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.
>
>I get this error in NT's Application Log and when I perform SQL statements
>while using MS Enterprise Manager.
>
>I have tried to dump the transaction log, the same error message occurs.
>
>I have tried to increase the size of the database, by using the gui
>interface, the same error message occurs.
>
>I have tried to ALTER DATABASE and then use the sp_logdevice to increase
>the size of the transaction log.
>
>I don't know where the the transaction log is (I didn't create the db), but
>I'm guessing it is located in another db called 'msdb'.
>
>I have also tried to increase the size of that db as well
>
>Is there anybody out there that can help me?
>
>
>
>cheers
>
>Sam
>
>sa...@clandcen.co.nz
If you are running a large query and the log fills up uou won't be
able to dump it until you kill that query. A log only dumps out
finished transactions.
First run dump transaction "database name" with NO_log
Then run
dbcc checktable(syslogs)
This will tell you what percent of the log is full and clear out any
garbage that might be left