Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / и снова OpenXml vs XQuery / 1 сообщений из 1, страница 1 из 1
20.07.2018, 09:54
    #39676632
ShIgor
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
и снова OpenXml vs XQuery
исходя из документации:
https://docs.microsoft.com/en-us/sql/relational-databases/xml/use-the-value-and-nodes-methods-with-openxml?view=sql-server-2017 OpenXml() creates an in-memory representation and uses work tables instead of the query processor. It relies on the XPath version 1.0 processor of MSXML version 3.0 instead of the XQuery engine. The work tables are not shared among multiple calls to OpenXml(), even on the same XML instance. This limits its scalability. OpenXml() allows you to access an edge table format for the XML data when the WITH clause is not specified. Also, it allows you to use the remaining XML value in a separate, "overflow" column.

The combination of nodes() and value() functions uses XML indexes effectively. As a result, this combination can exhibit more scalability than OpenXml.
но кроме scalability есть же еще performance, который OpenXml показывает на голову выше XQuery на реальной многопотоковой задаче.
и к тому же какие-то разговоры (которым уж скоро 10 лет) о том, что его вообще уберут.

Так вот вопрос: в каком месте воз?
И ныне там или все-таки его сдвинут? И если сдвинут, то куда?
...
Рейтинг: 0 / 0
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / и снова OpenXml vs XQuery / 1 сообщений из 1, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]