|
1 以前从一些资料上看到InnoDB的索引是稀疏索引,而MyISAM的索引是密集索引,今天刻意测试了一下,发现竟然不是这样。 2 找时间研究下,mark一下先。 3 mysql> show create table uniq_idG 4 *************************** 1. row *************************** 5 Table: uniq_id 6 Create Table: CREATE TABLE `uniq_id` ( 7 `id` int(11) DEFAULT NULL, 8 KEY `id` (`id`) 9 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 10 1 row in set (0.00 sec) 11 12 mysql> show create table same_idG 13 *************************** 1. row *************************** 14 Table: same_id 15 Create Table: CREATE TABLE `same_id` ( 16 `id` int(11) DEFAULT NULL,
-
<script type="text/java script">BAIDU_CLB_fillSlot("771048");
-
点击复制链接 与好友分享!
回本站首页
<script>
function copyToClipBoard(){
var clipBoardContent=document.title + '\r\n' + document.location;
clipBoardContent+='\r\n';
window.clipboardData.setData("Text",clipBoardContent);
alert("恭喜您!复制成功");
}
<script type="text/java script" id="bdshare_js" data="type=tools&uid=12732">
<script type="text/java script" id="bdshell_js">
<script type="text/java script">
var bds_config = {'snsKey':{'tsina':'2386826374','tqq':'5e544a8fdea646c5a5f3967871346eb8'}};
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js cdnversion=" + Math.ceil(new Date()/3600000)
|