摘要:
1.查询所有的普通表的大小,并按照大小倒叙排序; select segment_name,bytes/1024/1024/1024 "Gb" from dba_segments where owner='xxx' and segment_type='TABLE' order by 2 ; 2. 查詢 阅读全文
摘要:
1.增加一个新的主键字段,自增,非空 alter table FLEX_MACHINE_PARRECORD add column id int not null AUTO_INCREMENT primary key first; 2.查看线程占用的内存。 select m.thread_id tid 阅读全文