SQL - NOLOCK

 
Vista:

NOLOCK

Publicado por nancy (8 intervenciones) el 26/01/2005 21:35:05
Hola,tengo un problema, en SQL hago un backup de una base de datos mediante un job, el backup se realiza, pero el job termina con un error. El mensaje de error es el siguiente:

Executed as user: NT AUTHORITY\SYSTEM. ...ercent backed up. [SQLSTATE 01000] (Message 3211) Processed 168 pages for database 'solicitud_material', file 'solicitud_material_Data' on file 1. [SQLSTATE 01000] (Message 4035) 100 percent backed up. [SQLSTATE 01000] (Message 3211) Processed 1 pages for database 'solicitud_material', file 'solicitud_material_Log' on file 1. [SQLSTATE 01000] (Message 4035) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE 42000] (Error 601) Could not continue scan with NOLOCK due to data movement. [SQLSTATE... The step failed.

Antes utilizamos SQL 7 pero se migró a SQL 2000, antes no daba problemas y ahora sí. He estado averiguando y me parece que tiene que ver con el isolation lavel, pero no se como se maneja, no se si es a nivel de base de datos, a nivel de tablas, etc.

Espero me puedan ayudar.
Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:NOLOCK

Publicado por Nancy (8 intervenciones) el 27/01/2005 12:23:24
Isaías el comando que obtuve desde el job es:

BACKUP DATABASE [solicitud_material] TO DISK = N'E:\MSSQL7\datos\BACKUP\solicitud_material_backup' WITH INIT , NOUNLOAD , NAME = N'solicitud_material backup', NOSKIP , STATS = 10, NOFORMAT

Gracias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:NOLOCK

Publicado por Isaías Islas (5072 intervenciones) el 27/01/2005 23:10:51
Bien, esta es la documentacion del error:

http://support.microsoft.com/default.aspx?scid=kb;en-us;815008
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:NOLOCK

Publicado por Nancy (8 intervenciones) el 31/01/2005 18:36:37
Isaías: Ya solucionamos el problema, la base de datos msdb estaba corrupta, debido a que la migración desde SQL7 a SQL2000 no fue la más óptima. Gracias por tu ayuda.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar