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

#6 Mauro
25/11/2005 - 14:53 | Informe spam
ok esa no fue mi intencionlo que quise decir es que efectivamente
entonces no hay un hint que reemplaze ese nivel de aislamiento a nivel de
tablas, sino que se aplica a toda la base directamente, lo que no esta mal.
aunque quizas lo deberian haber implementado.


"Gustavo Larriera [MVP]" wrote in message
news:
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?
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>


email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una pregunta AnteriorRespuesta Tengo una respuesta
Search Busqueda sugerida