iot 表索引dump《2》
来源:互联网 发布:漆黑的特快列车 知乎 编辑:程序博客网 时间:2024/05/29 09:57
iot表测试: 在create table语句后面使用organization index,就指定数据表创建结构是IOT。但是在不指定主键Primary Key的情况下,是不允许建表的。 create table t100 (id int primary key,a1 char(10),a2 char(10))organization index; SQL> select object_name,object_id from user_objects;OBJECT_NAME OBJECT_ID-------------------------------------------------------------------------------------------------------------------------------- ----------SYS_IOT_TOP_102692 102693T100 102692begin for i in 1 .. 1000 loop insert into t100 values(i,'a'||i,'b'||i); end loop ; commit; end;BEGIN DBMS_STATS.GATHER_TABLE_STATS(ownname => 'SCAN', tabname => 'T100', estimate_percent => 100, method_opt => 'for all columns size repeat', no_invalidate => FALSE, degree => 8, cascade => TRUE);END;/ SQL> SQL> select value from v$diag_info where name='Default Trace File';VALUE--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------/u01/app/oracle/diag/rdbms/oadb/oadb/trace/oadb_ora_6139.trcSQL> alter session set events 'immediate trace name treedump level 102693';会话已更改。会话已更改。*** 2016-07-01 22:18:26.647----- begin tree dumpbranch: 0x10000eb 16777451 (0: nrow: 5, level: 1) leaf: 0x10000ec 16777452 (-1: nrow: 245 rrow: 245) leaf: 0x10000ed 16777453 (0: nrow: 242 rrow: 242) leaf: 0x10000ee 16777454 (1: nrow: 242 rrow: 242) leaf: 0x10000ef 16777455 (2: nrow: 242 rrow: 242) leaf: 0x10000f4 16777460 (3: nrow: 29 rrow: 29)----- end tree dump~ SQL> select dbms_utility.data_block_address_file(16777452) fno, dbms_utility.data_block_address_block(16777452) bkno from dual ; 2 3 FNO BKNO---------- ---------- 4 236alter system dump datafile 4 block 236;DECLARE n VARCHAR2 (2000);BEGIN DBMS_STATS.convert_raw_value ('61', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('37', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('32', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('38', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n); DBMS_STATS.convert_raw_value ('20', n); DBMS_OUTPUT.put_line (n);END;row#0[538] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 02tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 20 20 20 20 20 20 20 20 --a1col 1: [10] 62 31 20 20 20 20 20 20 20 20 --b1row#1[568] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 03tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 32 20 20 20 20 20 20 20 20 --a2col 1: [10] 62 32 20 20 20 20 20 20 20 20 --b2row#2[598] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 04tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 33 20 20 20 20 20 20 20 20 --a3col 1: [10] 62 33 20 20 20 20 20 20 20 20 --b3row#3[628] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 05tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 34 20 20 20 20 20 20 20 20 --a4col 1: [10] 62 34 20 20 20 20 20 20 20 20 --b4row#4[658] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 06tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 35 20 20 20 20 20 20 20 20 --a5col 1: [10] 62 35 20 20 20 20 20 20 20 20 --b5row#5[688] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 07tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 36 20 20 20 20 20 20 20 20 --a6col 1: [10] 62 36 20 20 20 20 20 20 20 20 --b6row#6[718] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 08tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 37 20 20 20 20 20 20 20 20 --a7col 1: [10] 62 37 20 20 20 20 20 20 20 20 --b7row#7[748] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 09tl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 38 20 20 20 20 20 20 20 20 --a8col 1: [10] 62 38 20 20 20 20 20 20 20 20 --b8row#8[778] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0atl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 39 20 20 20 20 20 20 20 20 --a9col 1: [10] 62 39 20 20 20 20 20 20 20 20 --b9row#9[808] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0btl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 30 20 20 20 20 20 20 20 --a10col 1: [10] 62 31 30 20 20 20 20 20 20 20 --b10row#10[838] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0ctl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 31 20 20 20 20 20 20 20 ---a11col 1: [10] 62 31 31 20 20 20 20 20 20 20row#11[868] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0dtl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 32 20 20 20 20 20 20 20 --a12col 1: [10] 62 31 32 20 20 20 20 20 20 20row#12[898] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0etl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 33 20 20 20 20 20 20 20col 1: [10] 62 31 33 20 20 20 20 20 20 20row#13[928] flag: K-----, lock: 0, len=30col 0; len 2; (2): c1 0ftl: 25 fb: --H-FL-- lb: 0x0 cc: 2col 0: [10] 61 31 34 20 20 20 20 20 20 20col 1: [10] 62 31 34 20 20 20 20 20 20 20
0 0
- iot 表索引dump《2》
- dump iot表
- 索引组织表(IOT)
- oracle 索引组织表IOT
- oracle 索引组织表 IOT
- 嵌套表,索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle索引组织表(IOT)
- Oracle 索引组织表(IOT)
- ORACLE创建IOT(索引组织表)
- Oracle 索引组织表(IOT)
- Oracle 索引组织表(IOT)
- Oracle dump索引组织表
- Oracle索引之索引组织表(IOT)
- Codeforces Round #360 (Div. 2) E. The Values You Can Make
- Spring MVC入门第2天--Spring、SpringMVC与MyBatis三大框架整合
- 解决sqoop java.util.NoSuchElementException
- ACM第三次练习—1010
- 为什么有人说富坚义博有着殿堂级的画功?他的画功体现在哪儿呢?
- iot 表索引dump《2》
- Ubuntu 16.04 64位 Sublime build3114 不支持搜狗输入法的解决方案
- VMware虚拟机中对ubuntu系统配置静态IP
- C++之_In_和_out_
- [Android]自定义广播之标准广播
- java框架之struts2数据类型转换(2)
- hdoj 1513 Palindrome(LCS)
- 前端构建:Less入了个门
- C# 图片缩略