際際滷

際際滷Share a Scribd company logo
In memory OLTP
In memory OLTP
In memory OLTP
 Hekaton? In-Memory? In-Memory OLTP?
 Memory-optimized OLTP engine
 RDBMS + In-Memory = Hybrid
 High Level Architecture
In memory OLTP
NEW function
 In-memory Table
 Natively Compiled Procedure
 Hash Index
 NON CLUSTERED Hash Index
 Hekaton ?
 DBCC PINTABLE螻 る
 覿覿 蠍一ヾ 貎朱Μ襯 蠏碁襦  螳
 But! 朱  覃, Native Compiled Procedure 曙  襷
 覃 企 一危郁 
 But! 旧 伎, 一危磯ゼ 覲伎ヾ   
 HASH INDEX螳 覓伎^蟇 譬讌 
 覯 蟆  覈 螳讌 蟆
In memory OLTP
TDS Handler and Session Management
Memory Optimized Table Filegroup Transaction Log Data Filegroup
Natively Compiled
SP & schema
In-Memory
Compiler T-SQL Query Execution
Buffer Pool for Tables & Indexes
Parser
Catalog
Optimizer
Memory Optimized Table & Indexes
ROW HEADER Payload (貉)
Start
Time Stamp
End
Time Stamp
Statement ID
Index Link
Count
8 bytes 8 bytes 4 bytes 2 bytes 8 bytes * 碁煙 螳
.
Data Search
SELECT * FROM DBNull
WHERE NAME = 譯狩蟠
Get keys Index bucket
B = H(譯狩蟠) % (BUCKET_COUNT-1)
Exists a row(Pointer)
at Bucket B?
Row key=譯狩蟠
and End Timestamp
= 
Do this row points
to another row?
Row not Found
Return Row
Y
N
Y
N
N
Y
0
1
2
3
4
5
6
7
Index Key 1
Index Key 2
Hash
function
Start
Tstm
End
Tstm
Pointer Data 1 Data 2 Data 3
Start
Tstm
End
Tstm
Pointer Data 1 Data 2 Data 3
Start
Tstm
End
Tstm
Pointer Data 1 Data 2 Data 3
Start
Tstm
End
Tstm
Pointer Data 1 Data 2 Data 3
Start
Tstm
End
Tstm
Pointer Data 1 Data 2 Data 3
0
1
2
3
4
5
6
7
Index Key 1
Hash
function
30  Pointer 譯狩蟠 DBA 
Start Time Stamp End Time Stamp Pointer Name JOB SEX
Hash Index
Name
50  Pointer 譯狩蟠 螳覦
0
1
2
3
4
5
6
7
Index Key 1
Hash
function
30  Pointer 譯狩蟠 DBA 
Start Time Stamp End Time Stamp Pointer Name JOB SEX
Hash Index
Name
50  Pointer 譯狩蟠 螳覦 
100 270 Pointer 伎轟 DBA
0
1
2
3
4
5
6
7
Index Key 1
Hash
function
30  Pointer 譯狩蟠 DBA 
Start Time Stamp End Time Stamp Pointer Name JOB SEX
Hash Index
Name
50  Pointer 譯狩蟠 螳覦 
100 270 Pointer 伎轟 DBA 
100  Pointer 伎轟 DBA
Hash Collision
0
1
2
3
4
5
6
7
Index Key 1
Hash
function
30  Pointer 譯狩蟠 DBA 
Start Time Stamp End Time Stamp Pointer Name JOB SEX
Hash Index
Name
200  Pointer 蟠 DBA
Garbage collection
0
1
2
3
4
5
6
7
Index Key 1
Hash
function
30  Pointer 譯狩蟠 DBA 
Start Time Stamp End Time Stamp Pointer Name JOB SEX
Hash Index
Name
50  Pointer 譯狩蟠 螳覦 
100 270 Pointer 伎轟 DBA 
100  Pointer 伎轟 DBA
In memory OLTP
File Architecture
 File
 Checkpoint File (Data File / Delta File 譟伎)
 Filestream
 谿 蠍磯
 覲旧 
 Transaction Log File
 Commit transaction襷 蠍磯(Disk Table螻 る)
 Disk Table覲企   
 Disk Table螻 螳 螻褐
Check point
Offline Checkpoint Thread
Memory-optimized Table Filegroup
Range 100~200 Range 200~300 Range 300~400 Range 400~500 Range 500~
Delete 150 TS Delete 250 TS Insert New Row
Memory-optimized Table Filegroup Memory-optimized Table Filegroup
Memory-optimized Table Filegroup Memory-optimized Table Filegroup
Memory-optimized Table Filegroup Memory-optimized Table Filegroup
In memory OLTP
DEMO
DEMO
In memory OLTP
In memory OLTP
Ad

Recommended

SQL Track: In Memory OLTP in SQL Server
SQL Track: In Memory OLTP in SQL Server
ITProceed
SQL 2014 In-Memory OLTP
SQL 2014 In-Memory OLTP
Amber Keyse
ORM 襷危 磯Μ
ORM 襷危 磯Μ
in-memory database system and low latency
in-memory database system and low latency
hyeongchae lee
Oracle CBO Fundamental
Oracle CBO Fundamental
JAEGEUN YU
MySQL Advanced Administrator 2021 - れろ企覦
MySQL Advanced Administrator 2021 - れろ企覦
NeoClova
SQL 貎朱Μ襯 AWS DynamoDB (CLI)襦 覲手?
SQL 貎朱Μ襯 AWS DynamoDB (CLI)襦 覲手?
PyungHo Yoon
[2A2]Vectorized_processing_in_a_Nutshell
[2A2]Vectorized_processing_in_a_Nutshell
NAVER D2
PostgreSQL 9.6 蠍磯 螳
PostgreSQL 9.6 蠍磯 螳
PgDay.Seoul
NoSQL Database
NoSQL Database
Steve Min
Oracle NoSQL
Oracle NoSQL
Oracle Korea
MySQL 5.7 NF JSON Datatype
MySQL 5.7 NF JSON Datatype
I Goo Lee
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
Amazon Web Services Korea
Performance schema れ
Performance schema れ
EXEM
MySQL Create Table
MySQL Create Table
Hoyoung Jung
[AWS summit 2019] 襷危襦 觜 一危 覯伎
[AWS summit 2019] 襷危襦 觜 一危 覯伎
KyungHo Joo
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Chicago Hadoop Users Group
[SSA] 04.sql on hadoop(2014.02.05)
[SSA] 04.sql on hadoop(2014.02.05)
Steve Min
[螳襴] DB: Indexing螻 Hashing
[螳襴] DB: Indexing螻 Hashing
Kwangsik Lee
Musings on Secondary Indexing in HBase
Musings on Secondary Indexing in HBase
Jesse Yates
My sql cluster case study apr16
My sql cluster case study apr16
Sumi Ryu
What is persistence in java
What is persistence in java
Benjamin Kim
SQL Explore 2012: P&T Part 2
SQL Explore 2012: P&T Part 2
sqlserver.co.il
Apache Phoenix: Transforming HBase into a SQL Database
Apache Phoenix: Transforming HBase into a SQL Database
DataWorks Summit
Dbms
Dbms
philipsinter
InnoDB MVCC Architecture (by 蟠蟇伎)
InnoDB MVCC Architecture (by 蟠蟇伎)
I Goo Lee.
Thug feb 23 2015 Chen Zhang
Thug feb 23 2015 Chen Zhang
Chen Zhang
In memory databases presentation
In memory databases presentation
Michael Keane
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software

More Related Content

Similar to In memory OLTP (20)

PostgreSQL 9.6 蠍磯 螳
PostgreSQL 9.6 蠍磯 螳
PgDay.Seoul
NoSQL Database
NoSQL Database
Steve Min
Oracle NoSQL
Oracle NoSQL
Oracle Korea
MySQL 5.7 NF JSON Datatype
MySQL 5.7 NF JSON Datatype
I Goo Lee
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
Amazon Web Services Korea
Performance schema れ
Performance schema れ
EXEM
MySQL Create Table
MySQL Create Table
Hoyoung Jung
[AWS summit 2019] 襷危襦 觜 一危 覯伎
[AWS summit 2019] 襷危襦 觜 一危 覯伎
KyungHo Joo
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Chicago Hadoop Users Group
[SSA] 04.sql on hadoop(2014.02.05)
[SSA] 04.sql on hadoop(2014.02.05)
Steve Min
[螳襴] DB: Indexing螻 Hashing
[螳襴] DB: Indexing螻 Hashing
Kwangsik Lee
Musings on Secondary Indexing in HBase
Musings on Secondary Indexing in HBase
Jesse Yates
My sql cluster case study apr16
My sql cluster case study apr16
Sumi Ryu
What is persistence in java
What is persistence in java
Benjamin Kim
SQL Explore 2012: P&T Part 2
SQL Explore 2012: P&T Part 2
sqlserver.co.il
Apache Phoenix: Transforming HBase into a SQL Database
Apache Phoenix: Transforming HBase into a SQL Database
DataWorks Summit
Dbms
Dbms
philipsinter
InnoDB MVCC Architecture (by 蟠蟇伎)
InnoDB MVCC Architecture (by 蟠蟇伎)
I Goo Lee.
Thug feb 23 2015 Chen Zhang
Thug feb 23 2015 Chen Zhang
Chen Zhang
In memory databases presentation
In memory databases presentation
Michael Keane
PostgreSQL 9.6 蠍磯 螳
PostgreSQL 9.6 蠍磯 螳
PgDay.Seoul
NoSQL Database
NoSQL Database
Steve Min
MySQL 5.7 NF JSON Datatype
MySQL 5.7 NF JSON Datatype
I Goo Lee
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
讌 焔リ骸 レ 覲伎ロ 襷危襦 觜 一危磯伎 蟲蠍 - 蟾 螳覦企, AWS / 譯手化, 襦一覲危旧 :: ...
Amazon Web Services Korea
Performance schema れ
Performance schema れ
EXEM
MySQL Create Table
MySQL Create Table
Hoyoung Jung
[AWS summit 2019] 襷危襦 觜 一危 覯伎
[AWS summit 2019] 襷危襦 觜 一危 覯伎
KyungHo Joo
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Using HBase Co-Processors to Build a Distributed, Transactional RDBMS - Splic...
Chicago Hadoop Users Group
[SSA] 04.sql on hadoop(2014.02.05)
[SSA] 04.sql on hadoop(2014.02.05)
Steve Min
[螳襴] DB: Indexing螻 Hashing
[螳襴] DB: Indexing螻 Hashing
Kwangsik Lee
Musings on Secondary Indexing in HBase
Musings on Secondary Indexing in HBase
Jesse Yates
My sql cluster case study apr16
My sql cluster case study apr16
Sumi Ryu
What is persistence in java
What is persistence in java
Benjamin Kim
SQL Explore 2012: P&T Part 2
SQL Explore 2012: P&T Part 2
sqlserver.co.il
Apache Phoenix: Transforming HBase into a SQL Database
Apache Phoenix: Transforming HBase into a SQL Database
DataWorks Summit
InnoDB MVCC Architecture (by 蟠蟇伎)
InnoDB MVCC Architecture (by 蟠蟇伎)
I Goo Lee.
Thug feb 23 2015 Chen Zhang
Thug feb 23 2015 Chen Zhang
Chen Zhang
In memory databases presentation
In memory databases presentation
Michael Keane

Recently uploaded (20)

Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
Ad

In memory OLTP

  • 4. Hekaton? In-Memory? In-Memory OLTP? Memory-optimized OLTP engine RDBMS + In-Memory = Hybrid High Level Architecture
  • 6. NEW function In-memory Table Natively Compiled Procedure Hash Index NON CLUSTERED Hash Index
  • 7. Hekaton ? DBCC PINTABLE螻 る 覿覿 蠍一ヾ 貎朱Μ襯 蠏碁襦 螳 But! 朱 覃, Native Compiled Procedure 曙 襷 覃 企 一危郁 But! 旧 伎, 一危磯ゼ 覲伎ヾ HASH INDEX螳 覓伎^蟇 譬讌 覯 蟆 覈 螳讌 蟆
  • 9. TDS Handler and Session Management Memory Optimized Table Filegroup Transaction Log Data Filegroup Natively Compiled SP & schema In-Memory Compiler T-SQL Query Execution Buffer Pool for Tables & Indexes Parser Catalog Optimizer Memory Optimized Table & Indexes
  • 10. ROW HEADER Payload (貉) Start Time Stamp End Time Stamp Statement ID Index Link Count 8 bytes 8 bytes 4 bytes 2 bytes 8 bytes * 碁煙 螳 .
  • 11. Data Search SELECT * FROM DBNull WHERE NAME = 譯狩蟠 Get keys Index bucket B = H(譯狩蟠) % (BUCKET_COUNT-1) Exists a row(Pointer) at Bucket B? Row key=譯狩蟠 and End Timestamp = Do this row points to another row? Row not Found Return Row Y N Y N N Y
  • 12. 0 1 2 3 4 5 6 7 Index Key 1 Index Key 2 Hash function Start Tstm End Tstm Pointer Data 1 Data 2 Data 3 Start Tstm End Tstm Pointer Data 1 Data 2 Data 3 Start Tstm End Tstm Pointer Data 1 Data 2 Data 3 Start Tstm End Tstm Pointer Data 1 Data 2 Data 3 Start Tstm End Tstm Pointer Data 1 Data 2 Data 3
  • 13. 0 1 2 3 4 5 6 7 Index Key 1 Hash function 30 Pointer 譯狩蟠 DBA Start Time Stamp End Time Stamp Pointer Name JOB SEX Hash Index Name 50 Pointer 譯狩蟠 螳覦
  • 14. 0 1 2 3 4 5 6 7 Index Key 1 Hash function 30 Pointer 譯狩蟠 DBA Start Time Stamp End Time Stamp Pointer Name JOB SEX Hash Index Name 50 Pointer 譯狩蟠 螳覦 100 270 Pointer 伎轟 DBA
  • 15. 0 1 2 3 4 5 6 7 Index Key 1 Hash function 30 Pointer 譯狩蟠 DBA Start Time Stamp End Time Stamp Pointer Name JOB SEX Hash Index Name 50 Pointer 譯狩蟠 螳覦 100 270 Pointer 伎轟 DBA 100 Pointer 伎轟 DBA
  • 16. Hash Collision 0 1 2 3 4 5 6 7 Index Key 1 Hash function 30 Pointer 譯狩蟠 DBA Start Time Stamp End Time Stamp Pointer Name JOB SEX Hash Index Name 200 Pointer 蟠 DBA
  • 17. Garbage collection 0 1 2 3 4 5 6 7 Index Key 1 Hash function 30 Pointer 譯狩蟠 DBA Start Time Stamp End Time Stamp Pointer Name JOB SEX Hash Index Name 50 Pointer 譯狩蟠 螳覦 100 270 Pointer 伎轟 DBA 100 Pointer 伎轟 DBA
  • 19. File Architecture File Checkpoint File (Data File / Delta File 譟伎) Filestream 谿 蠍磯 覲旧 Transaction Log File Commit transaction襷 蠍磯(Disk Table螻 る) Disk Table覲企 Disk Table螻 螳 螻褐
  • 20. Check point Offline Checkpoint Thread Memory-optimized Table Filegroup Range 100~200 Range 200~300 Range 300~400 Range 400~500 Range 500~ Delete 150 TS Delete 250 TS Insert New Row
  • 21. Memory-optimized Table Filegroup Memory-optimized Table Filegroup Memory-optimized Table Filegroup Memory-optimized Table Filegroup Memory-optimized Table Filegroup Memory-optimized Table Filegroup

Editor's Notes

  • #5: LUDICROUS = 襷 Hekaton 蠏碁Μれ伎朱 100企朱 . SQL Server 焔レ 100覦 伎 伎襴蟆る 詞 企蟆 讌 蟆企手 . 覈螳讌 襭 in-memory DB襯 RDBMS In-Memory襯 牛 企襴 DB手 . In-memory 一危磯伎る 螻焔 ろ豌襯 螻牛.
  • #6: 4螳讌 襦蟇伎 燕. 豕 覃覈襴 覃覈襴 螳蟆 渚 磯殊 豕 覃覈襴 蠍一 危 觜 給. T-SQL 襾語 貊 企(In-memory 企)螻 SP(Netive SP)襯 貉危朱, 貉危殊 一企 焔レ 覲伎譴. 螻 企 蟲譟一 覲蟆曙 磯ジ 豺 LOCK 伎給. SQL Server 牛 蠍一ヾ SQL Server ろ豌襯 覲蟆渚 蟆 in-memory 蠍一 牛給. , 磯 覲蟆 覦 襷願係伎 蠍一ヾ 蠍磯レ 覿覿 螳 .
  • #7: SQL Server 2014襦 伎る伎 螳讌 蠍磯レ 蟆朱, 譯殊 蠍磯レ in-memory. in-memory Table 覃覈襴 襴 企襦 一企 所鍵 焔レ 覲伎ロ. 旧 磯殊 企 覦煙 狩朱 襷り碓, 觜煙 讌煙朱 襷り碓 給. Natively Compiled Procedure 襦 貉危朱 貉危殊 螳ロ 覃覈襴 企 豕 襦 . れ危磯 貉危朱 襦 れ ろ豌 覿覿 豢螳朱 る. Hash Index 伎 碁煙る In-memory OLTP 蠍 螳 碁煙れ. 碁煙る 蠍一ヾ 碁煙るり骸 るゴ蟆 B-tree 蟲譟郁 . 蟲譟磯 蠍一ヾ 碁煙 ろ豌 るゴ覩襦, 豌 蟆 危危蠍 給. Nonclustered hash index 朱 伎碁煙る 覯 蟆 讌 覈詩. , 碁覈襴 企 覯蟆 伎 襷れ伎 碁煙 . 蠍一ヾ nonclustered index 觜訣 ろ豌襯 螳讌螻 給.
  • #8: DBCC PINTABLE企朱 蠍磯レ 2005覯蟾讌 , 蠏 蠍磯リ骸襯 る. 願 覃覈襴 企 襴 蟆 螳讌襷, ろ豌螳 る. IN MEMORY蠍一 伎襦 ロ讌 蠍 覓語 願 壱 るジ 蟆 . 企 蟲譟磯覓語 lock/latch螳 覦. SQL Server襯 , SCHEMA_AND_DATA 旧 覃, 一危郁 覲伎ヾ. 旧 企 譴狩. Filestream 伎, 覃覈襴 一危磯ゼ ろ 蠍磯. DML 蟆曙一 ろ 企螻 狩蟆 碁 襦蠏誤殊 蠍磯蠍 覓語 覯襯 覿企 一危郁 る讌 給. Hash Index螳 覓伎^蟇 企旧 . = 蟆襷 焔レ 覲伎ロ覃, 襷給. 覓伎^蟇 覈 襭企手 蠍一 覓企Μ螳 給.
  • #10: In-memory OLPT ろ豌螳 豢螳覃伎 襦蟆 碁 覿覿 豢螳給. 讌襷 蠍一ヾ ろ豌 覲蟆暑 覿覿 朱, 襦蟆 豢螳襷 給. 企蟆 朱 蠍一ヾ 貎朱Μ襯 覿覿 蠏碁襦 螳ロ覃, 蟆 覲蟆渚讌 . 蠍一 覲企, 碁覈襴 企 碁 襦蠏誤殊 蠍磯り れ , 覲企 磯 碁覈襴 碁 襦蠏誤殊 ロ 螻褐 給. 讀, 碁 襦蠏誤殊 Disk 企螻 螳 螻褐 . 伎 豺,LOCK 企 蟲譟磯ゼ 覲蟆渚覃伎 蟇壱朱, ろ 焔レ 磯殊 碁 襦蠏碁ゼ レ 焔レ 譬讌 覈詩 覩 . 蠍一 るジ れ螻 螳 覿覿 給. 覃覈襴 企 語 覦覯 豐 3螳讌 . ad-hoc Ad-hoc朱 in-memory 企 access 覦覯 蠍一ヾ螻 蟆 るゴ讌 給. , 蠍一ヾ T-SQL覓語 覿覿 螳 . 朱 SP 朱 SP ad-hoc螻 襷谿螳讌襦 曙 朱, 蠍一ヾ T-SQL 蠏碁襦 螳 . 2螳讌 覦覯 伎, access 蟆 Query Interop企手 . 願 伎 語伎(?)企手 . 襷 蠍一ヾ 襦語るゼ 伎 碁覈襴 企 access 蠏碁蟆 覿襯企 蟆朱 覲伎. 3. れ危磯 襦 襷讌襷朱 2螳讌 るゴ蟆 NSP襯 蟆 . NSP れ Memory企襷 語 螳 . 襦 蠍一ヾ 襦螳 ろ 貉危 る, 蟆 讀 れ危磯 貊襦 貉危 . る 願 曙 襷れ 襷朱襦, 伎 .
  • #11: 一 一危 蟲譟磯ゼ 覲企 row 企 企 覿覿朱 . 蠍一ヾ Disk 企 蟲譟郁 8kb讌襴 伎 螻, 蠍一ヾ 蟆曙 8kb 伎 谿螻′姶螻 企襦 蟲譟一給. 願れ 讀, ->伎->旧ろ語給. 伎 一危郁 覈 谿覃, れ 伎 ロ螻, 螻伎 り 覦伎給. 讌襷 覃覈襴 企 伎 旧ろ瑚 譟伎讌 給. 覃覈襴 企 襴曙(?)朱 覃覈襴 る螻 給. 螻 企ゼ 郁屋, 願 郁り 覦覯 碁煙り 給. れ 企 覿覿 誤 覲企, ろ螳 給. 願 企朱 襷 れ願 覈 螳 磯ジ 螳朱 谿螳, 企 讀螳 螳. ろ Statement ID襯 ロ 螻糾螻 碁煙れ 螳襯 ロ 2byte讌襴 螻糾 譟伎. 朱 8byte讌襴 碁煙 螳襷 讀螳 螳 覲伎企 企 碁煙 螳襷 讀螳. 碁煙り 3螳朱 蠏 螳 8*3 = 24bytes .
  • #12: れ朱 碁覈襴 企 一危 豺 螻殊. 豌 SELECT 貎朱Μ襯 ろ 碁煙るゼ 襦 伎 伎, 覯血 key襯 螳語 れ朱 願 企 り 覯血 讌 豌危 螳 N企, row 朱襦, 螳 り . 螳 Y企, row れ 谿剰鍵 願. Rowり 譯狩蟠企伎 end time stamp螳 覓危朱 蟆 讌 谿場給. 螳 Y企, row 襷讌襷 row企襦, 螳 . 螳 N企, 覓危螳 蟾讌 谿場給. 襷讌襷朱 企 るジ row螳 誤一 譟伎讌 谿場企, 願 磯 覦覲旧企 覃 蟆郁骸 螳 殊.
  • #13: 覲 蟲譟磯ゼ れ り 螳, 企 れ豌 . 蟲譟磯 伎 碁煙り 蟇碁れ 企 蟆 . 覲伎覃 誤磯ゼ 伎, 螳 郁屋 蟆 覲 給. , 碁覈襴 企 豌伎瑚規譟一 企企手 給. 一危磯ゼ 蟆 覲伎 碁煙 るゼ 伎, 伎襯 覿 伎覯血企朱 誤 Array 觜蟲, 螳 谿場給. 伎 覯血 谿場螳蠍 企手 螳 給. 蠍一 碁覈襴 企 碁煙り 煙 覿螳 伎螳 蠍一 給. 襷曙 碁煙 企 燕る, 蠏 豌 螳 谿場 覈詩, 一危一 谿場 覈詩 蟆 .
  • #14: 襷 語 蟆曙 れ螻 螳 螻殊 蟇一工. 蠍一 襾殊 Name 伎 碁煙り 蟇碁 り 螳 . 一危 語 覈轟 伎 企 l 伎 伎覯血 覯碁ゼ 覦 襷 覯血 觜伎朱, insert 譯殊襯 企 覯血 l給. 蠍一 譯殊 蟆 覯血 覿 谿場 蟆曙一碁, 願 hash collision企手 覃, 覿覿 る .
  • #15: Delete 蟆曙 覿 る 覦れ end time stamp 覓危襯 讌郁, ろ襯 谿給.
  • #16: Update 蟆曙 覃貉る讀 Disk 企螻 る. 蠍磯蓋朱 碁覈襴 企 update朱 螳 給. 蠏碁る 一危碁ゼ 企至 讌 蟾? 一危碁 襯 れ 螳 曙 蠏瑚 誤磯 郁屋. 豺 螻殊 覲伎 碁覈襴 牛磯伎 谿場 覓危 螳 蟾讌 誤磯ゼ 螻 螳. 願 update螳 殊企 蟆 豺蠍 伎 .
  • #17: insert 襷 蟆 豌 襷 伎 覯血 覈 谿る, 襷れ広 覯血 讌 給. , 碁覈襴 企 谿豈朱 蠍一ヾ 郁屋 覯穴 れ螳 誤磯 郁屋. り る, 郁屋朱 焔レ 讌 レ 覩語工. 蠏碁, MSDN 覯 豺伎危磯ゼ ′朱手 螳覃, 朱朱 螳 2~3覦磯ゼ 讌手 螳譟壱. 蠍一 覯血拘危郁 覓 伎螳 螳 螳 覦蟆 蟆 hash collision企手 . 願 覓 襷讌覃 覿 蟇一 誤磯ゼ 谿場 螻 谿場 覩襦, 焔レ 螳 覦 .
  • #18: Garbage Collection 蠍一ヾ update 蟇磯 delete 一危磯ゼ 襴 . 覲伎 update 蟆 讌郁 煙 螻殊 蟆 . , 豌伎語 蠍瑚 郁屋 朱襦, 企 覿蟆 誤磯ゼ 襷 蟇一 螳誤 覩誤. 企 螻殊 豕 譴願鍵 伎 Garbage Collection企朱 牛 覿 讌磯 .
  • #20: Check point - Data File (Insert 蠍磯)螻 Delta (Delete 蠍磯)朱 蟲焔. - ろ 蠍一朱 殊 ロ. - Data 殊 伎 覯 覃覈襴螳 16GB豐螻朱 128MB 襦 焔覃, 16GB 危覃 16MB襦 焔. Transaction Log File - 碁 襦蠏語 Insert/Update/Delete 伎 蠍磯. - 襦蠏碁 Commit 蠍磯蠍 覓語 , rollback 一危郁 蠍磯讌 給. - れ螳朱 disk 蠍磯蠍一 memory 焔レ 磯手蠍 伎 I/O螳 蠍磯蓋朱 譬 SSD襯 蠍 蟠 . - 蠍一ヾ Lock 企 Latch煙 覲覈 讌襷, 碁 襦蠏 殊 磯 螻殊 覦 給.
  • #21: Data 手骸 Delta 殊 誤語企, Offline CheckPoint朱 覦炎係殊企 磯 伎 豈讌. Offline checkpoint filestream 伎 讌朱 覦炎係殊企 .
  • #22: Merge delete 襷 殊企 蟆曙 覿蟆 螻糾 谿讌 蟆 伎蠍 譟伎 . 殊 譴 伎 delete 螳 覦, Delta 殊 螻糾 襷れ 襷讌覃, 伎 . Merge Online 覦炎係殊企 . ろ襴讌 螻糾 覲企覃伎 覲旧 レ 蠍磯 給. Merge 螻 1. Delete螳 襷 郁屋 Checkpoint 2. 襦 Checkpount 殊 delete 伎 誤 Dataa朱れ 伎 襦 豌危誤 朱 覲旧 3. 蠍一ヾ 豌危誤 殊