Showing posts with label drive. Show all posts
Showing posts with label drive. Show all posts

Thursday, March 29, 2012

backup file being reported as corrupt

I am backing up my databases every night. The system admin has a process running where he copies any new files on the drive to a tape drive for backup.

Twice now he has told me that a backup file was corrupt. In both cases, my jobs and processes are still running clean. DBCC checkdb returns no errors. Where is the best place / tool to check for corruption in tables?

Corruption was occurring in the backup process and was not related to SQL Server itself.

backup file being reported as corrupt

I am backing up my databases every night. The system admin has a process running where he copies any new files on the drive to a tape drive for backup.

Twice now he has told me that a backup file was corrupt. In both cases, my jobs and processes are still running clean. DBCC checkdb returns no errors. Where is the best place / tool to check for corruption in tables?

Corruption was occurring in the backup process and was not related to SQL Server itself.

Sunday, March 25, 2012

Backup Error Message

I am receiving a BackupDiskFile::RequestDurableMedia error when backing up to a backup device pointing to a file on the hard drive. This only happens for one of the devices and there are several others, configured similarly, that work just fine. I'm won
dering if anyone has seen this before and can shed some light on what could be causing this. The error message continues with: Operating system error 64 (The specified network name is no longer available).
Sometimes you will see this with the larger backups If you are trying to
backing up locally using a network share. Attempt the backup by using the
file path instead of the share name.
HTH
SQL Server Support
Agnes Panosian

Backup Error Message

I am receiving a BackupDiskFile::RequestDurableMedia error when backing up t
o a backup device pointing to a file on the hard drive. This only happens f
or one of the devices and there are several others, configured similarly, th
at work just fine. I'm won
dering if anyone has seen this before and can shed some light on what could
be causing this. The error message continues with: Operating system error 6
4 (The specified network name is no longer available).Sometimes you will see this with the larger backups If you are trying to
backing up locally using a network share. Attempt the backup by using the
file path instead of the share name.
HTH
SQL Server Support
Agnes Panosiansql

Backup Error - Operating system error 1450

Hi,
Backing up 70Gb database to the network drive on the backup server. Was
working for long time until now. I think the database size is growing and
the OS cannot handle it. Error messages are as follows,
"Operating system error 1450(Insufficient system resources exist to complete
the requested service."
Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
Not sure which server should add the registry key PoolUsageMaximum ? (On
backup server or SQL server ?)
Had set the registry key PoolUsageMaximum to 40 on backup server but no good.
Please advise !
in general, I think it's better to backup to a local disk. that way if the
network goes down during the backup, you still have a backup. when the
backup succeeds, you can copy it to the network share then delete the local
copy.
if you backup to the share only, you are toast if the network hiccups. then
you have data loss and are soon looking for a new job.
http://elsasoft.org
"Johnny" <Johnny@.discussions.microsoft.com> wrote in message
news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
> Hi,
> Backing up 70Gb database to the network drive on the backup server. Was
> working for long time until now. I think the database size is growing and
> the OS cannot handle it. Error messages are as follows,
> "Operating system error 1450(Insufficient system resources exist to
> complete
> the requested service."
> Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
> Not sure which server should add the registry key PoolUsageMaximum ? (On
> backup server or SQL server ?)
> Had set the registry key PoolUsageMaximum to 40 on backup server but no
> good.
> Please advise !
>
>
>
>
|||I know it is highly recommended to backup SQL databases on local drive. This
working place is gradually changing the practice to do the right things but
takes times.
I really need to fix this issues right now.
Any solutions ?
"Jesse Hersch" wrote:

> in general, I think it's better to backup to a local disk. that way if the
> network goes down during the backup, you still have a backup. when the
> backup succeeds, you can copy it to the network share then delete the local
> copy.
> if you backup to the share only, you are toast if the network hiccups. then
> you have data loss and are soon looking for a new job.
> --
> http://elsasoft.org
>
> "Johnny" <Johnny@.discussions.microsoft.com> wrote in message
> news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
>
>

Backup Error - Operating system error 1450

Hi,
Backing up 70Gb database to the network drive on the backup server. Was
working for long time until now. I think the database size is growing and
the OS cannot handle it. Error messages are as follows,
"Operating system error 1450(Insufficient system resources exist to complete
the requested service."
Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
Not sure which server should add the registry key PoolUsageMaximum ? (On
backup server or SQL server ?)
Had set the registry key PoolUsageMaximum to 40 on backup server but no good
.
Please advise !in general, I think it's better to backup to a local disk. that way if the
network goes down during the backup, you still have a backup. when the
backup succeeds, you can copy it to the network share then delete the local
copy.
if you backup to the share only, you are toast if the network hiccups. then
you have data loss and are soon looking for a new job.
http://elsasoft.org
"Johnny" <Johnny@.discussions.microsoft.com> wrote in message
news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
> Hi,
> Backing up 70Gb database to the network drive on the backup server. Was
> working for long time until now. I think the database size is growing and
> the OS cannot handle it. Error messages are as follows,
> "Operating system error 1450(Insufficient system resources exist to
> complete
> the requested service."
> Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
> Not sure which server should add the registry key PoolUsageMaximum ? (On
> backup server or SQL server ?)
> Had set the registry key PoolUsageMaximum to 40 on backup server but no
> good.
> Please advise !
>
>
>
>|||I know it is highly recommended to backup SQL databases on local drive. Thi
s
working place is gradually changing the practice to do the right things but
takes times.
I really need to fix this issues right now.
Any solutions ?
"Jesse Hersch" wrote:

> in general, I think it's better to backup to a local disk. that way if th
e
> network goes down during the backup, you still have a backup. when the
> backup succeeds, you can copy it to the network share then delete the loca
l
> copy.
> if you backup to the share only, you are toast if the network hiccups. th
en
> you have data loss and are soon looking for a new job.
> --
> http://elsasoft.org
>
> "Johnny" <Johnny@.discussions.microsoft.com> wrote in message
> news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
>
>

Backup Error - Operating system error 1450

Hi,
Backing up 70Gb database to the network drive on the backup server. Was
working for long time until now. I think the database size is growing and
the OS cannot handle it. Error messages are as follows,
"Operating system error 1450(Insufficient system resources exist to complete
the requested service."
Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
Not sure which server should add the registry key PoolUsageMaximum ? (On
backup server or SQL server ?)
Had set the registry key PoolUsageMaximum to 40 on backup server but no good.
Please advise !in general, I think it's better to backup to a local disk. that way if the
network goes down during the backup, you still have a backup. when the
backup succeeds, you can copy it to the network share then delete the local
copy.
if you backup to the share only, you are toast if the network hiccups. then
you have data loss and are soon looking for a new job. :)
--
http://elsasoft.org
"Johnny" <Johnny@.discussions.microsoft.com> wrote in message
news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
> Hi,
> Backing up 70Gb database to the network drive on the backup server. Was
> working for long time until now. I think the database size is growing and
> the OS cannot handle it. Error messages are as follows,
> "Operating system error 1450(Insufficient system resources exist to
> complete
> the requested service."
> Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
> Not sure which server should add the registry key PoolUsageMaximum ? (On
> backup server or SQL server ?)
> Had set the registry key PoolUsageMaximum to 40 on backup server but no
> good.
> Please advise !
>
>
>
>|||I know it is highly recommended to backup SQL databases on local drive. This
working place is gradually changing the practice to do the right things but
takes times.
I really need to fix this issues right now.
Any solutions ?
"Jesse Hersch" wrote:
> in general, I think it's better to backup to a local disk. that way if the
> network goes down during the backup, you still have a backup. when the
> backup succeeds, you can copy it to the network share then delete the local
> copy.
> if you backup to the share only, you are toast if the network hiccups. then
> you have data loss and are soon looking for a new job. :)
> --
> http://elsasoft.org
>
> "Johnny" <Johnny@.discussions.microsoft.com> wrote in message
> news:9BB1A66C-170D-49DE-9667-2AF306E75996@.microsoft.com...
> > Hi,
> >
> > Backing up 70Gb database to the network drive on the backup server. Was
> > working for long time until now. I think the database size is growing and
> > the OS cannot handle it. Error messages are as follows,
> >
> > "Operating system error 1450(Insufficient system resources exist to
> > complete
> > the requested service."
> >
> > Looking at MS KB - http://support.microsoft.com/default.aspx/kb/304101
> >
> > Not sure which server should add the registry key PoolUsageMaximum ? (On
> > backup server or SQL server ?)
> > Had set the registry key PoolUsageMaximum to 40 on backup server but no
> > good.
> >
> > Please advise !
> >
> >
> >
> >
> >
> >
> >
>
>

Thursday, March 22, 2012

Backup devices and expired backups

Hello, I am having a problem with backup devices, and
hope someone knows a solution.
I have created a backup device on my 100GB D: drive
called Mustang_Backup. The file is located at
D:\MSSQL\BACKUP\Mustang_Backup.BAK.
My maintenance plan is a full backup on Sunday and a
differential on all other days. These are working
correctly.
My server also has a 14 day retention setting.
My problem is that the backup device is not removing the
expired backups. I now have a 75GB backup file for a 3GB
database. I am concerned that the backups are going to
fill the entire drive and then start to fail.
Does anyone know of a way to delete or remove the expired
backups in a device?
Thanks for your help,
SteveYou can't keep the different backups in one device if you want to remove
some of them after a certain time. It's all or nothing in a single device.
If your using the MP then have it create different files for each backup and
it should work as expected.
--
Andrew J. Kelly
SQL Server MVP
"steve" <sgent001@.hotmail.com> wrote in message
news:055b01c35556$78041df0$a301280a@.phx.gbl...
> Hello, I am having a problem with backup devices, and
> hope someone knows a solution.
> I have created a backup device on my 100GB D: drive
> called Mustang_Backup. The file is located at
> D:\MSSQL\BACKUP\Mustang_Backup.BAK.
> My maintenance plan is a full backup on Sunday and a
> differential on all other days. These are working
> correctly.
> My server also has a 14 day retention setting.
> My problem is that the backup device is not removing the
> expired backups. I now have a 75GB backup file for a 3GB
> database. I am concerned that the backups are going to
> fill the entire drive and then start to fail.
> Does anyone know of a way to delete or remove the expired
> backups in a device?
> Thanks for your help,
> Stevesql

Tuesday, March 20, 2012

Backup Device Location

Is it possible to point a backup device to a network location? I have a mapp
ed drive on my SQL Server to a share on another server (Q: drive). The backu
p device points to that Q drive. However, everytime I run the backup, it say
s it cannot reach the speci
fied location. The drive is mapped and the administrator is logged onto the
server, so there should not be a rights issue.
-BrianBrian,
You are better to use UNC names \\server\share\etc instead of mapped =
drive letters. Mapped drives are local to the account that mapped them, =
and therefore may not be visible to the account that the SQl Server =
service is running under. You need to check what account is being used =
for the MSSQLSERVER service and ensure that account has the necessary =
access rights to the remote server. Who is logged on at the other =
machine will make no difference.
Mike John
"Brian" <anonymous@.discussions.microsoft.com> wrote in message =
news:69161F98-4357-4CD0-900E-A229A9917C95@.microsoft.com...
> Is it possible to point a backup device to a network location? I have =
a mapped drive on my SQL Server to a share on another server (Q: drive). =
The backup device points to that Q drive. However, everytime I run the =
backup, it says it cannot reach the specified location. The drive is =
mapped and the administrator is logged onto the server, so there should =
not be a rights issue.
>=20
> -Brian|||Try using a UNC name instead of a mapped drive letter ie
backup database master to disk = '\\server2\backupshare\master.mak' with
init
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Brian" <anonymous@.discussions.microsoft.com> wrote in message
news:69161F98-4357-4CD0-900E-A229A9917C95@.microsoft.com...
> Is it possible to point a backup device to a network location? I have a
mapped drive on my SQL Server to a share on another server (Q: drive). The
backup device points to that Q drive. However, everytime I run the backup,
it says it cannot reach the specified location. The drive is mapped and the
administrator is logged onto the server, so there should not be a rights
issue.
> -Brian|||The UNC path worked. Thanks.sql

Monday, March 19, 2012

Backup database problem

I am trying to backup database on limited size drive
In options for backup I picked overwrite existing file, but for some reasons it still creates new file with the date associated with it
What strange about that is ,it strippes old file from the date and new file has the date in file nameIf you are using the Database Maintenance planner or the xp_sqlmaint procedure, they will use a file naming convention which may be different than the old backup that is on your system, so they won't touch the old file because they don't recognize it.

Also, when overwriting files, Windows applications typically create a new file and then delete the old file and rename the new file when the new file is complete. So you can still run out of disk space if you don't have enough room for two copies of the file.

blindman

Sunday, March 11, 2012

Backup Database at different place

Hi All!

I know that if is want to backup my db on the c: drive i do this
BACKUP DATABASE DBName
TO DISK = 'c:\isl_fs1\DBName.bak'

BUT HOW do I take this to the network. I tried
BACKUP DATABASE DBName
TO DISK = '\\isl_fs1\DBName.bak'
it doesn't work please helpIt'll be longer, slower, at risk of network blips, not portable

Dump locally, then copy...

What, you're drive is out of space?

That's a different problem...|||I agree
typically i would back up to disk and then use network backup software to come get it out of the shared folder that i backed it up into

however to directly backup to a network address
One method is to map a drive to a network location
ex
NET USE X: \\Server\Share

and then use sql backup.
Backup database northwind to disk=x:\backup.bkf

you should however use sp_adddumpdevice to map a backup location to a permanent device it cleans up the backup processes and gives you a fixed location to find all of your backups instead of temporary ones

BACKUP DATABASE

DECLARE @.Name varchar(50)
DECLARE @.Disk varchar(255)
SET @.Name='Databasename'
SET @.Disk = 'Drive:\path\' + @.Name +'.bak'
BACKUP DATABASE @.Name to DISK = @.Disk
BACKUP LOG @.Name
WITH
NO_LOG
DBCC SHRINKDATABASE (@.Name, TRUNCATEONLY)
I plan to run this sort of logic on a wly schedule. Does truncating the
log pose any problems? If so, how do I manage the log size.Wes
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
"Wes" <Wes@.discussions.microsoft.com> wrote in message
news:374F9E8B-2BF5-46E1-BDD5-6AFA580F8849@.microsoft.com...
> DECLARE @.Name varchar(50)
> DECLARE @.Disk varchar(255)
> SET @.Name='Databasename'
> SET @.Disk = 'Drive:\path' + @.Name +'.bak'
> BACKUP DATABASE @.Name to DISK = @.Disk
> BACKUP LOG @.Name
> WITH
> NO_LOG
> DBCC SHRINKDATABASE (@.Name, TRUNCATEONLY)
> I plan to run this sort of logic on a wly schedule. Does truncating
> the
> log pose any problems? If so, how do I manage the log size.
>|||In addition to the link Uri posted you almost never want to do a truncate on
the log as it makes the log useless for a restore. Either backup the log on
a regular basis or set the recovery mode to simple.
Andrew J. Kelly SQL MVP
"Wes" <Wes@.discussions.microsoft.com> wrote in message
news:374F9E8B-2BF5-46E1-BDD5-6AFA580F8849@.microsoft.com...
> DECLARE @.Name varchar(50)
> DECLARE @.Disk varchar(255)
> SET @.Name='Databasename'
> SET @.Disk = 'Drive:\path' + @.Name +'.bak'
> BACKUP DATABASE @.Name to DISK = @.Disk
> BACKUP LOG @.Name
> WITH
> NO_LOG
> DBCC SHRINKDATABASE (@.Name, TRUNCATEONLY)
> I plan to run this sort of logic on a wly schedule. Does truncating
> the
> log pose any problems? If so, how do I manage the log size.
>

Thursday, March 8, 2012

Backup corrupted after de-fragmentation

Hi
We have a database of about 40GB and a full backup of that database. The
backup resides on "E" drive and recently we de-fragmented that drive. After
de-fragmentation we restored the database and we ran dbcc checkdb command
and it shows some errors. Before de-fragmentation we restored this backup
several times and we didn't encountered any problems. Does de-fragmentation
creates any problem? What is the best way to de-fragment a drive which
contains database backup?
Thanks
Ram
What errors does checkdb return?
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
> Hi
> We have a database of about 40GB and a full backup of that database. The
> backup resides on "E" drive and recently we de-fragmented that drive.
After
> de-fragmentation we restored the database and we ran dbcc checkdb command
> and it shows some errors. Before de-fragmentation we restored this backup
> several times and we didn't encountered any problems. Does
de-fragmentation
> creates any problem? What is the best way to de-fragment a drive which
> contains database backup?
> Thanks
> Ram
>
|||Here are the error messages genereated by dbcc checkdb command
DBCC results for 'GRIEVANCEFOLLOWUP'.
Server: Msg 8944, Level 16, State 17, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
CHECKDB found 0 allocation errors and 3 consistency errors in table
'GRIEVANCEFOLLOWUP' (object ID 629577281).
There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3716003) could not be processed.
See other errors for details.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3716003), row 47.
Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and 145.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716004) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716005) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716006) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716007) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716008) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716009) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716010) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3716011) could not be processed.
See other errors for details.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3727307) could not be processed.
See other errors for details.
DBCC results for 'TIMESHEETS'.
Server: Msg 8944, Level 16, State 2, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1. Test
(!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed.
Values are 45 and 193.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1. Test
(ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727308) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727309) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727310) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727311) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727312) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727313) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727314) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3727315) could not be processed.
See other errors for details.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3729587) could not be processed.
See other errors for details.
Server: Msg 8941, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
(sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is invalid.
Server: Msg 8942, Level 16, State 101, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
(sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
prior row.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729588) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729589) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729590) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729591) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3729592) could not be processed.
See other errors for details.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not seen
in the scan although its parent (1:3715435) and previous (1:3716002) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 154 refers to child page (1:3716004) and previous child (1:3716003),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 155 refers to child page (1:3716005) and previous child (1:3716004),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 156 refers to child page (1:3716006) and previous child (1:3716005),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 157 refers to child page (1:3716007) and previous child (1:3716006),
but they were not encountered.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not seen
in the scan although its parent (1:3714274) and previous (1:3715943) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 167 refers to child page (1:3716009) and previous child (1:3716008),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 168 refers to child page (1:3716010) and previous child (1:3716009),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 169 refers to child page (1:3716011) and previous child (1:3716010),
but they were not encountered.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is missing a
reference from previous page (1:3716011). Possible chain linkage problem.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is missing a
reference from previous page (1:3716007). Possible chain linkage problem.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not seen
in the scan although its parent (1:3726987) and previous (1:3727306) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 131 refers to child page (1:3727308) and previous child (1:3727307),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 132 refers to child page (1:3727309) and previous child (1:3727308),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 133 refers to child page (1:3727310) and previous child (1:3727309),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 134 refers to child page (1:3727311) and previous child (1:3727310),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 135 refers to child page (1:3727312) and previous child (1:3727311),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 136 refers to child page (1:3727313) and previous child (1:3727312),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 137 refers to child page (1:3727314) and previous child (1:3727313),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 138 refers to child page (1:3727315) and previous child (1:3727314),
but they were not encountered.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is missing a
reference from previous page (1:3727315). Possible chain linkage problem.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not seen
in the scan although its parent (1:3729110) and previous (1:3729586) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 126 refers to child page (1:3729588) and previous child (1:3729587),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 127 refers to child page (1:3729589) and previous child (1:3729588),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 128 refers to child page (1:3729590) and previous child (1:3729589),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 129 refers to child page (1:3729591) and previous child (1:3729590),
but they were not encountered.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not seen
in the scan although its parent (1:564380) and previous (1:3729431) refer to
it. Check any previous errors.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is missing a
reference from previous page (1:3729592). Possible chain linkage problem.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is missing a
reference from previous page (1:3729591). Possible chain linkage problem.
There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
CHECKDB found 0 allocation errors and 58 consistency errors in table
'TIMESHEETS' (object ID 1634104862).
"Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
> What errors does checkdb return?
> --
> Paul Randal
> Dev Lead, Microsoft SQL Server Storage Engine
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
> After
> de-fragmentation
>
|||Well it certainly looks like the backup contains a corrupt database but if
something went badly wrong during a disk defrag I'd expect to see more
obvious errors (e.g. the restore fails, recovery fails, or large chunks of
pages missing) rather than specific things like the 8944s in
GRIEVANCEFOLLOWUP.
Did the restore itself give any errors, during recovery maybe? Given that
there are several whole extents missing, it looks like an optimized index
build was partially rolled back or forward by recovery.
I think your best bet is going to be contacting PSS rather than trying to do
this over a newsgroup.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:e26lVIVUFHA.1384@.TK2MSFTNGP09.phx.gbl...
> Here are the error messages genereated by dbcc checkdb command
> DBCC results for 'GRIEVANCEFOLLOWUP'.
> Server: Msg 8944, Level 16, State 17, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
> CHECKDB found 0 allocation errors and 3 consistency errors in table
> 'GRIEVANCEFOLLOWUP' (object ID 629577281).
>
> There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3716003) could not be processed.
> See other errors for details.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3716003), row 47.
> Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and 145.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716004) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716005) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716006) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716007) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716008) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716009) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716010) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3716011) could not be processed.
> See other errors for details.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3727307) could not be processed.
> See other errors for details.
>
>
> DBCC results for 'TIMESHEETS'.
> Server: Msg 8944, Level 16, State 2, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
Test
> (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed.
> Values are 45 and 193.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
Test
> (ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727308) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727309) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727310) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727311) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727312) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727313) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727314) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3727315) could not be processed.
> See other errors for details.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3729587) could not be processed.
> See other errors for details.
> Server: Msg 8941, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> (sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is
invalid.
> Server: Msg 8942, Level 16, State 101, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> (sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
> prior row.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729588) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729589) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729590) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729591) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3729592) could not be processed.
> See other errors for details.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not
seen
> in the scan although its parent (1:3715435) and previous (1:3716002) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 154 refers to child page (1:3716004) and previous child (1:3716003),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 155 refers to child page (1:3716005) and previous child (1:3716004),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 156 refers to child page (1:3716006) and previous child (1:3716005),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 157 refers to child page (1:3716007) and previous child (1:3716006),
> but they were not encountered.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not
seen
> in the scan although its parent (1:3714274) and previous (1:3715943) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 167 refers to child page (1:3716009) and previous child (1:3716008),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 168 refers to child page (1:3716010) and previous child (1:3716009),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 169 refers to child page (1:3716011) and previous child (1:3716010),
> but they were not encountered.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is missing
a
> reference from previous page (1:3716011). Possible chain linkage problem.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is missing
a
> reference from previous page (1:3716007). Possible chain linkage problem.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not
seen
> in the scan although its parent (1:3726987) and previous (1:3727306) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 131 refers to child page (1:3727308) and previous child (1:3727307),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 132 refers to child page (1:3727309) and previous child (1:3727308),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 133 refers to child page (1:3727310) and previous child (1:3727309),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 134 refers to child page (1:3727311) and previous child (1:3727310),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 135 refers to child page (1:3727312) and previous child (1:3727311),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 136 refers to child page (1:3727313) and previous child (1:3727312),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 137 refers to child page (1:3727314) and previous child (1:3727313),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 138 refers to child page (1:3727315) and previous child (1:3727314),
> but they were not encountered.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is missing
a
> reference from previous page (1:3727315). Possible chain linkage problem.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not
seen
> in the scan although its parent (1:3729110) and previous (1:3729586) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 126 refers to child page (1:3729588) and previous child (1:3729587),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 127 refers to child page (1:3729589) and previous child (1:3729588),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 128 refers to child page (1:3729590) and previous child (1:3729589),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 129 refers to child page (1:3729591) and previous child (1:3729590),
> but they were not encountered.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not
seen
> in the scan although its parent (1:564380) and previous (1:3729431) refer
to
> it. Check any previous errors.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is missing
a
> reference from previous page (1:3729592). Possible chain linkage problem.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is missing
a[vbcol=seagreen]
> reference from previous page (1:3729591). Possible chain linkage problem.
> There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
> CHECKDB found 0 allocation errors and 58 consistency errors in table
> 'TIMESHEETS' (object ID 1634104862).
> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
> news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
The[vbcol=seagreen]
command
>
|||Hi Paul
This is a test database. For doing load test we pumped lot of data into
this database and after pumping the data we rebuild the indexes in this
database. After the error we created a new database and loaded 40 GB data
and now everything works perfect. We found the bottleneck is harddisk. At
present database resides on a RAID 5 array. (Both mdf and ldf files are in
same array). We are planning to keep LDF file on separate RAID 1 array to
increase the performance.
What is your opinion on this setup?
Thanks
Ram
"Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
news:e$$NWPbUFHA.1152@.tk2msftngp13.phx.gbl...
> Well it certainly looks like the backup contains a corrupt database but if
> something went badly wrong during a disk defrag I'd expect to see more
> obvious errors (e.g. the restore fails, recovery fails, or large chunks of
> pages missing) rather than specific things like the 8944s in
> GRIEVANCEFOLLOWUP.
> Did the restore itself give any errors, during recovery maybe? Given that
> there are several whole extents missing, it looks like an optimized index
> build was partially rolled back or forward by recovery.
> I think your best bet is going to be contacting PSS rather than trying to
> do
> this over a newsgroup.
> Regards.
> --
> Paul Randal
> Dev Lead, Microsoft SQL Server Storage Engine
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> news:e26lVIVUFHA.1384@.TK2MSFTNGP09.phx.gbl...
> Test
> Values
> Test
> Values
> Test
> Values
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> Test
> Test
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> invalid.
> 0
> 0
> 0
> 0
> seen
> (1:3715435),
> (1:3715435),
> (1:3715435),
> (1:3715435),
> seen
> (1:3714274),
> (1:3714274),
> (1:3714274),
> a
> a
> seen
> (1:3726987),
> (1:3726987),
> (1:3726987),
> (1:3726987),
> (1:3726987),
> (1:3726987),
> (1:3726987),
> (1:3726987),
> a
> seen
> (1:3729110),
> (1:3729110),
> (1:3729110),
> (1:3729110),
> seen
> to
> a
> a
> The
> command
>
|||You should definitely separate the log and data files if possible and not
using some 'intelligent' controller.
Have a read of the whitepaper below on the IO system we have.
http://www.microsoft.com/technet/pro...lIObasics.mspx
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:OTzTkViUFHA.900@.TK2MSFTNGP10.phx.gbl...
> Hi Paul
> This is a test database. For doing load test we pumped lot of data into
> this database and after pumping the data we rebuild the indexes in this
> database. After the error we created a new database and loaded 40 GB data
> and now everything works perfect. We found the bottleneck is harddisk.
At
> present database resides on a RAID 5 array. (Both mdf and ldf files are in
> same array). We are planning to keep LDF file on separate RAID 1 array
to[vbcol=seagreen]
> increase the performance.
> What is your opinion on this setup?
> Thanks
> Ram
> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
> news:e$$NWPbUFHA.1152@.tk2msftngp13.phx.gbl...
if[vbcol=seagreen]
of[vbcol=seagreen]
that[vbcol=seagreen]
index[vbcol=seagreen]
to[vbcol=seagreen]
47.[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
failed.[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
ID[vbcol=seagreen]
(1:3716003),[vbcol=seagreen]
(1:3716004),[vbcol=seagreen]
(1:3716005),[vbcol=seagreen]
(1:3716006),[vbcol=seagreen]
(1:3716008),[vbcol=seagreen]
(1:3716009),[vbcol=seagreen]
(1:3716010),[vbcol=seagreen]
problem.[vbcol=seagreen]
problem.[vbcol=seagreen]
(1:3727307),[vbcol=seagreen]
(1:3727308),[vbcol=seagreen]
(1:3727309),[vbcol=seagreen]
(1:3727310),[vbcol=seagreen]
(1:3727311),[vbcol=seagreen]
(1:3727312),[vbcol=seagreen]
(1:3727313),[vbcol=seagreen]
(1:3727314),[vbcol=seagreen]
problem.[vbcol=seagreen]
(1:3729587),[vbcol=seagreen]
(1:3729588),[vbcol=seagreen]
(1:3729589),[vbcol=seagreen]
(1:3729590),[vbcol=seagreen]
refer[vbcol=seagreen]
problem.[vbcol=seagreen]
problem.[vbcol=seagreen]
drive.
>

Backup corrupted after de-fragmentation

Hi
We have a database of about 40GB and a full backup of that database. The
backup resides on "E" drive and recently we de-fragmented that drive. After
de-fragmentation we restored the database and we ran dbcc checkdb command
and it shows some errors. Before de-fragmentation we restored this backup
several times and we didn't encountered any problems. Does de-fragmentation
creates any problem? What is the best way to de-fragment a drive which
contains database backup?
Thanks
RamWhat errors does checkdb return?
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
> Hi
> We have a database of about 40GB and a full backup of that database. The
> backup resides on "E" drive and recently we de-fragmented that drive.
After
> de-fragmentation we restored the database and we ran dbcc checkdb command
> and it shows some errors. Before de-fragmentation we restored this backup
> several times and we didn't encountered any problems. Does
de-fragmentation
> creates any problem? What is the best way to de-fragment a drive which
> contains database backup?
> Thanks
> Ram
>|||Here are the error messages genereated by dbcc checkdb command
DBCC results for 'GRIEVANCEFOLLOWUP'.
Server: Msg 8944, Level 16, State 17, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0. Test
(columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed. Values
are 160 and 130.
There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
CHECKDB found 0 allocation errors and 3 consistency errors in table
'GRIEVANCEFOLLOWUP' (object ID 629577281).
There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3716003) could not be processed.
See other errors for details.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3716003), row 47.
Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and 145.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716004) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716005) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716006) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716007) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716008) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716009) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3716010) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3716011) could not be processed.
See other errors for details.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3727307) could not be processed.
See other errors for details.
DBCC results for 'TIMESHEETS'.
Server: Msg 8944, Level 16, State 2, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1. Test
(!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed.
Values are 45 and 193.
Server: Msg 8944, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1. Test
(ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727308) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727309) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727310) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727311) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727312) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727313) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3727314) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3727315) could not be processed.
See other errors for details.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3729587) could not be processed.
See other errors for details.
Server: Msg 8941, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
(sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is invalid.
Server: Msg 8942, Level 16, State 101, Line 1
Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
(sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
prior row.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729588) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729589) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729590) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 2533, Level 16, State 1, Line 1
Table error: Page (1:3729591) allocated to object ID 1634104862, index ID 0
was not seen. Page may be invalid or have incorrect object ID information
in its header.
Server: Msg 8928, Level 16, State 1, Line 1
Object ID 1634104862, index ID 0: Page (1:3729592) could not be processed.
See other errors for details.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not seen
in the scan although its parent (1:3715435) and previous (1:3716002) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 154 refers to child page (1:3716004) and previous child (1:3716003),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 155 refers to child page (1:3716005) and previous child (1:3716004),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 156 refers to child page (1:3716006) and previous child (1:3716005),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3715435),
slot 157 refers to child page (1:3716007) and previous child (1:3716006),
but they were not encountered.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not seen
in the scan although its parent (1:3714274) and previous (1:3715943) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 167 refers to child page (1:3716009) and previous child (1:3716008),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 168 refers to child page (1:3716010) and previous child (1:3716009),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3714274),
slot 169 refers to child page (1:3716011) and previous child (1:3716010),
but they were not encountered.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is missing a
reference from previous page (1:3716011). Possible chain linkage problem.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is missing a
reference from previous page (1:3716007). Possible chain linkage problem.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not seen
in the scan although its parent (1:3726987) and previous (1:3727306) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 131 refers to child page (1:3727308) and previous child (1:3727307),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 132 refers to child page (1:3727309) and previous child (1:3727308),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 133 refers to child page (1:3727310) and previous child (1:3727309),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 134 refers to child page (1:3727311) and previous child (1:3727310),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 135 refers to child page (1:3727312) and previous child (1:3727311),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 136 refers to child page (1:3727313) and previous child (1:3727312),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 137 refers to child page (1:3727314) and previous child (1:3727313),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3726987),
slot 138 refers to child page (1:3727315) and previous child (1:3727314),
but they were not encountered.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is missing a
reference from previous page (1:3727315). Possible chain linkage problem.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not seen
in the scan although its parent (1:3729110) and previous (1:3729586) refer
to it. Check any previous errors.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 126 refers to child page (1:3729588) and previous child (1:3729587),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 127 refers to child page (1:3729589) and previous child (1:3729588),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 128 refers to child page (1:3729590) and previous child (1:3729589),
but they were not encountered.
Server: Msg 8980, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Index node page (1:3729110),
slot 129 refers to child page (1:3729591) and previous child (1:3729590),
but they were not encountered.
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not seen
in the scan although its parent (1:564380) and previous (1:3729431) refer to
it. Check any previous errors.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is missing a
reference from previous page (1:3729592). Possible chain linkage problem.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is missing a
reference from previous page (1:3729591). Possible chain linkage problem.
There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
CHECKDB found 0 allocation errors and 58 consistency errors in table
'TIMESHEETS' (object ID 1634104862).
"Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
> What errors does checkdb return?
> --
> Paul Randal
> Dev Lead, Microsoft SQL Server Storage Engine
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
>> Hi
>> We have a database of about 40GB and a full backup of that database. The
>> backup resides on "E" drive and recently we de-fragmented that drive.
> After
>> de-fragmentation we restored the database and we ran dbcc checkdb command
>> and it shows some errors. Before de-fragmentation we restored this
>> backup
>> several times and we didn't encountered any problems. Does
> de-fragmentation
>> creates any problem? What is the best way to de-fragment a drive which
>> contains database backup?
>> Thanks
>> Ram
>>
>|||Well it certainly looks like the backup contains a corrupt database but if
something went badly wrong during a disk defrag I'd expect to see more
obvious errors (e.g. the restore fails, recovery fails, or large chunks of
pages missing) rather than specific things like the 8944s in
GRIEVANCEFOLLOWUP.
Did the restore itself give any errors, during recovery maybe? Given that
there are several whole extents missing, it looks like an optimized index
build was partially rolled back or forward by recovery.
I think your best bet is going to be contacting PSS rather than trying to do
this over a newsgroup.
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:e26lVIVUFHA.1384@.TK2MSFTNGP09.phx.gbl...
> Here are the error messages genereated by dbcc checkdb command
> DBCC results for 'GRIEVANCEFOLLOWUP'.
> Server: Msg 8944, Level 16, State 17, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0.
Test
> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
Values
> are 160 and 130.
> There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
> CHECKDB found 0 allocation errors and 3 consistency errors in table
> 'GRIEVANCEFOLLOWUP' (object ID 629577281).
>
> There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3716003) could not be processed.
> See other errors for details.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3716003), row 47.
> Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and 145.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716004) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716005) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716006) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716007) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716008) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716009) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3716010) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3716011) could not be processed.
> See other errors for details.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3727307) could not be processed.
> See other errors for details.
>
>
> DBCC results for 'TIMESHEETS'.
> Server: Msg 8944, Level 16, State 2, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
Test
> (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed.
> Values are 45 and 193.
> Server: Msg 8944, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
Test
> (ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727308) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727309) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727310) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727311) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727312) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727313) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3727314) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3727315) could not be processed.
> See other errors for details.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3729587) could not be processed.
> See other errors for details.
> Server: Msg 8941, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> (sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is
invalid.
> Server: Msg 8942, Level 16, State 101, Line 1
> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> (sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
> prior row.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729588) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729589) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729590) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 2533, Level 16, State 1, Line 1
> Table error: Page (1:3729591) allocated to object ID 1634104862, index ID
0
> was not seen. Page may be invalid or have incorrect object ID information
> in its header.
> Server: Msg 8928, Level 16, State 1, Line 1
> Object ID 1634104862, index ID 0: Page (1:3729592) could not be processed.
> See other errors for details.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not
seen
> in the scan although its parent (1:3715435) and previous (1:3716002) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 154 refers to child page (1:3716004) and previous child (1:3716003),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 155 refers to child page (1:3716005) and previous child (1:3716004),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 156 refers to child page (1:3716006) and previous child (1:3716005),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3715435),
> slot 157 refers to child page (1:3716007) and previous child (1:3716006),
> but they were not encountered.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not
seen
> in the scan although its parent (1:3714274) and previous (1:3715943) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 167 refers to child page (1:3716009) and previous child (1:3716008),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 168 refers to child page (1:3716010) and previous child (1:3716009),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3714274),
> slot 169 refers to child page (1:3716011) and previous child (1:3716010),
> but they were not encountered.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is missing
a
> reference from previous page (1:3716011). Possible chain linkage problem.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is missing
a
> reference from previous page (1:3716007). Possible chain linkage problem.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not
seen
> in the scan although its parent (1:3726987) and previous (1:3727306) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 131 refers to child page (1:3727308) and previous child (1:3727307),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 132 refers to child page (1:3727309) and previous child (1:3727308),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 133 refers to child page (1:3727310) and previous child (1:3727309),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 134 refers to child page (1:3727311) and previous child (1:3727310),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 135 refers to child page (1:3727312) and previous child (1:3727311),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 136 refers to child page (1:3727313) and previous child (1:3727312),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 137 refers to child page (1:3727314) and previous child (1:3727313),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3726987),
> slot 138 refers to child page (1:3727315) and previous child (1:3727314),
> but they were not encountered.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is missing
a
> reference from previous page (1:3727315). Possible chain linkage problem.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not
seen
> in the scan although its parent (1:3729110) and previous (1:3729586) refer
> to it. Check any previous errors.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 126 refers to child page (1:3729588) and previous child (1:3729587),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 127 refers to child page (1:3729589) and previous child (1:3729588),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 128 refers to child page (1:3729590) and previous child (1:3729589),
> but they were not encountered.
> Server: Msg 8980, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Index node page
(1:3729110),
> slot 129 refers to child page (1:3729591) and previous child (1:3729590),
> but they were not encountered.
> Server: Msg 8976, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not
seen
> in the scan although its parent (1:564380) and previous (1:3729431) refer
to
> it. Check any previous errors.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is missing
a
> reference from previous page (1:3729592). Possible chain linkage problem.
> Server: Msg 8978, Level 16, State 1, Line 1
> Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is missing
a
> reference from previous page (1:3729591). Possible chain linkage problem.
> There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
> CHECKDB found 0 allocation errors and 58 consistency errors in table
> 'TIMESHEETS' (object ID 1634104862).
> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
> news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
> > What errors does checkdb return?
> >
> > --
> > Paul Randal
> > Dev Lead, Microsoft SQL Server Storage Engine
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> > "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> > news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
> >> Hi
> >> We have a database of about 40GB and a full backup of that database.
The
> >> backup resides on "E" drive and recently we de-fragmented that drive.
> > After
> >> de-fragmentation we restored the database and we ran dbcc checkdb
command
> >> and it shows some errors. Before de-fragmentation we restored this
> >> backup
> >> several times and we didn't encountered any problems. Does
> > de-fragmentation
> >> creates any problem? What is the best way to de-fragment a drive which
> >> contains database backup?
> >>
> >> Thanks
> >> Ram
> >>
> >>
> >
> >
>|||Hi Paul
This is a test database. For doing load test we pumped lot of data into
this database and after pumping the data we rebuild the indexes in this
database. After the error we created a new database and loaded 40 GB data
and now everything works perfect. We found the bottleneck is harddisk. At
present database resides on a RAID 5 array. (Both mdf and ldf files are in
same array). We are planning to keep LDF file on separate RAID 1 array to
increase the performance.
What is your opinion on this setup?
Thanks
Ram
"Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
news:e$$NWPbUFHA.1152@.tk2msftngp13.phx.gbl...
> Well it certainly looks like the backup contains a corrupt database but if
> something went badly wrong during a disk defrag I'd expect to see more
> obvious errors (e.g. the restore fails, recovery fails, or large chunks of
> pages missing) rather than specific things like the 8944s in
> GRIEVANCEFOLLOWUP.
> Did the restore itself give any errors, during recovery maybe? Given that
> there are several whole extents missing, it looks like an optimized index
> build was partially rolled back or forward by recovery.
> I think your best bet is going to be contacting PSS rather than trying to
> do
> this over a newsgroup.
> Regards.
> --
> Paul Randal
> Dev Lead, Microsoft SQL Server Storage Engine
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> news:e26lVIVUFHA.1384@.TK2MSFTNGP09.phx.gbl...
>> Here are the error messages genereated by dbcc checkdb command
>> DBCC results for 'GRIEVANCEFOLLOWUP'.
>> Server: Msg 8944, Level 16, State 17, Line 1
>> Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0.
> Test
>> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> Values
>> are 160 and 130.
>> Server: Msg 8944, Level 16, State 1, Line 1
>> Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0.
> Test
>> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> Values
>> are 160 and 130.
>> Server: Msg 8944, Level 16, State 1, Line 1
>> Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0.
> Test
>> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> Values
>> are 160 and 130.
>> There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
>> CHECKDB found 0 allocation errors and 3 consistency errors in table
>> 'GRIEVANCEFOLLOWUP' (object ID 629577281).
>>
>> There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3716003) could not be
>> processed.
>> See other errors for details.
>> Server: Msg 8944, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 0, page (1:3716003), row 47.
>> Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and
>> 145.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716004) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716005) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716006) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716007) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716008) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716009) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3716010) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3716011) could not be
>> processed.
>> See other errors for details.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3727307) could not be
>> processed.
>> See other errors for details.
>>
>>
>> DBCC results for 'TIMESHEETS'.
>> Server: Msg 8944, Level 16, State 2, Line 1
>> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
> Test
>> (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B))) failed.
>> Values are 45 and 193.
>> Server: Msg 8944, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
> Test
>> (ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727308) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727309) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727310) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727311) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727312) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727313) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3727314) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3727315) could not be
>> processed.
>> See other errors for details.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3729587) could not be
>> processed.
>> See other errors for details.
>> Server: Msg 8941, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
>> (sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is
> invalid.
>> Server: Msg 8942, Level 16, State 101, Line 1
>> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
>> (sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
>> prior row.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3729588) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3729589) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3729590) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 2533, Level 16, State 1, Line 1
>> Table error: Page (1:3729591) allocated to object ID 1634104862, index ID
> 0
>> was not seen. Page may be invalid or have incorrect object ID
>> information
>> in its header.
>> Server: Msg 8928, Level 16, State 1, Line 1
>> Object ID 1634104862, index ID 0: Page (1:3729592) could not be
>> processed.
>> See other errors for details.
>> Server: Msg 8976, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not
> seen
>> in the scan although its parent (1:3715435) and previous (1:3716002)
>> refer
>> to it. Check any previous errors.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3715435),
>> slot 154 refers to child page (1:3716004) and previous child (1:3716003),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3715435),
>> slot 155 refers to child page (1:3716005) and previous child (1:3716004),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3715435),
>> slot 156 refers to child page (1:3716006) and previous child (1:3716005),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3715435),
>> slot 157 refers to child page (1:3716007) and previous child (1:3716006),
>> but they were not encountered.
>> Server: Msg 8976, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not
> seen
>> in the scan although its parent (1:3714274) and previous (1:3715943)
>> refer
>> to it. Check any previous errors.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3714274),
>> slot 167 refers to child page (1:3716009) and previous child (1:3716008),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3714274),
>> slot 168 refers to child page (1:3716010) and previous child (1:3716009),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3714274),
>> slot 169 refers to child page (1:3716011) and previous child (1:3716010),
>> but they were not encountered.
>> Server: Msg 8978, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is
>> missing
> a
>> reference from previous page (1:3716011). Possible chain linkage problem.
>> Server: Msg 8978, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is
>> missing
> a
>> reference from previous page (1:3716007). Possible chain linkage problem.
>> Server: Msg 8976, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not
> seen
>> in the scan although its parent (1:3726987) and previous (1:3727306)
>> refer
>> to it. Check any previous errors.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 131 refers to child page (1:3727308) and previous child (1:3727307),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 132 refers to child page (1:3727309) and previous child (1:3727308),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 133 refers to child page (1:3727310) and previous child (1:3727309),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 134 refers to child page (1:3727311) and previous child (1:3727310),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 135 refers to child page (1:3727312) and previous child (1:3727311),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 136 refers to child page (1:3727313) and previous child (1:3727312),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 137 refers to child page (1:3727314) and previous child (1:3727313),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3726987),
>> slot 138 refers to child page (1:3727315) and previous child (1:3727314),
>> but they were not encountered.
>> Server: Msg 8978, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is
>> missing
> a
>> reference from previous page (1:3727315). Possible chain linkage problem.
>> Server: Msg 8976, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not
> seen
>> in the scan although its parent (1:3729110) and previous (1:3729586)
>> refer
>> to it. Check any previous errors.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3729110),
>> slot 126 refers to child page (1:3729588) and previous child (1:3729587),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3729110),
>> slot 127 refers to child page (1:3729589) and previous child (1:3729588),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3729110),
>> slot 128 refers to child page (1:3729590) and previous child (1:3729589),
>> but they were not encountered.
>> Server: Msg 8980, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Index node page
> (1:3729110),
>> slot 129 refers to child page (1:3729591) and previous child (1:3729590),
>> but they were not encountered.
>> Server: Msg 8976, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not
> seen
>> in the scan although its parent (1:564380) and previous (1:3729431) refer
> to
>> it. Check any previous errors.
>> Server: Msg 8978, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is
>> missing
> a
>> reference from previous page (1:3729592). Possible chain linkage problem.
>> Server: Msg 8978, Level 16, State 1, Line 1
>> Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is
>> missing
> a
>> reference from previous page (1:3729591). Possible chain linkage problem.
>> There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
>> CHECKDB found 0 allocation errors and 58 consistency errors in table
>> 'TIMESHEETS' (object ID 1634104862).
>> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
>> news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
>> > What errors does checkdb return?
>> >
>> > --
>> > Paul Randal
>> > Dev Lead, Microsoft SQL Server Storage Engine
>> >
>> > This posting is provided "AS IS" with no warranties, and confers no
>> > rights.
>> >
>> > "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
>> > news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
>> >> Hi
>> >> We have a database of about 40GB and a full backup of that database.
> The
>> >> backup resides on "E" drive and recently we de-fragmented that drive.
>> > After
>> >> de-fragmentation we restored the database and we ran dbcc checkdb
> command
>> >> and it shows some errors. Before de-fragmentation we restored this
>> >> backup
>> >> several times and we didn't encountered any problems. Does
>> > de-fragmentation
>> >> creates any problem? What is the best way to de-fragment a drive
>> >> which
>> >> contains database backup?
>> >>
>> >> Thanks
>> >> Ram
>> >>
>> >>
>> >
>> >
>>
>|||You should definitely separate the log and data files if possible and not
using some 'intelligent' controller.
Have a read of the whitepaper below on the IO system we have.
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlIObasics.mspx
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
news:OTzTkViUFHA.900@.TK2MSFTNGP10.phx.gbl...
> Hi Paul
> This is a test database. For doing load test we pumped lot of data into
> this database and after pumping the data we rebuild the indexes in this
> database. After the error we created a new database and loaded 40 GB data
> and now everything works perfect. We found the bottleneck is harddisk.
At
> present database resides on a RAID 5 array. (Both mdf and ldf files are in
> same array). We are planning to keep LDF file on separate RAID 1 array
to
> increase the performance.
> What is your opinion on this setup?
> Thanks
> Ram
> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
> news:e$$NWPbUFHA.1152@.tk2msftngp13.phx.gbl...
> > Well it certainly looks like the backup contains a corrupt database but
if
> > something went badly wrong during a disk defrag I'd expect to see more
> > obvious errors (e.g. the restore fails, recovery fails, or large chunks
of
> > pages missing) rather than specific things like the 8944s in
> > GRIEVANCEFOLLOWUP.
> >
> > Did the restore itself give any errors, during recovery maybe? Given
that
> > there are several whole extents missing, it looks like an optimized
index
> > build was partially rolled back or forward by recovery.
> >
> > I think your best bet is going to be contacting PSS rather than trying
to
> > do
> > this over a newsgroup.
> >
> > Regards.
> >
> > --
> > Paul Randal
> > Dev Lead, Microsoft SQL Server Storage Engine
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> > "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> > news:e26lVIVUFHA.1384@.TK2MSFTNGP09.phx.gbl...
> >> Here are the error messages genereated by dbcc checkdb command
> >>
> >> DBCC results for 'GRIEVANCEFOLLOWUP'.
> >> Server: Msg 8944, Level 16, State 17, Line 1
> >> Table error: Object ID 629577281, index ID 0, page (1:3716011), row 0.
> > Test
> >> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> > Values
> >> are 160 and 130.
> >> Server: Msg 8944, Level 16, State 1, Line 1
> >> Table error: Object ID 629577281, index ID 0, page (1:3727315), row 0.
> > Test
> >> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> > Values
> >> are 160 and 130.
> >> Server: Msg 8944, Level 16, State 1, Line 1
> >> Table error: Object ID 629577281, index ID 0, page (1:3729592), row 0.
> > Test
> >> (columnOffsets->offTbl [varColumnNumber] <= (nextRec - pRec)) failed.
> > Values
> >> are 160 and 130.
> >> There are 399834 rows in 19992 pages for object 'GRIEVANCEFOLLOWUP'.
> >> CHECKDB found 0 allocation errors and 3 consistency errors in table
> >> 'GRIEVANCEFOLLOWUP' (object ID 629577281).
> >>
> >>
> >>
> >> There are 122 rows in 2 pages for object 'OC_GRIDCOLUMNS'.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3716003) could not be
> >> processed.
> >> See other errors for details.
> >> Server: Msg 8944, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 0, page (1:3716003), row
47.
> >> Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 28416 and
> >> 145.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716004) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716005) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716006) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716007) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716008) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716009) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3716010) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3716011) could not be
> >> processed.
> >> See other errors for details.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3727307) could not be
> >> processed.
> >> See other errors for details.
> >>
> >>
> >>
> >>
> >> DBCC results for 'TIMESHEETS'.
> >> Server: Msg 8944, Level 16, State 2, Line 1
> >> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
> > Test
> >> (!(hdr->r_tagA & (VERSION_MASK | RECTAG_RESV_A | RECTAG_RESV_B)))
failed.
> >> Values are 45 and 193.
> >> Server: Msg 8944, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 0, page (1:3727307), row 1.
> > Test
> >> (ColumnOffsets <= (nextRec - pRec)) failed. Values are 23319 and 394.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727308) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727309) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727310) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727311) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727312) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727313) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3727314) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3727315) could not be
> >> processed.
> >> See other errors for details.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3729587) could not be
> >> processed.
> >> See other errors for details.
> >> Server: Msg 8941, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> >> (sorted [i].offset >= PAGEHEADSIZE) failed. Slot 57, offset 0x2e is
> > invalid.
> >> Server: Msg 8942, Level 16, State 101, Line 1
> >> Table error: Object ID 1634104862, index ID 0, page (1:3729587). Test
> >> (sorted[i].offset >= max) failed. Slot 0, offset 0x39 overlaps with the
> >> prior row.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3729588) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3729589) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3729590) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 2533, Level 16, State 1, Line 1
> >> Table error: Page (1:3729591) allocated to object ID 1634104862, index
ID
> > 0
> >> was not seen. Page may be invalid or have incorrect object ID
> >> information
> >> in its header.
> >> Server: Msg 8928, Level 16, State 1, Line 1
> >> Object ID 1634104862, index ID 0: Page (1:3729592) could not be
> >> processed.
> >> See other errors for details.
> >> Server: Msg 8976, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3716003) was not
> > seen
> >> in the scan although its parent (1:3715435) and previous (1:3716002)
> >> refer
> >> to it. Check any previous errors.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3715435),
> >> slot 154 refers to child page (1:3716004) and previous child
(1:3716003),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3715435),
> >> slot 155 refers to child page (1:3716005) and previous child
(1:3716004),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3715435),
> >> slot 156 refers to child page (1:3716006) and previous child
(1:3716005),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3715435),
> >> slot 157 refers to child page (1:3716007) and previous child
(1:3716006),
> >> but they were not encountered.
> >> Server: Msg 8976, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3716008) was not
> > seen
> >> in the scan although its parent (1:3714274) and previous (1:3715943)
> >> refer
> >> to it. Check any previous errors.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3714274),
> >> slot 167 refers to child page (1:3716009) and previous child
(1:3716008),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3714274),
> >> slot 168 refers to child page (1:3716010) and previous child
(1:3716009),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3714274),
> >> slot 169 refers to child page (1:3716011) and previous child
(1:3716010),
> >> but they were not encountered.
> >> Server: Msg 8978, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3716012) is
> >> missing
> > a
> >> reference from previous page (1:3716011). Possible chain linkage
problem.
> >> Server: Msg 8978, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3716104) is
> >> missing
> > a
> >> reference from previous page (1:3716007). Possible chain linkage
problem.
> >> Server: Msg 8976, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3727307) was not
> > seen
> >> in the scan although its parent (1:3726987) and previous (1:3727306)
> >> refer
> >> to it. Check any previous errors.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 131 refers to child page (1:3727308) and previous child
(1:3727307),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 132 refers to child page (1:3727309) and previous child
(1:3727308),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 133 refers to child page (1:3727310) and previous child
(1:3727309),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 134 refers to child page (1:3727311) and previous child
(1:3727310),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 135 refers to child page (1:3727312) and previous child
(1:3727311),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 136 refers to child page (1:3727313) and previous child
(1:3727312),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 137 refers to child page (1:3727314) and previous child
(1:3727313),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3726987),
> >> slot 138 refers to child page (1:3727315) and previous child
(1:3727314),
> >> but they were not encountered.
> >> Server: Msg 8978, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3727316) is
> >> missing
> > a
> >> reference from previous page (1:3727315). Possible chain linkage
problem.
> >> Server: Msg 8976, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3729587) was not
> > seen
> >> in the scan although its parent (1:3729110) and previous (1:3729586)
> >> refer
> >> to it. Check any previous errors.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3729110),
> >> slot 126 refers to child page (1:3729588) and previous child
(1:3729587),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3729110),
> >> slot 127 refers to child page (1:3729589) and previous child
(1:3729588),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3729110),
> >> slot 128 refers to child page (1:3729590) and previous child
(1:3729589),
> >> but they were not encountered.
> >> Server: Msg 8980, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Index node page
> > (1:3729110),
> >> slot 129 refers to child page (1:3729591) and previous child
(1:3729590),
> >> but they were not encountered.
> >> Server: Msg 8976, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3729592) was not
> > seen
> >> in the scan although its parent (1:564380) and previous (1:3729431)
refer
> > to
> >> it. Check any previous errors.
> >> Server: Msg 8978, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3729593) is
> >> missing
> > a
> >> reference from previous page (1:3729592). Possible chain linkage
problem.
> >> Server: Msg 8978, Level 16, State 1, Line 1
> >> Table error: Object ID 1634104862, index ID 1. Page (1:3729688) is
> >> missing
> > a
> >> reference from previous page (1:3729591). Possible chain linkage
problem.
> >> There are 2078683 rows in 34246 pages for object 'TIMESHEETS'.
> >> CHECKDB found 0 allocation errors and 58 consistency errors in table
> >> 'TIMESHEETS' (object ID 1634104862).
> >>
> >> "Paul S Randal [MS]" <prandal@.online.microsoft.com> wrote in message
> >> news:%23MmIm4TUFHA.1148@.tk2msftngp13.phx.gbl...
> >> > What errors does checkdb return?
> >> >
> >> > --
> >> > Paul Randal
> >> > Dev Lead, Microsoft SQL Server Storage Engine
> >> >
> >> > This posting is provided "AS IS" with no warranties, and confers no
> >> > rights.
> >> >
> >> > "Ram" <Ramakrishna.pothuganti@.vizual.co.in> wrote in message
> >> > news:ugLPBhSUFHA.2172@.tk2msftngp13.phx.gbl...
> >> >> Hi
> >> >> We have a database of about 40GB and a full backup of that database.
> > The
> >> >> backup resides on "E" drive and recently we de-fragmented that
drive.
> >> > After
> >> >> de-fragmentation we restored the database and we ran dbcc checkdb
> > command
> >> >> and it shows some errors. Before de-fragmentation we restored this
> >> >> backup
> >> >> several times and we didn't encountered any problems. Does
> >> > de-fragmentation
> >> >> creates any problem? What is the best way to de-fragment a drive
> >> >> which
> >> >> contains database backup?
> >> >>
> >> >> Thanks
> >> >> Ram
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>