sql 2005 snapshot

24/11/2005 - 22:06 por Mauro | Informe spam
en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
select * from tabla with (rowlock)
select * from tabla with (nolock)
etc
pero veo que no hay un equivalente para el nuevo nivel snapshot...me
equivoco?

Preguntas similare

Leer las respuestas

#1 Gustavo Larriera [MVP]
24/11/2005 - 22:13 | Informe spam
Qué es exactamente lo que deseas hacer? Si solamente tienes curiosidad, lee
en los Books Online acerca del nuevo isolation level SNAPSHOT.

Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Mauro" wrote in message
news:%23pF$
en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
select * from tabla with (rowlock)
select * from tabla with (nolock)
etc
pero veo que no hay un equivalente para el nuevo nivel snapshot...me
equivoco?


Respuesta Responder a este mensaje
#2 Mauro
24/11/2005 - 22:30 | Informe spam
exactamente queria reemplazar algunos lugares en donde tengo nolock, por,
por ej...
select * from tabla with (snapshot)

pero veo que si o si hay que ejecutar un

set transaction isolation level etc

es decir no hay un table hint para este nivel de aislamiento, ayer fui a una
conferencia en cordoba y Diego Casali
me dijo que habia un hint.pero creo que me mintio ;)



"Gustavo Larriera [MVP]" wrote in message
news:
Qué es exactamente lo que deseas hacer? Si solamente tienes curiosidad,


lee
en los Books Online acerca del nuevo isolation level SNAPSHOT.

Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Mauro" wrote in message
news:%23pF$
> en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
> select * from tabla with (rowlock)
> select * from tabla with (nolock)
> etc
> pero veo que no hay un equivalente para el nuevo nivel snapshot...me
> equivoco?
>
>


Respuesta Responder a este mensaje
#3 Gustavo Larriera [MVP]
25/11/2005 - 02:09 | Informe spam
De los Books Online:

READUNCOMMITTED, and NOLOCK, cannot be specified for tables modified by
insert, update, or delete operations. The SQL Server query optimizer ignores
the READUNCOMMITTED and NOLOCK hints in the FROM clause that apply to the
target table of an UPDATE or DELETE statement.

In SQL Server 2005 you can minimize locking contention while protecting
transactions from dirty reads of uncommitted data modifications by using
either of the following:

a.. The READ COMMITTED isolation level with the READ_COMMITTED_SNAPSHOT
database option set to ON.


b.. The SNAPSHOT isolation level.


Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Mauro" wrote in message
news:
exactamente queria reemplazar algunos lugares en donde tengo nolock, por,
por ej...
select * from tabla with (snapshot)

pero veo que si o si hay que ejecutar un

set transaction isolation level etc

es decir no hay un table hint para este nivel de aislamiento, ayer fui a
una
conferencia en cordoba y Diego Casali
me dijo que habia un hint.pero creo que me mintio ;)



"Gustavo Larriera [MVP]" wrote in message
news:
Qué es exactamente lo que deseas hacer? Si solamente tienes curiosidad,


lee
en los Books Online acerca del nuevo isolation level SNAPSHOT.

Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and
confers
no rights.
"Mauro" wrote in message
news:%23pF$
> en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
> select * from tabla with (rowlock)
> select * from tabla with (nolock)
> etc
> pero veo que no hay un equivalente para el nuevo nivel snapshot...me
> equivoco?
>
>






Respuesta Responder a este mensaje
#4 Mauro
25/11/2005 - 13:56 | Informe spam
eso no hace mas que darme la razon
"Gustavo Larriera [MVP]" wrote in message
news:
De los Books Online:

READUNCOMMITTED, and NOLOCK, cannot be specified for tables modified by
insert, update, or delete operations. The SQL Server query optimizer


ignores
the READUNCOMMITTED and NOLOCK hints in the FROM clause that apply to the
target table of an UPDATE or DELETE statement.

In SQL Server 2005 you can minimize locking contention while protecting
transactions from dirty reads of uncommitted data modifications by using
either of the following:

a.. The READ COMMITTED isolation level with the READ_COMMITTED_SNAPSHOT
database option set to ON.


b.. The SNAPSHOT isolation level.


Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Mauro" wrote in message
news:
> exactamente queria reemplazar algunos lugares en donde tengo nolock,


por,
> por ej...
> select * from tabla with (snapshot)
>
> pero veo que si o si hay que ejecutar un
>
> set transaction isolation level etc
>
> es decir no hay un table hint para este nivel de aislamiento, ayer fui a
> una
> conferencia en cordoba y Diego Casali
> me dijo que habia un hint.pero creo que me mintio ;)
>
>
>
> "Gustavo Larriera [MVP]" wrote in message
> news:
>> Qué es exactamente lo que deseas hacer? Si solamente tienes curiosidad,
> lee
>> en los Books Online acerca del nuevo isolation level SNAPSHOT.
>>
>> Gustavo Larriera
>> Uruguay LatAm
>> Blog: http://sqljunkies.com/weblog/gux/
>> MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
>> Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga


ningun
>> derecho / This posting is provided "AS IS" with no warranties, and
>> confers
>> no rights.
>> "Mauro" wrote in message
>> news:%23pF$
>> > en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
>> > select * from tabla with (rowlock)
>> > select * from tabla with (nolock)
>> > etc
>> > pero veo que no hay un equivalente para el nuevo nivel snapshot...me
>> > equivoco?
>> >
>> >
>>
>>
>
>


Respuesta Responder a este mensaje
#5 Gustavo Larriera [MVP]
25/11/2005 - 14:32 | Informe spam
No lo puse para darle la razón a nadie, cosa que me importa demasiado poco,
sino para confirmar el dato a todos los que leen el foro :-)

Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.
"Mauro" wrote in message
news:Oemlu%
eso no hace mas que darme la razon
"Gustavo Larriera [MVP]" wrote in message
news:
De los Books Online:

READUNCOMMITTED, and NOLOCK, cannot be specified for tables modified by
insert, update, or delete operations. The SQL Server query optimizer


ignores
the READUNCOMMITTED and NOLOCK hints in the FROM clause that apply to the
target table of an UPDATE or DELETE statement.

In SQL Server 2005 you can minimize locking contention while protecting
transactions from dirty reads of uncommitted data modifications by using
either of the following:

a.. The READ COMMITTED isolation level with the READ_COMMITTED_SNAPSHOT
database option set to ON.


b.. The SNAPSHOT isolation level.


Gustavo Larriera
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and
confers
no rights.
"Mauro" wrote in message
news:
> exactamente queria reemplazar algunos lugares en donde tengo nolock,


por,
> por ej...
> select * from tabla with (snapshot)
>
> pero veo que si o si hay que ejecutar un
>
> set transaction isolation level etc
>
> es decir no hay un table hint para este nivel de aislamiento, ayer fui
> a
> una
> conferencia en cordoba y Diego Casali
> me dijo que habia un hint.pero creo que me mintio ;)
>
>
>
> "Gustavo Larriera [MVP]" wrote in message
> news:
>> Qué es exactamente lo que deseas hacer? Si solamente tienes
>> curiosidad,
> lee
>> en los Books Online acerca del nuevo isolation level SNAPSHOT.
>>
>> Gustavo Larriera
>> Uruguay LatAm
>> Blog: http://sqljunkies.com/weblog/gux/
>> MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
>> Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga


ningun
>> derecho / This posting is provided "AS IS" with no warranties, and
>> confers
>> no rights.
>> "Mauro" wrote in message
>> news:%23pF$
>> > en el 2000 habia un hint para cada nivel de aislamiento, por ejemplo
>> > select * from tabla with (rowlock)
>> > select * from tabla with (nolock)
>> > etc
>> > pero veo que no hay un equivalente para el nuevo nivel snapshot...me
>> > equivoco?
>> >
>> >
>>
>>
>
>






Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaSiguiente Respuesta Tengo una respuesta
Search Busqueda sugerida