|
|
|
OLE DB & ODBC with MS SQL Server 2000
|
|||
|---|---|---|---|
|
#18+
У меня такая же проблема. Сообщение "Объект был открыт" возникает в случае использования "Retrieve As Needed". К примеру, открыли окно-список, но до конца не отритривили. Выбираем любую запись из списка, редактируем и пытаемся сохранить. В ответ получаем сообщение "Объект был открыт". Как решить пока не думал, может быть отказаться от Retrieve As Needed... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.05.2006, 18:23 |
|
||
|
OLE DB & ODBC with MS SQL Server 2000
|
|||
|---|---|---|---|
|
#18+
When the Microsoft OLE DB Provider for SQL Server (SQLOLEDB) creates implicit connections, these connections are not pooled. The provider creates implicit connections under the following two situations: • If you create additional sessions from the same data source object while keeping the first session open, the provider creates implicit connections to the SQL Server for each additional session. • If you execute multiple commands from the same connection, and you are specifying read-only, forward-only (default resultset) cursors. Because SQL Server doesn't allow more than one pending resultset per connection per default-resultset (also known as firehose) cursor, the provider will implicitly create another connection if DBPROP_MULTIPLECONNECTIONS is set to VARIANT_TRUE (the default). In both cases, the implicit connection, which is created by the provider, is not pooled. This can lead to poor performance compared to opening and closing the connection explicitly. For more information on this behavior, see the article "How Consumers Use Resource Pooling" at the following MSDN Web site: http://msdn.microsoft.com/library/psdk/dasdk/msda3753.htm (http://msdn.microsoft.com/library/psdk/dasdk/msda3753.htm Оригинал тут: http://www.kbalertz.com/kb_Q271128.aspx ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.05.2006, 20:14 |
|
||
|
|

start [/forum/search_topic.php?author=Big+Boo&author_mode=last_topics&do_search=1]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
get settings: |
8ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
51ms |
get topic data: |
6ms |
get first new msg: |
4ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 671ms |
| total: | 805ms |

| 0 / 0 |
