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

表與臨時表性能

Table vs Temp Table Performance(表與臨時表性能)
本文介紹了表與臨時表性能的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

對于數百萬條記錄,哪個更快:永久表臨時表?

Which is faster for millions of records: Permanent Table or Temp Tables?

我只需要將它用于 1500 萬條記錄.處理完成后,我們刪除這些記錄.

I have to use it only for 15 million records. After processing is complete, we delete these records.

推薦答案

在您的情況下,我們使用稱為臨時表的永久表.這是大型導入的常用方法.事實上,我們通常使用兩個臨時表,一個包含原始數據,一個包含清理過的數據,這使得研究提要問題變得更加容易(它們幾乎總是我們的客戶發現向我們發送垃圾數??據的新方式和不同方式的結果,但是我們必須能夠證明這一點).此外,您還可以避免諸如必須增加臨時數據庫或給想要使用臨時數據庫但必須等待它為您增長的其他用戶帶來問題等問題.

In your situation we use a permanent table called a staging table. This is a common method with large imports. In fact we generally use two staging tables one with the raw data and one with the cleaned up data which makes researching issues with the feed easier (they are almost always a result of new and varied ways our clients find to send us junk data, but we have to be able to prove that). Plus you avoid issues like having to grow temp db or causing issues for other users who want to use temp db but have to wait while it grows for you, etc.

您也可以使用 SSIS 并跳過暫存表,但我發現無需重新加載 50,000,000 表即可返回和研究的能力非常有用.

You can also use SSIS and skip the staging table(s), but I find the ability to go back and research without having to reload a 50,000,000 table is very helpful.

這篇關于表與臨時表性能的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

相關文檔推薦

Sql server table usage statistics(Sql server 表使用情況統計)
Relative path in t sql?(t sql中的相對路徑?)
Getting the last record in SQL in WHERE condition(在 WHERE 條件下獲取 SQL 中的最后一條記錄)
Query to get XML output for hierarchical data using FOR XML PATH in SQL Server(在 SQL Server 中使用 FOR XML PATH 查詢以獲取分層數據的 XML 輸出)
T-SQL IF statement embedded in a sum() function(嵌入在 sum() 函數中的 T-SQL IF 語句)
Can#39;t see created tables in Object Explorer - Microsoft SQL Management Studio(在對象資源管理器中看不到創建的表 - Microsoft SQL Management Studio)
主站蜘蛛池模板: 亚洲欧美综合精品久久成人 | 中文字幕在线观看视频网站 | 国产精品久久久久久久久久久久冷 | 欧美 视频| 91视频精选 | 国产自产c区| 伊人性伊人情综合网 | 国产目拍亚洲精品99久久精品 | 亚洲三区视频 | 国产日韩欧美精品 | 黑人性hd| 精品一区二区三区不卡 | 国产一区二区在线视频 | 男女视频在线免费观看 | 亚洲成人免费视频在线 | 日本三级电影免费观看 | 午夜成人在线视频 | av中文字幕在线 | 九九热久久免费视频 | 精品国产一区二区国模嫣然 | 亚洲精品视频免费 | 日本a∨精品中文字幕在线 亚洲91视频 | 国产精品国产三级国产播12软件 | 亚洲成人免费在线观看 | 91极品视频 | 久久男人天堂 | 九一在线 | 精品产国自在拍 | 久久久亚洲成人 | 激情自拍偷拍 | 亚洲视频免费在线 | 久久久久一区二区三区四区 | 亚洲成年在线 | 日韩欧美网 | 97伦理最新伦理 | h片在线观看免费 | 一区二区三区高清 | 精品欧美乱码久久久久久 | 毛片免费观看视频 | 国产一级在线 | 91免费电影 |