惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
T
Threatpost
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - Franky
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
S
Security Affairs
P
Proofpoint News Feed
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
S
Security @ Cisco Blogs
H
Hacker News: Front Page
Security Archives - TechRepublic
Security Archives - TechRepublic
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
Know Your Adversary
Know Your Adversary
Y
Y Combinator Blog
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
月光博客
月光博客
量子位
博客园_首页
The Last Watchdog
The Last Watchdog
D
DataBreaches.Net
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
The Register - Security
The Register - Security
Schneier on Security
Schneier on Security
H
Help Net Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
aimingoo的专栏
aimingoo的专栏
S
Schneier on Security
L
Lohrmann on Cybersecurity
S
Secure Thoughts
Stack Overflow Blog
Stack Overflow Blog
Cloudbric
Cloudbric
Microsoft Security Blog
Microsoft Security Blog

博客园 - treasurelife

java可以开发电脑桌面应用吗?java开发用什么软件? Word、execl及PPT文档中如何插入windows图标(转) windows系统自带图标文件存储方式、存放位置及使用方法全解析(转) 网络类型IPv4和IPv6什么意思?区别? 2:文档编辑生成目录相关方法说明 TCP与UDP的区别 vs 2012 InstallShield Limited Edition Project 打包windows服务解析 百科编辑器ueditor应用笔记 百度编辑器Ueditor 初始化加载内容失败解决办法 .Net 中的序列化与反序列化 (转) VS.Net中程序集的Debug版本和Release版本的区别(转) .NET中IDisposable接口的基本使用 (转) ADO.NET事物 string 是引用类型还是值类型(转) 索引(转) 深入了解SQLServer系统数据库工作原理(转) - treasurelife - 博客园 什么是 CLR(转) 数据完整性 SQLServer数据库安全管理机制详解
聚集索引和非聚集索引
treasurelife · 2009-01-14 · via 博客园 - treasurelife

 如果每一条数据都是“随机”存放的,那么它所在的磁盘块号和块内位置以及键值被记录到索引树中。查询首先在索引树中查找到记录,此时只能得到键值,然后再对应去“随机”存储区域取出完整的记录。       
  而聚集索引是将每一条数据整个放入索引树中,省去上述最后的一步。
 
聚集索引的表的数据块仍然是B+(或者类似的索引树)结构的,可以说数据表就是索引表的继承,相当于在索引表上同时保存完整的数据。而普通索引是将数据表与键值索引表分离成两个的。因此修改记录与修改普通索引无异。实际上,不论是什么情况下,都不会对数据记录“顺序”排放。数据记录要么随机插入一个有空余空间的磁盘快然后将键记录在索引树上,要么整个数据记录也与键一同记录在索引树上,不存在独立的顺序数据文件。