Главная страница


su.dbms

 
 - SU.DBMS ----------------------------------------------------------------------
 From : Nik Sestrin                          2:5020/400     22 Aug 2002  20:06:52
 To : Vladimir Pavlikov
 Subject : Re: Отчеты
 -------------------------------------------------------------------------------- 
 
 
 "Vladimir Pavlikov" <pvv@soil.msu.ru> wrote in message
 news:ak31c5$4ap$3@host.talk.ru...
 
 > Hello, Nik Sestrin!
 > You wrote to Vladimir Pavlikov on Thu, 22 Aug 2002 14:39:46 +0000 (UTC):
 >
 >  >> _Два_ запроса. Сериализация (которая поставит всех остальных раком)
 >  >> здесь не поможет, тут нужен snapshot.
 >
 >  NS> хоть десять ... дока гарантирует решение проблемы фантомов если
 >  NS> сказать set transaction isolation level serializable , опыт/тесты
 >  NS> подтверждают...
 >
 > Доку стоит читать внимательнее :
 > Serializability requires that any query executed during a transaction
 > must obtain the same set of rows if it is executed again at some later
 >                                     ^^^^^^^^^^^^^^^^^^^^
 > point within the same transaction.
 
 я читаю
 
 The REPEATABLE READ clause now does not necessarily protect against
 phantoms. Serializable transactions, set using the SERIALIZABLE clause of
 SET TRANSACTION ISOLATION LEVEL, allow less concurrency than the REPEATABLE
 READ clause because they protect against phantoms.
 Expect different results as compared to earlier versions of SQL Server. Many
 applications only need REPEATABLE READ semantics for correct operation. Use
 the REPEATABLE READ clause of SET TRANSACTION ISOLATION LEVEL for
 applications requiring REPEATABLE READ semantics but that do not need
 phantom protection. If phantom protection is required, use the SERIALIZABLE
 clause.
 > зения нужен. То же касается и тестов. Речь не о вещах, которые
 > приведут к проблемам обязательно, а о тех, которые могут вылезти
 > в недетерминированный момент времени. И ждать его можно годы.
 > А можно и часы :)
 >
 >  NS> Vladimir Pavlikov/Liliya Huff могут привести пример для mssql,
 >  NS> когда это не так?
 >
 > Как ты себе представляешь эти примеры? Это же не структура базы и
 > текст запроса только, это еще и ситуация.
 если нет прецедентов и дока утверждает обратное - извини, я ей
 верю....больше
 простейший тест:
 
 в 1 сеансе:
 create table q (id int)
 insert into q (id) select 1
 set transaction isolation level serializable
 begin tran
 select * from q
 waitfor delay '0:0:20'
 select * from q
 commit tran
 drop table q
 
 во 2 сеансе
 insert into q (id) select 2 --пока длится  waitfor delay '0:0:20'
 --
 Sestrin
 --- ifmail v.2.15dev5
  * Origin: Sinor-NMTS (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Отчеты   Igor Kuhtin   21 Aug 2002 13:11:30 
 Re: Отчеты   Denis Gorbunov   21 Aug 2002 19:25:01 
 Re: Отчеты   Vladimir Pavlikov   21 Aug 2002 20:01:47 
 Re: Отчеты   Nik Sestrin   21 Aug 2002 21:29:18 
 Re: Отчеты   Liliya Huff   21 Aug 2002 22:30:04 
 Hа: Отчеты    Sergey Pratch   22 Aug 2002 00:13:36 
 Re: Отчеты   Igor Kuhtin   22 Aug 2002 08:55:08 
 Re: Отчеты   Liliya Huff   23 Aug 2002 07:55:46 
 Re: Отчеты   Tolik Tentser   22 Aug 2002 18:31:39 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 19:52:40 
 Re: Отчеты   Tolik Tentser   23 Aug 2002 18:57:43 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 19:03:48 
 Re: Отчеты   Tolik Tentser   23 Aug 2002 19:34:25 
 Re: Отчеты   Igor Kuhtin   22 Aug 2002 08:49:16 
 Re: Отчеты   Nik Sestrin   22 Aug 2002 18:49:56 
 Hа: Отчеты    Sergey Pratch   22 Aug 2002 20:29:16 
 Re: Hа: Отчеты   Igor Kuhtin   23 Aug 2002 13:36:10 
 Hа: Hа: Отчеты    Sergey Pratch   23 Aug 2002 21:50:26 
 Re: Hа: Hа: Отчеты   Igor Kuhtin   27 Aug 2002 14:52:34 
 Hа: Hа: Hа: Отчеты    Sergey Pratch   28 Aug 2002 13:51:08 
 Re: Hа: Hа: Hа: Отчеты   Igor Kuhtin   28 Aug 2002 18:18:11 
 Hа: Hа: Hа: Hа: Отчеты    Sergey Pratch   29 Aug 2002 01:40:48 
 Re: Hа: Hа: Hа: Hа: Отчеты   Igor Kuhtin   29 Aug 2002 09:33:06 
 Hа: Отчеты    Sergey Pratch   29 Aug 2002 15:29:30 
 Re: Hа: Hа: Hа: Отчеты   Igor Kuhtin   28 Aug 2002 18:04:26 
 Hа: Hа: Hа: Hа: Отчеты    Sergey Pratch   29 Aug 2002 01:40:47 
 Re: Hа: Hа: Hа: Hа: Отчеты   Igor Kuhtin   29 Aug 2002 09:00:30 
 Hа: Hа: Hа: Hа: Hа: Отчеты    Sergey Pratch   29 Aug 2002 15:29:30 
 Re: Hа: Hа: Hа: Отчеты   Michael Skulsky   29 Aug 2002 11:29:02 
 Hа: Hа: Hа: Hа: Отчеты    Sergey Pratch   29 Aug 2002 12:03:39 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 15:46:37 
 Re: Отчеты   Nik Sestrin   22 Aug 2002 18:39:46 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 19:52:40 
 Re: Отчеты   Nik Sestrin   22 Aug 2002 20:06:52 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 20:51:32 
 Hа: Отчеты    Sergey Pratch   22 Aug 2002 22:24:51 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 16:10:28 
 Re: Отчеты   Nik Sestrin   23 Aug 2002 07:17:10 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 16:40:57 
 Re: Отчеты   Nik Sestrin   23 Aug 2002 18:37:22 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 18:53:39 
 Re: Отчеты   Nik Sestrin   23 Aug 2002 19:56:43 
 Re: Отчеты   Vladimir Pavlikov   26 Aug 2002 15:28:47 
 Re: Отчеты   Andrei N. Sobchuck   24 Aug 2002 12:07:46 
 Re: Отчеты   Vladimir Pavlikov   26 Aug 2002 16:25:43 
 Re: Отчеты   Denis Krylov   25 Aug 2002 18:53:46 
 Re: Отчеты   Vladimir Pavlikov   26 Aug 2002 16:25:43 
 Re: Отчеты   Andrew Grachyov   26 Aug 2002 00:19:00 
 Re: Отчеты   Vladimir Pavlikov   26 Aug 2002 16:25:43 
 Re: Отчеты   Tolik Tentser   23 Aug 2002 19:07:53 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 19:50:38 
 Hа: Отчеты    Sergey Pratch   23 Aug 2002 21:50:26 
 Hа: Отчеты    Sergey Pratch   22 Aug 2002 20:29:16 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 20:53:35 
 Hа: Отчеты    Sergey Pratch   22 Aug 2002 00:13:36 
 Re: Hа: Отчеты   Vova Aksionov   22 Aug 2002 07:14:43 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 15:46:37 
 Re: Отчеты   Andrei N. Sobchuck   22 Aug 2002 16:07:00 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 17:14:09 
 Re: Отчеты   Andrei N. Sobchuck   22 Aug 2002 18:13:14 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 19:52:40 
 Re: Отчеты   Andrei N. Sobchuck   23 Aug 2002 09:14:56 
 Re: Отчеты   Vladimir Pavlikov   23 Aug 2002 16:12:29 
 Re: Отчеты   Denis Gorbunov   22 Aug 2002 14:00:47 
 Re: Отчеты   Vladimir Pavlikov   22 Aug 2002 15:46:37 
 Re: Отчеты   Liliya Huff   23 Aug 2002 07:05:04 
 Re: Отчеты   Loki   21 Aug 2002 21:15:04 
 Отчеты   Dzurilo Dmitry   22 Aug 2002 09:59:22 
 Re: Отчеты   Igor Kuhtin   23 Aug 2002 13:31:18 
 Re: Отчеты   Michael Raschepkin   28 Aug 2002 15:40:55 
 Re: Отчеты   Igor Kuhtin   28 Aug 2002 18:15:07 
Архивное /su.dbms/9163e4d4b172.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional