dbTalk Databases Forums  

Problem performing Sybase dump

comp.databases.sybase comp.databases.sybase


Discuss Problem performing Sybase dump in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dmitry
 
Posts: n/a

Default Problem performing Sybase dump - 09-14-2004 , 04:16 PM






Hello,

I am getting a following error during the sybase backup:

Checking billing_item
The total number of data pages in this table is 5457.
Table has 74367 data rows.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183292 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183306 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183458 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.


I have dropped and recreated an indexe in question several times.
There are NO errors produced during the index creation. I have also
successfully ran a dbcc reindex (billing_item) command and it did not
yield any errors.

However, the database dump still isn't working unless I remove the
index in question from the table. The table is loaded fresh using the
command line bcp without any problem.

What could be the reason for that?

Thanks,

Dmitry, (PerlUser)

UDB DBA
Independent consultant and Certified IBM professional.

Reply With Quote
  #2  
Old   
Ollie
 
Posts: n/a

Default Re: Problem performing Sybase dump - 09-16-2004 , 03:21 PM






perluser (AT) optonline (DOT) net (Dmitry) wrote in message news:<71ad9bef.0409141316.2b44f8e (AT) posting (DOT) google.com>...
Quote:
Hello,

I am getting a following error during the sybase backup:

Checking billing_item
The total number of data pages in this table is 5457.
Table has 74367 data rows.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183292 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183306 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183458 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.


I have dropped and recreated an indexe in question several times.
There are NO errors produced during the index creation. I have also
successfully ran a dbcc reindex (billing_item) command and it did not
yield any errors.

However, the database dump still isn't working unless I remove the
index in question from the table. The table is loaded fresh using the
command line bcp without any problem.

What could be the reason for that?

Thanks,

Dmitry, (PerlUser)

UDB DBA
Independent consultant and Certified IBM professional.
This message is not from database dump, but from dbcc. And it's
pointing to data corruption. Follow the suggestion from the output to
fix the problems.


Reply With Quote
  #3  
Old   
Dmitry
 
Posts: n/a

Default Re: Problem performing Sybase dump - 09-17-2004 , 01:11 PM



Actually,

DBCC suggests dropping index in question and recreating it. I have
done that successfully several times without any errors. I have even
reloaded the table and recreated all indexes on it

However, when backup runs next time it throws out the same error:

Checking billing_item The total number of data pages in this table is
5457.
Table has 74367 data rows.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183292 should
be in ascending order. Drop and re-create the index in database
'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183306 should
be in ascending order. Drop and re-create the index in database
'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183458 should
be in ascending order. Drop and re-create the index in database
'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be inascending order. Drop and re-create the index in database
'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in ascending order. Drop and re-create the index in database
'tesd01'.

If I drop the index and run the backup, it completes fine.

What could be the problem?

Thanks,

Dmitry.




oamd (AT) yahoo (DOT) com (Ollie) wrote in message news:<82f47a3c.0409161221.22c9152a (AT) posting (DOT) google.com>...
Quote:
perluser (AT) optonline (DOT) net (Dmitry) wrote in message news:<71ad9bef.0409141316.2b44f8e (AT) posting (DOT) google.com>...
Hello,

I am getting a following error during the sybase backup:

Checking billing_item
The total number of data pages in this table is 5457.
Table has 74367 data rows.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183292 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183306 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183458 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.
Msg 2511, Level 16, State 3:
Server 'SYBASE_PROD1', Line 2:
Keys of index id 4 for table 'billing_item' in leaf page 183447 should
be in
ascending order. Drop and re-create the index in database 'tesd01'.


I have dropped and recreated an indexe in question several times.
There are NO errors produced during the index creation. I have also
successfully ran a dbcc reindex (billing_item) command and it did not
yield any errors.

However, the database dump still isn't working unless I remove the
index in question from the table. The table is loaded fresh using the
command line bcp without any problem.

What could be the reason for that?

Thanks,

Dmitry, (PerlUser)

UDB DBA
Independent consultant and Certified IBM professional.

This message is not from database dump, but from dbcc. And it's
pointing to data corruption. Follow the suggestion from the output to
fix the problems.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.