摘要:
1.嵌套循环访问的次数SYS@ PROD>create table t1( id number not null, n number, contents varchar2(4000) );SYS@ PROD>create table t2( id number not null, t1_id num 阅读全文
摘要:
分区表分为:范围分区(partition by range),列表分区(partition by list),HASH分区(partition by hash) 有多少个分区就有多少个segment 其实HASH分区最大的好处在于,将数据根据一定的HASH算法,均匀分布到不同的分区中去,避免查询数据 阅读全文
摘要:
1.观察不同用户在不同临时表空间的分配情况select temporary_tablespace,count(*) from dba_users group by temporary_tablespace;2.切换指定用户和所有用户到指定临时表空间alter user system temporar 阅读全文