Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SQL Server ERROR 1105 (Transaction Logs)

226 views
Skip to first unread message

Sam Matthews

unread,
May 12, 1997, 3:00:00 AM5/12/97
to

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

Robert Pownall

unread,
May 12, 1997, 3:00:00 AM5/12/97
to

Sam Matthews wrote:
>
>
> 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 have tried to dump the transaction log, the same error message occurs.
>
.
.
Dump the transaction log with the NO_LOG option (i think this is
correct, check in the books online under DUMP TRANSACTION)

I fell into this the first time my logs filled up too.

rob

Alexey Burmin

unread,
May 12, 1997, 3:00:00 AM5/12/97
to


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


Consulting Services

unread,
May 12, 1997, 3:00:00 AM5/12/97
to

I have encountered the same problem many times. What has worked for me is
to dump the transaction log. Then, make a backup of the database (don't
forget to do this just in case!). And run a full DBCC on the database. You
will find that this will take care of that message.


--
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.
>

Oleg Dimerman

unread,
May 12, 1997, 3:00:00 AM5/12/97
to

Sam Matthews wrote:
>
> 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

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)

Rob O'Neal

unread,
May 13, 1997, 3:00:00 AM5/13/97
to

After reading the other messages, I wanted to pipe in with one point.

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


10370...@compuserve.com

unread,
May 13, 1997, 3:00:00 AM5/13/97
to

On 12 May 1997 02:22:54 GMT, "Sam Matthews" <sa...@clandcen.co.nz>
wrote:

>
>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

0 new messages