




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、In-Memory OLTP 概述面向關(guān)鍵任務(wù)的高性能平臺 - SQL Server 2014王輝 | MVP | MCT SQL Server 2014 investmentsIn-memory TechnologiesEnhancedHigh AvailabilityNew HybirdScenariosIn-Memory OLTP520 x performance gain for OLTP integrated into SQL ServerIn-Memory Data Warehouse525x performance gain and high data compression U
2、pdatable and clusteredSSD Buffer Pool Extension410 x RAM and up to 3x performance gain transparently for appsAlwaysOn EnhancementIncreased availability and improved manageability of active secondariesOnline Database OperationsIncreased availability for index and partition maintenanceBackup to AzureE
3、asy to implement and cost effective disaster recovery solution to Windows Azure StorageHigh availability to Azure Virtual MachinesEasy to implement and cost effective high availability solution with Windows Azure Virtual MachinesDeploy to AzureDeployment wizard to migrate database2Better together wi
4、th Windows ServerWindows Server 2012 ReFS supportOnline resizing VHDXMicrosoft Hyper-V replicaWindows “Blue” supportExtending Power ViewEnable Power View on existing analytic models and support new multidimensional modelsOther investmentsIn-memory technologiesIn-memory technologiesIn-Memory OLTP520
5、x performance gain for OLTP integrated into SQL ServerTransactional workloads, such as concurrent data entry, processing, and retrievalDecision support workloads, such as large scans and aggregatesDisk-based transactional workloads, such as large working (data) setsIn-Memory Data Warehouse525x perfo
6、rmance gain and high data compression Updatable and clusteredSSD Buffer Pool Extension410 x of RAM and up to 3X performance gain transparently for appsWhy In-memory OLTPMarket need for higher throughput and predictable lower latency OLTP at a lower costHardware trend demands architectural changes on
7、 RDBMS to meet those demandsIn-memory OLTP: High performanceMemory-optimized OLTP engineIntegrated into SQL Server Built for modern hardware trendsDecreasing RAM costMoores Law on total CPU processing power holdsCPU clock rate has stalled in parallel processingHardware trendsSQL Server integrationSa
8、me manageability, administration, and development experienceIntegrated queries and transactionsIntegrated high availability and backup/restoreMain-memory optimizedOptimized for in-memory dataIndexes (hash and range) exist only in memoryNo buffer pool, B-treesStream-based storageHigh concurrencyMulti
9、-version optimistic concurrency control with full ACID supportCore engine uses lock-free algorithmsNo lock manager, latches, or spinlocksT-SQL compiled to machine codeT-SQL compiled to machine code via C code generator and VCInvoking a procedure is just a DLL entry-pointAggressive optimizations at c
10、ompile-timeSteadily declining memory price, NVRAMMany-core processorsStalling CPU clock rateTCOHardware trendsBusinessIn-memory OLTP architecture pillarsHybrid engine and integrated experienceHigh-performance data operationsFrictionless scale-upEfficient, business-logic processingCustomer benefitsIn
11、-Memory OLTP tech pillarsDriversIntroduction to In-Memory OLTPDemo (Part I)Memory-optimized table filegroupData filegroupSQL Server.exeIn-memory OLTP engine for memory-optimized tables and indexesTDS handler and session managementIn-Memory OLTP integration and application migrationNatively compiled
12、SPs and schemaBuffer pool for tables and indexesProc/plan cache for ad-hoc T-SQL and SPsTransaction logQuery interoperabilityNon-durable tableT1T4T3T2T1T4T3T2T1T4T3T2T1T4T3T2TablesIndexesInterpreter for TSQL, query plans, expressionsT1T4T3T2T1T4T3T2Checkpoint and recoveryAccess methodsParser, Catalo
13、g, Algebrizer, OptimizerIn-Memory OLTP CompilerIn-Memory OLTP componentKeyExisting SQL componentGenerated .dllClient appPerformance gainsIn-Memory OLTP CompilerIn-Memory OLTP componentMemory-optimized table filegroupData filegroupSQL Server.exeIn-Memory OLTP engine for memory-optimized tables and in
14、dexesTDS handler and session managementNatively compiled SPs and schemaBuffer pool for tables and indexesProc/plan cache for ad-hoc T-SQL and SPsClient appTransaction logInterpreter for TSQL, query plans, and expressionsQuery interopAccess methodsParser, Catalog, Algebrizer, Optimizer10-30 x more ef
15、ficientReduced log bandwidth and contention; log latency remainsCheckpoints are background sequential IONo improvements in communication stack, parameter passing, or result set generation KeyExisting SQL componentGenerated .dllSuitable Application Characteristics10Application is suited for in-memory
16、 processingAll performance critical data already fits in memoryTransaction locking or physical latching causing stalls and blockingApplication is “OLTP-Like”Relatively short-lived transactionsHigh degree of concurrent transactions from many connectionsExamples: Stock trading, travel reservations, or
17、der processingApplication porting simplified ifStored procedures usedPerformance problems isolated to subset of tables and SPsSQL Server row-store and column-store scenariosRowstore for OLTP is mainly for operational transactions with minimum reporting and a shorter period of time ConsiderationsIM r
18、owstoreIM updatable columnstoreData size and currencyData sizeDesigned to address bottlenecks in hot data (for V1, less than 256 GB) Designed for cold and archival data (greater than 256 GB)Read patternsPoint select and ad-hoc query for operational reportIdeal: Key design points for non-blocking hig
19、h performance data accessNot ideal: Minimum scan set is 1 million rows + delta rowstoreLarge scan set with aggregatesNot idealIdeal: Key design pointsStar schema and related DW type of complex joinsNot idealIdeal: Key design pointsWrite patternsHeavy updates and deletesIdeal: Key design points for c
20、ontention free data operationsFunctional but not optimized (change happens to on-disk row store and gets merged into columnstore in batches)Heavy ETL and data ingestionIdeal: Key design pointsFunctional but not optimized (same as above)Relational cache scenarioIdeal (with NDT)Not idealColumnstore for DW is mainly for the reporting of transaction history over a longer period of timeComparing In-Memory OLTP PerformanceDemo (Part 2) 2013 Microsoft
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 酒店科技應(yīng)用趨勢試題及答案
- 考試心態(tài)稅務(wù)師試題及答案
- 數(shù)據(jù)庫存儲結(jié)構(gòu)試題及答案
- 2025設(shè)備采購借款合同簡易借款合同
- 《2025房屋租賃中介服務(wù)合同》
- 2025房地產(chǎn)買賣合同范例
- 2025合同解除備案登記表
- 2025專業(yè)版企業(yè)借款合同模板
- 廣東郵電職業(yè)技術(shù)學院《數(shù)值計算方法》2023-2024學年第一學期期末試卷
- 武漢設(shè)計工程學院《檔案管理信息系統(tǒng)》2023-2024學年第二學期期末試卷
- 2023-2024學年上海交大附中高三上英語10月周練卷及答案
- 病理生理學病例分析報告
- 三D打印公開課
- 補鐵劑中鐵元素的檢驗-應(yīng)用配合物進行物質(zhì)檢驗高二化學魯科版(2019)選擇性必修2
- 基于深度學習的圖像分割
- 給水管網(wǎng)改造工程施工組織設(shè)計概述
- 營業(yè)收入的預(yù)測分析報告
- 無人機工藝技術(shù)方案
- 從趙紫宸的神學思想看基督教與中國社會之關(guān)系
- 專車接送服務(wù)租賃合同
- 華為QSA審核報告
評論
0/150
提交評論