Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
at isolation read uncommitted
|
|||
|---|---|---|---|
|
#18+
Подскажите пж. новичку можно ли в код view поставить данное выражение (at isolation read uncommitted ) или можно ли указать в свойствах клиентского подключения на сервере ( без доп настроек клиента), что бы все запросы select от данного пользователя выполнялись в режиме uncommitted Основная моя проблема заключается в том, что я не могу править код, сгенеренный клиентом. Спасибо :) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.09.2007, 14:01 |
|
||
|
at isolation read uncommitted
|
|||
|---|---|---|---|
|
#18+
sorry %) ASE 12.5.3 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.09.2007, 14:03 |
|
||
|
at isolation read uncommitted
|
|||
|---|---|---|---|
|
#18+
все оказалось гораздо проще, чем я себе представлял спасибо Google http://download.oracle.com/docs/html/B10530_01/apd.htm#634203 HS_FDS_TRANSACTION_MODEL Default value: COMMIT_CONFIRM Range of values: COMMIT_CONFIRM, READ_ONLY or SINGLE_SITE Specifies the type of transaction model that is used when the Sybase database is updated by a transaction. The following values are possible: * COMMIT_CONFIRM provides read and write access to the Sybase database and allows the gateway to be part of a distributed update. To use the commit-confirm model, the following items must be created in the Sybase database: o Transaction log table. The default table name is HS_TRANSACTION_LOG. A different name can be set using the HS_FDS_TRANSACTION_LOG parameter. The transaction log table must be granted SELECT, DELETE, and INSERT privileges set to public. o Recovery account. The account name is assigned with the HS_FDS_RECOVERY_ACCOUNT parameter. o Recovery account password. The password is assigned with the HS_FDS_RECOVERY_PWD parameter. * READ_ONLY provides read access to the Sybase database. * SINGLE_SITE provides read and write access to the Sybase database. However, the gateway cannot participate in distributed updates. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.09.2007, 14:40 |
|
||
|
at isolation read uncommitted
|
|||
|---|---|---|---|
|
#18+
Evgeniy Rasyuk пишет: > можно ли в код view поставить данное выражение (at isolation read > uncommitted ) > или Мне смутно кажется что нельзя. Но могу ошибаться. Вот что абстрактный план нельзя задать - это точно (он будет игнорирован). Скорей всего что и это нельзя, поскольку изоляция должна определяться внешним запросом по идее. Даже если так можно делать, я бы этого делать не советовал. > можно ли > указать в свойствах клиентского подключения на сервере ( без доп > настроек клиента), Это где ты такие свойства видел ? что бы все запросы select от данного пользователя > выполнялись в режиме uncommitted Можно, но это указывается коммандой из клиентского соединения. set transaction isolation level sets the transaction isolation level for your session. After you set this option, any current or future transactions operate at that isolation level. read uncommitted | 0 Scans at isolation level 0 do not acquire any locks. Therefore, the result set of a level 0 scan may change while the scan is in progress. If the scan position is lost due to changes in the underlying table, a unique index is required to restart the scan. In the absence of a unique index, the scan may be aborted. By default, a unique index is required for a level 0 scan on a table that does not reside in a read-only database. You can override this requirement by forcing the Adaptive Server to choose a nonunique index or a table scan, as follows: select * from table_name (index table_name) Activity on the underlying table may cause the scan to be aborted before completion. Т.е. "впихнуть" ее в соединение на сервере скорее всего не удастся. > Основная моя проблема заключается в том, что я не могу править код, > сгенеренный клиентом. Зачем вам read uncommited ? Он вредный и ненужный в современном ASE. Прочитайте что написано в процитированной мной документации, вторая часть. Если у вас проблемы с concurrency , лучше их решать другими методами, они сейчас в ASE есть. Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.09.2007, 11:01 |
|
||
|
|

start [/forum/topic.php?fid=55&fpage=59&tid=2011902]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
35ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
| others: | 234ms |
| total: | 343ms |

| 0 / 0 |
