ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > microsoft.public.sqlserver.server > DBCC returns msg 515

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author DBCC returns msg 515
didi
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
DBCC returns msg 515

I received "msg 515" from several tables when I ran DBCC
checktable or checkdb.
I checked all system tables to see if there were any
corrupt tables but they were all fine.
Tempdb is not full and may grow another 120GB.
In tables which returned "msg 515" there were no null
entries where the columns do not allow null value.

I do not know when some tables were corrupt since I do not
run DBCC so often as it takes over 20 hours.
I might get same message even I restore the database from
one of the backup.

Anyone know anything more about msg 515? How to deal with
it??

***Here is the return message from DBCC*****
Server: Msg 515, Level 16, State 2, Line 3
Cannot insert the value NULL into column '', table '';
column does not allow nulls. INSERT fails.
Server: Msg 8921, Level 16, State 1, Line 1
CHECKTABLE terminated. A failure was detected while
collecting facts. Possibly tempdb out of space or a system
table is corrupt. Check previous errors.
CHECKTABLE found 0 allocation errors and 1 consistency
errors not associated with any single object.
repair_fast is the minimum repair level for the errors
found by DBCC CHECKTABLE (UCDW_PROD.dbo.FYSIKER ).

Report this post to a moderator

Old Post 11-05-02 12:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
Paul S Randal [MS]
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: DBCC returns msg 515

Have you tried running the sp_checkdbtempsize procedure to find out how much
tempdb space is required by CHECKDB to be able to run successfully? I think
you're running out of space while CHECKDB is running.

--
Paul Randal
DBCC Technical Lead, SQL Server Storage Engine
Microsoft, Redmond, WA

This posting is provided "AS IS" with no warranties, and confers no rights.
"didi" <carlsdootar@hotmail.com> wrote in message
news:6f5b01c284be$084864d0$2ae
2c90a@phx.gbl...
> I received "msg 515" from several tables when I ran DBCC
> checktable or checkdb.
> I checked all system tables to see if there were any
> corrupt tables but they were all fine.
> Tempdb is not full and may grow another 120GB.
> In tables which returned "msg 515" there were no null
> entries where the columns do not allow null value.
>
> I do not know when some tables were corrupt since I do not
> run DBCC so often as it takes over 20 hours.
> I might get same message even I restore the database from
> one of the backup.
>
> Anyone know anything more about msg 515? How to deal with
> it??
>
> ***Here is the return message from DBCC*****
> Server: Msg 515, Level 16, State 2, Line 3
> Cannot insert the value NULL into column '', table '';
> column does not allow nulls. INSERT fails.
> Server: Msg 8921, Level 16, State 1, Line 1
> CHECKTABLE terminated. A failure was detected while
> collecting facts. Possibly tempdb out of space or a system
> table is corrupt. Check previous errors.
> CHECKTABLE found 0 allocation errors and 1 consistency
> errors not associated with any single object.
> repair_fast is the minimum repair level for the errors
> found by DBCC CHECKTABLE (UCDW_PROD.dbo.FYSIKER ).
>



Report this post to a moderator

Old Post 11-05-02 06:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
didi
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: DBCC returns msg 515

The database is in SQL 7 enterprise.
I could not find "sp_checkdbtempsize procedure"
Is this one of the original stored procedure?



>-----Original Message-----
>Have you tried running the sp_checkdbtempsize procedure

to find out how much
>tempdb space is required by CHECKDB to be able to run

successfully? I think
>you're running out of space while CHECKDB is running.
>
>--
>Paul Randal
>DBCC Technical Lead, SQL Server Storage Engine
>Microsoft, Redmond, WA
>
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>"didi" <carlsdootar@hotmail.com> wrote in message
> news:6f5b01c284be$084864d0$2ae
2c90a@phx.gbl...
>> I received "msg 515" from several tables when I ran DBCC
>> checktable or checkdb.
>> I checked all system tables to see if there were any
>> corrupt tables but they were all fine.
>> Tempdb is not full and may grow another 120GB.
>> In tables which returned "msg 515" there were no null
>> entries where the columns do not allow null value.
>>
>> I do not know when some tables were corrupt since I do

not
>> run DBCC so often as it takes over 20 hours.
>> I might get same message even I restore the database

from
>> one of the backup.
>>
>> Anyone know anything more about msg 515? How to deal

with
>> it??
>>
>> ***Here is the return message from DBCC*****
>> Server: Msg 515, Level 16, State 2, Line 3
>> Cannot insert the value NULL into column '', table '';
>> column does not allow nulls. INSERT fails.
>> Server: Msg 8921, Level 16, State 1, Line 1
>> CHECKTABLE terminated. A failure was detected while
>> collecting facts. Possibly tempdb out of space or a

system
>> table is corrupt. Check previous errors.
>> CHECKTABLE found 0 allocation errors and 1 consistency
>> errors not associated with any single object.
>> repair_fast is the minimum repair level for the errors
>> found by DBCC CHECKTABLE (UCDW_PROD.dbo.FYSIKER ).
>>

>
>
>.
>

Report this post to a moderator

Old Post 11-06-02 11:23 AM
Reply w/Quote Edit/Delete Message IP: Logged
didi
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: DBCC returns msg 515

I found sp_checkdbtempsize.
The sp returns different values depend in which database I
run this query.
I would like to know what this returned means.
It obviously is not the size of TEPMPDB, right?
And which size is enough for certain size of database?

Thank you.
>-----Original Message-----
>Have you tried running the sp_checkdbtempsize procedure

to find out how much
>tempdb space is required by CHECKDB to be able to run

successfully? I think
>you're running out of space while CHECKDB is running.
>
>--
>Paul Randal
>DBCC Technical Lead, SQL Server Storage Engine
>Microsoft, Redmond, WA
>
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>"didi" <carlsdootar@hotmail.com> wrote in message
> news:6f5b01c284be$084864d0$2ae
2c90a@phx.gbl...
>> I received "msg 515" from several tables when I ran DBCC
>> checktable or checkdb.
>> I checked all system tables to see if there were any
>> corrupt tables but they were all fine.
>> Tempdb is not full and may grow another 120GB.
>> In tables which returned "msg 515" there were no null
>> entries where the columns do not allow null value.
>>
>> I do not know when some tables were corrupt since I do

not
>> run DBCC so often as it takes over 20 hours.
>> I might get same message even I restore the database

from
>> one of the backup.
>>
>> Anyone know anything more about msg 515? How to deal

with
>> it??
>>
>> ***Here is the return message from DBCC*****
>> Server: Msg 515, Level 16, State 2, Line 3
>> Cannot insert the value NULL into column '', table '';
>> column does not allow nulls. INSERT fails.
>> Server: Msg 8921, Level 16, State 1, Line 1
>> CHECKTABLE terminated. A failure was detected while
>> collecting facts. Possibly tempdb out of space or a

system
>> table is corrupt. Check previous errors.
>> CHECKTABLE found 0 allocation errors and 1 consistency
>> errors not associated with any single object.
>> repair_fast is the minimum repair level for the errors
>> found by DBCC CHECKTABLE (UCDW_PROD.dbo.FYSIKER ).
>>

>
>
>.
>

Report this post to a moderator

Old Post 11-06-02 03:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
Paul S Randal [MS]
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: DBCC returns msg 515

If you want to run dbcc checkdb agsinst database 'foo', run
sp_checkdbtempsize, giving it 'foo'. The return value is the amount of space
(in Kb I think) that DBCC needs to have available in tempdb, to be able to
run dbcc checkdb against database 'foo'.

If it returns, say 150 Mb, and you only have 120 Mb in tempdb, the odds are
that it will run out of space while running dbcc checkdb.

--
Paul Randal
DBCC Technical Lead, SQL Server Storage Engine
Microsoft, Redmond, WA

This posting is provided "AS IS" with no warranties, and confers no rights.
"didi" <carlsdottar@hotmail.com> wrote in message
news:4df101c2859f$aabe2ec0$95e
62ecf@tkmsftngxs02...
> I found sp_checkdbtempsize.
> The sp returns different values depend in which database I
> run this query.
> I would like to know what this returned means.
> It obviously is not the size of TEPMPDB, right?
> And which size is enough for certain size of database?
>
> Thank you.
> >-----Original Message-----
> >Have you tried running the sp_checkdbtempsize procedure

> to find out how much
> >tempdb space is required by CHECKDB to be able to run

> successfully? I think
> >you're running out of space while CHECKDB is running.
> >
> >--
> >Paul Randal
> >DBCC Technical Lead, SQL Server Storage Engine
> >Microsoft, Redmond, WA
> >
> >This posting is provided "AS IS" with no warranties, and

> confers no rights.
> >"didi" <carlsdootar@hotmail.com> wrote in message
> > news:6f5b01c284be$084864d0$2ae
2c90a@phx.gbl...
> >> I received "msg 515" from several tables when I ran DBCC
> >> checktable or checkdb.
> >> I checked all system tables to see if there were any
> >> corrupt tables but they were all fine.
> >> Tempdb is not full and may grow another 120GB.
> >> In tables which returned "msg 515" there were no null
> >> entries where the columns do not allow null value.
> >>
> >> I do not know when some tables were corrupt since I do

> not
> >> run DBCC so often as it takes over 20 hours.
> >> I might get same message even I restore the database

> from
> >> one of the backup.
> >>
> >> Anyone know anything more about msg 515? How to deal

> with
> >> it??
> >>
> >> ***Here is the return message from DBCC*****
> >> Server: Msg 515, Level 16, State 2, Line 3
> >> Cannot insert the value NULL into column '', table '';
> >> column does not allow nulls. INSERT fails.
> >> Server: Msg 8921, Level 16, State 1, Line 1
> >> CHECKTABLE terminated. A failure was detected while
> >> collecting facts. Possibly tempdb out of space or a

> system
> >> table is corrupt. Check previous errors.
> >> CHECKTABLE found 0 allocation errors and 1 consistency
> >> errors not associated with any single object.
> >> repair_fast is the minimum repair level for the errors
> >> found by DBCC CHECKTABLE (UCDW_PROD.dbo.FYSIKER ).
> >>

> >
> >
> >.
> >



Report this post to a moderator

Old Post 11-06-02 11:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps