久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='pCd25'></small><noframes id='pCd25'>

      <bdo id='pCd25'></bdo><ul id='pCd25'></ul>
  • <legend id='pCd25'><style id='pCd25'><dir id='pCd25'><q id='pCd25'></q></dir></style></legend>
  • <tfoot id='pCd25'></tfoot>
    <i id='pCd25'><tr id='pCd25'><dt id='pCd25'><q id='pCd25'><span id='pCd25'><b id='pCd25'><form id='pCd25'><ins id='pCd25'></ins><ul id='pCd25'></ul><sub id='pCd25'></sub></form><legend id='pCd25'></legend><bdo id='pCd25'><pre id='pCd25'><center id='pCd25'></center></pre></bdo></b><th id='pCd25'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pCd25'><tfoot id='pCd25'></tfoot><dl id='pCd25'><fieldset id='pCd25'></fieldset></dl></div>
      1. 設計用于在 SQL Server 2008 R2 中存儲 XML 數據的表

        Designing table to store XML data in SQL Server 2008 R2(設計用于在 SQL Server 2008 R2 中存儲 XML 數據的表)

        <small id='4989e'></small><noframes id='4989e'>

          <bdo id='4989e'></bdo><ul id='4989e'></ul>
              <tfoot id='4989e'></tfoot>
                  <tbody id='4989e'></tbody>
                <i id='4989e'><tr id='4989e'><dt id='4989e'><q id='4989e'><span id='4989e'><b id='4989e'><form id='4989e'><ins id='4989e'></ins><ul id='4989e'></ul><sub id='4989e'></sub></form><legend id='4989e'></legend><bdo id='4989e'><pre id='4989e'><center id='4989e'></center></pre></bdo></b><th id='4989e'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4989e'><tfoot id='4989e'></tfoot><dl id='4989e'><fieldset id='4989e'></fieldset></dl></div>
                • <legend id='4989e'><style id='4989e'><dir id='4989e'><q id='4989e'></q></dir></style></legend>

                • 本文介紹了設計用于在 SQL Server 2008 R2 中存儲 XML 數據的表的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我打算使用 SQL Server 為我的應用程序存儲 XML BLOB.我正在為設計決策而苦苦掙扎,并希望從在該主題方面有經驗的人那里尋求任何指導方針或建議.

                  I am planing to use SQL Server to store XML BLOBs for my application. I am struggling with a design decision, and looking for any guidelines or advice from someone experienced in this topic.

                  需要存儲為 XML 的數據大約有 100 個簡單數據點.它們可以很容易地分為每組大約 20 個數據點的組.在應用程序的未來版本中,我們計劃通過添加新的數據點來擴大數據的范圍,其中一些將是分層的(列表、字典等).

                  The data that needs to be stored as XML has about 100 simple data points. They can easily be categorized into groups of maybe 20 data points each. In future versions of application, we plan to increase the scope of the data by adding new data points, some of which will be hierarchical (lists, dictionaries, etc).

                  我們預計不需要對 XML 數據執行查詢.它們最多是非常簡單的查詢,如果需要,我們可以將任何數據點提升到關系列.

                  We are not anticipating needing to perform queries on the XML data. At most they will be very simple queries and we can promote any of the data points to a relational column if need be.

                  我不確定是應該創建一個巨大的 XML BLOB 來保存所有這些數據,還是應該將其分解為多個 XML 列.在 SQL Server 2008 R2 中是否有任何處理 XML 數據類型的最佳實踐或指南可以幫助我做出最佳決策?重要嗎?

                  I am not sure whether I should just create one giant XML BLOB to hold all of this data, or if should break it down into multiple XML columns. Are there any best practices or guidelines for dealing with XML data type in SQL Server 2008 R2 that can help me make the best decision? Does it even matter?

                  我已經開始使用 XML 作為數據類型,我正在嘗試決定是使用一個大的 BLOB 還是將其分解為多個 XML 列.

                  I am already set on using XML as a datatype, I am trying to make a decision on whether I should use one large BLOB or break it up into multiple XML columns.

                  推薦答案

                  是的,這很重要!當您在 SQL Server 中將大型 XML blob 存儲為 XML 數據類型時,它不會存儲為文本 blob - 它被解析"和標記化"并以比您更有效的方式存儲重新使用 varchar(max) 來存儲文本表示.

                  Yes it matters! When you store a large XML blob as XML datatype inside SQL Server, then it's not stored as a textual blob - it's "parsed" and "tokenized" and stored in a significantly more efficient manner than if you're using just varchar(max) to store the textual representation.

                  如果它真的看起來像 XML,聞起來像 XML,而且聽起來像 XML - 那么一定要使用XML 數據類型!

                  If it really looks like XML, smells like XML and quacks like XML - then definitely USE the XML datatype!

                  更新:如果您只想將 XML 作為一個整體來存儲和檢索 - 我認為將其分成多個塊沒有任何好處.SQL Server 中的 XML 數據類型最多可以容納 2 GByte 的數據(就像 varchar(max)),您將看不到任何通過存儲(和檢索)多個較小的 XML 片段提高性能.

                  Update: if you only intend to store and retrieve the XML as a whole - I don't see any benefit in breaking it up into chunks. The XML datatype in SQL Server can hold up to 2 GByte of data (just like varchar(max)) and you won't see any performance gains from storing (and retrieving) multiple smaller XML fragments.

                  這篇關于設計用于在 SQL Server 2008 R2 中存儲 XML 數據的表的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數據庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發
                  How to create a login to a SQL Server instance?(如何創建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現“數據類型轉換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)
                  WinForms application design - moving documents from SQL Server to file storage(WinForms 應用程序設計——將文檔從 SQL Server 移動到文件存儲)
                    • <bdo id='kSu1O'></bdo><ul id='kSu1O'></ul>
                    • <legend id='kSu1O'><style id='kSu1O'><dir id='kSu1O'><q id='kSu1O'></q></dir></style></legend>
                        • <tfoot id='kSu1O'></tfoot>

                              <tbody id='kSu1O'></tbody>
                          1. <i id='kSu1O'><tr id='kSu1O'><dt id='kSu1O'><q id='kSu1O'><span id='kSu1O'><b id='kSu1O'><form id='kSu1O'><ins id='kSu1O'></ins><ul id='kSu1O'></ul><sub id='kSu1O'></sub></form><legend id='kSu1O'></legend><bdo id='kSu1O'><pre id='kSu1O'><center id='kSu1O'></center></pre></bdo></b><th id='kSu1O'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='kSu1O'><tfoot id='kSu1O'></tfoot><dl id='kSu1O'><fieldset id='kSu1O'></fieldset></dl></div>

                            <small id='kSu1O'></small><noframes id='kSu1O'>

                            主站蜘蛛池模板: 欧美日韩在线一区二区 | 日本免费一区二区三区 | 亚洲综合婷婷 | 国外成人在线视频网站 | 午夜三区 | 久久久99国产精品免费 | 日韩视频一区 | 欧洲一级黄 | 国产一区二区电影 | 日韩高清一区 | jizz中国日本| 亚洲精彩视频在线观看 | 涩涩99 | 欧美精品成人一区二区三区四区 | 欧洲亚洲一区 | 精品久久久久久国产 | 国产精品免费视频一区 | 日韩欧美国产电影 | 国产欧美日韩综合精品一区二区 | 欧美视频中文字幕 | 久干网 | 成人免费视频在线观看 | 99国内精品久久久久久久 | 91免费入口 | 一区观看 | 婷婷99| 九九热精品视频 | 亚洲午夜精品视频 | 国产黄色一级电影 | 日韩一二三区视频 | 国产日韩免费观看 | 国产精品美女一区二区 | 欧美午夜一区 | 国产综合欧美 | 亚洲视频在线看 | 欧美激情精品久久久久久变态 | 国产精品毛片一区二区在线看 | 啪啪免费 | 国产精品久久久久久久久久久久久 | 午夜国产羞羞视频免费网站 | 亚洲欧洲成人 |