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

      <legend id='RFptX'><style id='RFptX'><dir id='RFptX'><q id='RFptX'></q></dir></style></legend>

      1. <small id='RFptX'></small><noframes id='RFptX'>

        • <bdo id='RFptX'></bdo><ul id='RFptX'></ul>
      2. <tfoot id='RFptX'></tfoot>
        <i id='RFptX'><tr id='RFptX'><dt id='RFptX'><q id='RFptX'><span id='RFptX'><b id='RFptX'><form id='RFptX'><ins id='RFptX'></ins><ul id='RFptX'></ul><sub id='RFptX'></sub></form><legend id='RFptX'></legend><bdo id='RFptX'><pre id='RFptX'><center id='RFptX'></center></pre></bdo></b><th id='RFptX'></th></span></q></dt></tr></i><div class="o22m2sq" id='RFptX'><tfoot id='RFptX'></tfoot><dl id='RFptX'><fieldset id='RFptX'></fieldset></dl></div>

        龐大的 SQL Server 數據庫中的 Blob 數據

        Blob data in huge SQL Server database(龐大的 SQL Server 數據庫中的 Blob 數據)

        <legend id='T6vp9'><style id='T6vp9'><dir id='T6vp9'><q id='T6vp9'></q></dir></style></legend>

            <bdo id='T6vp9'></bdo><ul id='T6vp9'></ul>
            • <tfoot id='T6vp9'></tfoot>

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

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

                1. 本文介紹了龐大的 SQL Server 數據庫中的 Blob 數據的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我們每年生成 20.000.000 個文本文件,每個平均大小約為 250 Kb(35 Kb 壓縮).

                  We have 20.000.000 generated textfiles every year, average size is approx 250 Kb each (35 Kb zipped).

                  我們必須將這些文件放入某種存檔中 10 年.不需要在文本文件中搜索,但我們必須能夠通過搜索 5-10 個元數據字段(例如productname"、creationdate"等)來找到一個 texfile.

                  We must put these files in some kind of archive for 10 years. No need to search inside textfiles, but we must be able to find one texfile by searching on 5-10 metadata fields such as "productname", "creationdate", etc.

                  我正在考慮壓縮每個文件并將它們存儲在 SQL Server 數據庫中,該數據庫具有 5-10 個可搜索(索引)列和一個用于壓縮文件數據的 varbinary(MAX) 列.

                  I'm considering zipping each file and storing them in a SQL Server database with 5-10 searchable (indexed) columns and a varbinary(MAX) column for the zipped file data.

                  數據庫會隨著時間的推移變得龐大;5-10 TB.所以我認為我們需要對數據進行分區,例如每年保留一個數據庫.

                  The database will be grow huge over the years; 5-10 Tb. So I think we need to partition data for example by keeping one database per year.

                  我一直在研究在 SQL Server 中對包含數據的 varbinary 列使用 FILESTREAM,但似乎這更適合大于 1 Mb 的 blob?

                  I've been looking into using FILESTREAM in SQL Server for the varbinary column that holds the data, but it seems this is more suitable for blobs > 1 Mb?

                  有關如何管理此類數據量的任何其他建議?

                  Any other suggestions on how to manage such data volumes?

                  推薦答案

                  Filestream 絕對更適合更大的 blob (750kB-1MB),因為打開外部文件所需的開銷開始影響讀寫性能 vs. vb(max) 小文件的 blob 存儲.如果這不是什么大問題(即,在初始寫入后讀取 blob 數據的頻率很低,并且 blob 實際上是不可變的),那么這絕對是一個選擇.

                  Filestream is definitely more suited to larger blobs (750kB-1MB) as the overhead required to open the external file begins to impact read and write performance vs. vb(max) blob storage for small files. If this is not so much of an issue (ie. reads of blob data after the initial write are infrequent, and the blobs are effectively immutable) then it's definitely an option.

                  我可能會建議將文件直接保存在 vb(max) 列中,如果您可以保證它們的大小不會變大,但是使用 TEXTIMAGE_ON 選項將此表存儲在單獨的文件組中,這將允許您如有必要,將其從元數據的其余部分移至不同的存儲.此外,請確保設計您的架構,以便可以使用分區或通過某些多表方案將 blob 的實際存儲拆分到多個文件組,以便您可以在將來必要時擴展到不同的磁盤.

                  I would probably suggest keeping the files directly in a vb(max) column if you can guarantee they won't get much larger in size, but have this table stored in a seperate filegroup using the TEXTIMAGE_ON option which would allow you to move it to different storage from the rest of the metadata if necessary. Also, make sure to design your schema so the actual storage of blobs can be split over multiple filegroups either using partitions or via some multiple table scheme so you can scale to different disks if necessary in the future.

                  通過 Filestream 或直接 vb(max) 存儲使 blob 與 SQL 元數據直接相關比處理文件系統/SQL 不一致具有許多優勢,不僅限于易于備份和其他管理操作.

                  Keeping the blobs directly associated with the SQL metadata either via Filestream or direct vb(max) storage has many advantages over dealing with filesystem / SQL inconsistencies not limited to ease of backup and other management operations.

                  這篇關于龐大的 SQL Server 數據庫中的 Blob 數據的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進行透視(SQL、PYSPARK))
                  Spark giving Null Pointer Exception while performing jdbc save(Spark在執行jdbc保存時給出空指針異常)
                  execute query on sqlserver using spark sql(使用 spark sql 在 sqlserver 上執行查詢)
                  How can I compare the one line in one CSV with all lines in another CSV file?(如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進行比較?)
                  NIFI - QueryDatabaseTable processor. How to query rows which is modified?(NIFI - QueryDatabaseTable 處理器.如何查詢被修改的行?)
                  How to map the column wise data in flowfile in NiFi?(如何在 NiFi 中映射流文件中的列數據?)
                  <i id='4nGgn'><tr id='4nGgn'><dt id='4nGgn'><q id='4nGgn'><span id='4nGgn'><b id='4nGgn'><form id='4nGgn'><ins id='4nGgn'></ins><ul id='4nGgn'></ul><sub id='4nGgn'></sub></form><legend id='4nGgn'></legend><bdo id='4nGgn'><pre id='4nGgn'><center id='4nGgn'></center></pre></bdo></b><th id='4nGgn'></th></span></q></dt></tr></i><div class="uyyyycc" id='4nGgn'><tfoot id='4nGgn'></tfoot><dl id='4nGgn'><fieldset id='4nGgn'></fieldset></dl></div>

                      <small id='4nGgn'></small><noframes id='4nGgn'>

                      <tfoot id='4nGgn'></tfoot>

                        1. <legend id='4nGgn'><style id='4nGgn'><dir id='4nGgn'><q id='4nGgn'></q></dir></style></legend>
                            <tbody id='4nGgn'></tbody>

                            <bdo id='4nGgn'></bdo><ul id='4nGgn'></ul>
                            主站蜘蛛池模板: 工业淬火油烟净化器,北京油烟净化器厂家,热处理油烟净化器-北京众鑫百科 | 上海防爆真空干燥箱-上海防爆冷库-上海防爆冷柜?-上海浦下防爆设备厂家? | 超细|超微气流粉碎机|气流磨|气流分级机|粉体改性机|磨粉机|粉碎设备-山东埃尔派粉体科技 | 消泡剂-水处理消泡剂-涂料消泡剂-切削液消泡剂价格-东莞德丰消泡剂厂家 | 杭州货架订做_组合货架公司_货位式货架_贯通式_重型仓储_工厂货架_货架销售厂家_杭州永诚货架有限公司 | 智能电表|预付费ic卡水电表|nb智能无线远传载波电表-福建百悦信息科技有限公司 | 洛阳网站建设_洛阳网站优化_网站建设平台_洛阳香河网络科技有限公司 | 深圳货架厂家_金丽声精品货架_广东金丽声展示设备有限公司官网 | 广州番禺搬家公司_天河黄埔搬家公司_企业工厂搬迁_日式搬家_广州搬家公司_厚道搬迁搬家公司 | 天津仓库出租网-天津电商仓库-天津云仓一件代发-【博程云仓】 | 美国HASKEL增压泵-伊莱科elettrotec流量开关-上海方未机械设备有限公司 | EDLC超级法拉电容器_LIC锂离子超级电容_超级电容模组_软包单体电容电池_轴向薄膜电力电容器_深圳佳名兴电容有限公司_JMX专注中高端品牌电容生产厂家 | 北京西风东韵品牌与包装设计公司,创造视觉销售力! | 液氮罐_液氮容器_自增压液氮罐-北京君方科仪科技发展有限公司 | 壹车网 | 第一时间提供新车_资讯_报价_图片_排行! | 发电机价格|发电机组价格|柴油发电机价格|柴油发电机组价格网 | 动物解剖台-成蚊接触筒-标本工具箱-负压实验台-北京哲成科技有限公司 | 气力输送_输送机械_自动化配料系统_负压吸送_制造主力军江苏高达智能装备有限公司! | PCB设计,PCB抄板,电路板打样,PCBA加工-深圳市宏力捷电子有限公司 | 电池挤压试验机-自行车喷淋-车辆碾压试验装置-深圳德迈盛测控设备有限公司 | 生物颗粒燃烧机-生物质燃烧机-热风炉-生物颗粒蒸汽发生器-丽水市久凯能源设备有限公司 | 在线浊度仪_悬浮物污泥浓度计_超声波泥位计_污泥界面仪_泥水界面仪-无锡蓝拓仪表科技有限公司 | 恒温恒湿试验箱厂家-高低温试验箱维修价格_东莞环仪仪器_东莞环仪仪器 | 特材真空腔体_哈氏合金/镍基合金/纯镍腔体-无锡国德机械制造有限公司 | 无负压供水设备,消防稳压供水设备-淄博创辉供水设备有限公司 | 橡胶膜片,夹布膜片,橡胶隔膜密封,泵阀设备密封膜片-衡水汉丰橡塑科技公司网站 | 海德莱电力(HYDELEY)-无功补偿元器件生产厂家-二十年专业从事电力电容器 | 台湾Apex减速机_APEX行星减速机_台湾精锐减速机厂家代理【现货】-杭州摩森机电 | 杜康白酒加盟_杜康酒代理_杜康酒招商加盟官网_杜康酒厂加盟总代理—杜康酒神全国运营中心 | 亮化工程,亮化设计,城市亮化工程,亮化资质合作,长沙亮化照明,杰奥思【官网】 | 禹城彩钢厂_钢结构板房_彩钢复合板-禹城泰瑞彩钢复合板加工厂 | 隔爆型防爆端子分线箱_防爆空气开关箱|依客思 | 广州冷却塔维修厂家_冷却塔修理_凉水塔风机电机填料抢修-广东康明节能空调有限公司 | 冰雕-冰雪世界-大型冰雕展制作公司-赛北冰雕官网 | 电动手术床,医用护理床,led手术无影灯-曲阜明辉医疗设备有限公司 | 哈希余氯测定仪,分光光度计,ph在线监测仪,浊度测定仪,试剂-上海京灿精密机械有限公司 | 仿真茅草_人造茅草瓦价格_仿真茅草厂家_仿真茅草供应-深圳市科佰工贸有限公司 | 楼承板设备-楼承板成型机-免浇筑楼承板机器厂家-捡来 | 新疆十佳旅行社_新疆旅游报价_新疆自驾跟团游-新疆中西部国际旅行社 | 阀门智能定位器_电液动执行器_气动执行机构-赫尔法流体技术(北京)有限公司 | 一氧化氮泄露报警器,二甲苯浓度超标报警器-郑州汇瑞埔电子技术有限公司 |