pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

<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="xpnfl7f" 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="bhfvvtv" 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="r5tj5tp" id='kSu1O'><tfoot id='kSu1O'></tfoot><dl id='kSu1O'><fieldset id='kSu1O'></fieldset></dl></div>

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

                            主站蜘蛛池模板: 中药二氧化硫测定仪,食品二氧化硫测定仪|俊腾百科 | 智能化的检漏仪_气密性测试仪_流量测试仪_流阻阻力测试仪_呼吸管快速检漏仪_连接器防水测试仪_车载镜头测试仪_奥图自动化科技 | 青岛成人高考_山东成考报名网 | 玻纤土工格栅_钢塑格栅_PP焊接_单双向塑料土工格栅_复合防裂布厂家_山东大庚工程材料科技有限公司 | atcc网站,sigma试剂价格,肿瘤细胞现货,人结肠癌细胞株购买-南京科佰生物 | 变色龙云 - 打包app_原生app_在线制作平台_短链接_ip查询 | 粘弹体防腐胶带,聚丙烯防腐胶带-全民塑胶 | 太平洋亲子网_健康育儿 品质生活| 雷冲击高压发生器-水内冷直流高压发生器-串联谐振分压器-武汉特高压电力科技有限公司 | 杭州双螺杆挤出机-百科| 扬州汇丰仪表有限公司 | 全自动包衣机-无菌分装隔离器-浙江迦南科技股份有限公司 | 耐高温风管_耐高温软管_食品级软管_吸尘管_钢丝软管_卫生级软管_塑料波纹管-东莞市鑫翔宇软管有限公司 | 手术室净化厂家-成都做医院净化工程的公司-四川华锐-15年特殊科室建设经验 | 深圳货架厂家_金丽声精品货架_广东金丽声展示设备有限公司官网 | [官网]叛逆孩子管教_戒网瘾学校_全封闭问题青少年素质教育_新起点青少年特训学校 | 爱佩恒温恒湿测试箱|高低温实验箱|高低温冲击试验箱|冷热冲击试验箱-您身边的模拟环境试验设备技术专家-合作热线:400-6727-800-广东爱佩试验设备有限公司 | 江苏农村商业银行招聘网_2024江苏农商行考试指南_江苏农商行校园招聘 | 医用酒精_84消毒液_碘伏消毒液等医用消毒液-漓峰消毒官网 | 美的商用净水器_美的直饮机_一级代理经销商_Midea租赁价格-厂家反渗透滤芯-直饮水批发品牌售后 | 华东师范大学在职研究生招生网_在职研究生招生联展网 | 海南在线 海南一家| 北京三友信电子科技有限公司-ETC高速自动栏杆机|ETC机柜|激光车辆轮廓测量仪|嵌入式车道控制器 | 冷油器-冷油器换管改造-连云港灵动列管式冷油器生产厂家 | pos机办理,智能/扫码/二维码/微信支付宝pos机-北京万汇通宝商贸有限公司 | 特种阀门-调节阀门-高温熔盐阀-镍合金截止阀-钛阀门-高温阀门-高性能蝶阀-蒙乃尔合金阀门-福建捷斯特阀门制造有限公司 | 废气处理_废气处理设备_工业废气处理_江苏龙泰环保设备制造有限公司 | 中医治疗皮肤病_潍坊银康医院「山东」重症皮肤病救治平台 | MOOG伺服阀维修,ATOS比例流量阀维修,伺服阀维修-上海纽顿液压设备有限公司 | 深圳美安可自动化设备有限公司,喷码机,定制喷码机,二维码喷码机,深圳喷码机,纸箱喷码机,东莞喷码机 UV喷码机,日期喷码机,鸡蛋喷码机,管芯喷码机,管内壁喷码机,喷码机厂家 | 油漆辅料厂家_阴阳脚线_艺术漆厂家_内外墙涂料施工_乳胶漆专用防霉腻子粉_轻质粉刷石膏-魔法涂涂 | 报警器_家用防盗报警器_烟雾报警器_燃气报警器_防盗报警系统厂家-深圳市刻锐智能科技有限公司 | 钢结构-钢结构厂房-钢结构工程[江苏海逵钢构厂] | 玻璃钢格栅盖板|玻璃钢盖板|玻璃钢格栅板|树篦子-长沙川皖玻璃钢制品有限公司 | 水篦子|雨篦子|镀锌格栅雨水篦子|不锈钢排水篦子|地下车库水箅子—安平县云航丝网制品厂 | 连栋温室大棚建造厂家-智能玻璃温室-薄膜温室_青州市亿诚农业科技 | 12cr1mov无缝钢管切割-15crmog无缝钢管切割-40cr无缝钢管切割-42crmo无缝钢管切割-Q345B无缝钢管切割-45#无缝钢管切割 - 聊城宽达钢管有限公司 | 电磁铁_小型推拉电磁铁_电磁阀厂家-深圳市宗泰电机有限公司 | 贵州科比特-防雷公司厂家提供贵州防雷工程,防雷检测,防雷接地,防雷设备价格,防雷产品报价服务-贵州防雷检测公司 | 阁楼货架_阁楼平台_仓库仓储设备_重型货架_广州金铁牛货架厂 | 工业PH计|工业ph酸度计|在线PH计价格-合肥卓尔仪器仪表有限公司 济南画室培训-美术高考培训-山东艺霖艺术培训画室 |