08 2018 档案

摘要:行链接 产生原因:当一行数据大于一个数据块,ORACLE会同时分配两个数据块,并在第一个块上登记第二个块的地址,从而形成行链接。 预防方法:针对表空间扩大数据块大小。检查:analyze table 表名 validate structure cascade into chained_rows; P 阅读全文
posted @ 2018-08-27 15:37 翰墨文海 阅读(489) 评论(0) 推荐(0) 编辑
摘要:网络上很多谣言是后面跟小表用not in,后面跟大表用not exists,难道真的是这样子的嘛? 情况下面测试: 1、先用小表测试(1000条记录和一张8万条记录的表): SQL> create table not_in_s as select * from dba_objects where o 阅读全文
posted @ 2018-08-22 11:25 翰墨文海 阅读(837) 评论(0) 推荐(0) 编辑
摘要:1、innodb存储引擎的增强 A:Online alter table以及索引 alter table t rename index t_idx to t_newidx; Varchar列的大小在线调整的方法: Alter table t1 algorithm=inplace,change col 阅读全文
posted @ 2018-08-20 15:36 翰墨文海 阅读(1813) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示