OracleÓû§¿Õ¼äͳ¼Æ
select owner,sum(bytes)/1024/1024 sum_MB
from dba_segments
where tablespace_name='USERS' and owner like 'ZJ%'
group by owner
order by 2 desc;
SET NEWPAGE NONE HEADING OFF SPACE 0 PAGESIZE 0 TRIMOUT ON TRIMSPOOL ON LINESIZE 2500 colsep | feedback off termout off pages 0
set colsep |
alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss';
spool deltab.sql
select 'truncate table ' || tname || ' drop storage' ||';' from tab
where TNAME not in('ZJTYID_YYTID','LZW_GPRS_ALL01',
'TMP_LZW_YYTC_YXPLAN','TMP_LZW_ZGDSJ','TMP_LZW_QDSFWT',
'TB_LZW_ZGD_TMP','TB_LZW_DIC_MINGAN_TMP',
'TB_LZW_JC_BOSS_TMP','TB_LZW_JK_BOSS_TMP','TB_LZW_GQ_TMP','TB_LZW_GG_TMP',
'TB_LZW_PLAN_BILL_TMP','TB_LZW_PLAN_TMP','TB_LZW_PLAN_TMP','TB_LZW_GLB_OPEN_PLAN_TMP','TMP_LZW_QWYYTCID','TMP_LZW_QWYYTCNAME',
'TB_LZW_GPRS_ALL01','TMP_LZW_201065_2_QQTYYTCID');
spool off;
exit;
nohup sqlplus ZJLZW_S/XXXX@zjxxx @deltab.sql>deltab.log &
select owner,sum(bytes)/1024/1024 sum_mb from dba_segments where tablespace_name='USERS'
and owner like 'ZJ%' and owner='ZJLZW_S' group by owner
2010-04-13
Ïà¹ØÎĵµ£º
¸½:Oracle SQL Developer — À©Õ¹½»Á÷ÖÐÐÄ
http://www.oracle.com/technology/global/cn/products/database/sql_developer/files/extensions.htm
֮ǰ×÷Ϊһ¸öOracle Employee£¬È´×ÜÊÇÔÚʹÓÃPL/SQL Developer£¨¶øÇÒÊÇÆƽâ°æ£©£¬ÕâʵÔÚÓÐЩ˵²»¹ýÈ¥£¬µ«ÊÇÈçºÎÕÒµ½Ò»¸öºÏÐijÃÊÖµÄÄܹ»Ô ......
ÍüÁËOracleµÄsysÓû§ºÍMySQLµÄrootÓû§ÃÜÂ룬½â¾ö·½·¨
2007Äê03ÔÂ16ÈÕ ÐÇÆÚÎå 09:44
×÷Õߣºhexiong¡¡
°æȨÉùÃ÷£º¿ÉÒÔÈÎÒâתÔØ£¬×ªÔØʱÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂÔʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷¡£
http://hi.baidu.com/hexiong/blog/item/b4acd72a85272d2cd42af1b1.html
¾³£Åöµ½ÓÐÈËÔÚÂÛ̳ÉÏÎÊÕâ¸öÎÊÌ⣬¸É´àÔÚÕâÀï×ܽáÒ ......
¾ßÌå²½Öè¾Í²»¶à˵ÁË £¬Òªµ¼³öµÄSQLSERVER±í½Ð LDJCUS£¬Ö÷¼ü Uid (int ×Ô¶¯Ôö³¤ÁÐ)£¬µ¼Èëµ½Oracle×ܱ¨´í£º¶ÔÏóÃûÎÞЧ £¬È¥µôÖ÷¼üÁоͿÉÒÔ£¬²»ÖªµÀΪʲô£¿ÄѵÀ×Ô¶¯Ôö³¤µÄÖ÷¼üÁоͲ»Äܵ¼Èëµ½OracleÖУ¿£¿£¿Òɻ󡣡£¡£¡£ ......
oracleµÄlicenseºÍÕý°æʹÓÃÎÊÌâ
url:http://blog.csdn.net/outget1/archive/2009/10/15/4675028.aspx
2008-06-30 23:42
1, Õý°æOracle ²úÆ·ºÍµÁ°æµÄÇø±ð
Ö±±¼Ö÷Ì⣬ÕâÊÇÐí¶àÑз¢²»×¢ÒâµÄµØ·½¡£¶ÔÓÚÉÌÓ㨾ÍÊÇÄã²»ÊÇÔÚ¼ÒÀ×Ô¼ºÍ棩£¬ÑϸñÀ´Ëµ£¬¾ÍÊÇÒ»ÕÅÐí¿ÉÖ¤Ö½µÄÇø±ð¡£²»¹ÜÊÇʲôʱºò£¬ÏÂÔصİ汾¶¼¿ÉÒÔ½¨Á¢Êý¾Ý¿â²¢ ......