




版權(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至2030年中國(guó)樟腦粉市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)HIPS市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025-2035年全球及中國(guó)紡織品植入物行業(yè)市場(chǎng)發(fā)展現(xiàn)狀及發(fā)展前景研究報(bào)告
- 2025年壓縮天然氣合作協(xié)議書(shū)
- 2025年挖掘機(jī)司機(jī)(建筑特殊工種)模擬考試100題及答案
- 2025年重水試驗(yàn)反應(yīng)堆及其配套產(chǎn)品項(xiàng)目建議書(shū)
- 膽囊切除術(shù)后護(hù)理教案
- 漁業(yè)機(jī)械批發(fā)企業(yè)數(shù)字化轉(zhuǎn)型與智慧升級(jí)戰(zhàn)略研究報(bào)告
- 證券登記、結(jié)算機(jī)構(gòu)企業(yè)數(shù)字化轉(zhuǎn)型與智慧升級(jí)戰(zhàn)略研究報(bào)告
- 2025年六氟磷酸鋰項(xiàng)目建議書(shū)
- 2025年安徽工業(yè)經(jīng)濟(jì)職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)技能測(cè)試題庫(kù)及答案參考
- 2025年安慶醫(yī)藥高等專(zhuān)科學(xué)校單招職業(yè)適應(yīng)性考試題庫(kù)附答案
- 4.1 人要有自信(課件)-2024-2025學(xué)年道德與法治七年級(jí)下冊(cè) (統(tǒng)編版2024)
- 2025春季開(kāi)學(xué)第一課安全教育班會(huì)課件-
- 生物節(jié)律調(diào)節(jié)課件
- 不分手承諾書(shū)(2025版)戀愛(ài)忠誠(chéng)協(xié)議
- 2020-2025年中國(guó)國(guó)有控股公司行業(yè)發(fā)展趨勢(shì)及投資前景預(yù)測(cè)報(bào)告
- 病區(qū)8S管理成果匯報(bào)
- 2025年人教版七年級(jí)歷史下冊(cè)階段測(cè)試試卷含答案
- 林下經(jīng)濟(jì)中藥材種植基地建設(shè)項(xiàng)目可行性研究報(bào)告立項(xiàng)新版
- 急診預(yù)檢分診標(biāo)準(zhǔn)
評(píng)論
0/150
提交評(píng)論