版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、In-Memory OLTP 概述面向關(guān)鍵任務(wù)的高性能平臺(tái) - 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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025農(nóng)村信用合作社聘用合同樣本
- 二零二五年度國(guó)際貨物出口合同范文:非洲新興市場(chǎng)合作項(xiàng)目
- 2025年度公廁工程承包合同書(shū)(含社區(qū)共建)3篇
- 二零二五年度公司施工隊(duì)鋼結(jié)構(gòu)工程施工合作協(xié)議3篇
- 二零二五年度全新高空橋梁施工意外事故免責(zé)責(zé)任書(shū)3篇
- 二零二五年度智能倉(cāng)儲(chǔ)物流系統(tǒng)采購(gòu)合同模板2篇
- 二零二五年度消防隊(duì)伍后勤保障服務(wù)合同3篇
- 2025年度農(nóng)村出租房租賃與農(nóng)村電子商務(wù)運(yùn)營(yíng)服務(wù)合同
- 2025年度智慧城市建設(shè)項(xiàng)目合同2篇
- 二零二五年度農(nóng)村集體土地房屋產(chǎn)權(quán)轉(zhuǎn)讓合同下載
- 2024年凈化車(chē)間工程的合同
- 2024年山東省公務(wù)員錄用考試《行測(cè)》真題及答案解析
- 122首初中文言古詩(shī)文艾賓浩斯背誦表
- 2024年時(shí)政考點(diǎn)大全(135條)
- 咳嗽的診斷與治療指南(2021版)解讀
- 機(jī)動(dòng)車(chē)駕駛員考試《科目一》試題與參考答案(2024年)
- 2024年四年級(jí)英語(yǔ)上冊(cè) Module 8 Unit 2 Sam is going to ride horse說(shuō)課稿 外研版(三起)
- 高中地理人教版(2019)必修第一冊(cè) 全冊(cè)教案
- 2024年新人教版七年級(jí)上冊(cè)地理課件 第二章 地圖 第二節(jié) 地形圖的判讀
- 2024至2030年中國(guó)汽摩配行業(yè)發(fā)展?fàn)顩r及競(jìng)爭(zhēng)格局分析報(bào)告
- 濰柴天然氣發(fā)動(dòng)機(jī)結(jié)構(gòu)及工作原理
評(píng)論
0/150
提交評(píng)論