CMDS目的端数据库碎片整理记录
CMDS目的端数据库碎片整理记录
SQL> select * from (
2 select a.owner,
3 a.table_name,
4 a.num_rows,
5 a.avg_row_len * a.num_rows,
6 sum(b.bytes),
7 (a.avg_row_len * a.num_rows) / sum(b.bytes) frag
8 from dba_tables a, dba_segments b
9 where a.table_name = b.segment_name
10 and a.owner= b.owner and a.owner='CMDS' and a.num_rows !=0 and a.num_rows >= 10000000
11 and a.owner not in
12 ('SYS', 'SYSTEM', 'OUTLN', 'DMSYS', 'TSMSYS', 'DBSNMP', 'WMSYS',
13 'EXFSYS', 'CTXSYS', 'XDB', 'OLAPSYS', 'ORDSYS', 'MDSYS', 'SYSMAN','PATROL')
14 group by a.owner,a.table_name,a.avg_row_len, a.num_rows
15 having a.avg_row_len * a.num_rows / sum(b.bytes) < 0.7
16 order by sum(b.bytes) desc)
17 where rownum <= 100;
OWNER TABLE_NAME NUM_ROWS A.AVG_ROW_LEN*A.NUM_ROWS SUM(B.BYTES) FRAG
------------------------------ ------------------------------ ---------- ------------------------ ------------ ----------
CMDS CONTACT_LIST 3800662127 2.4704E+11 4.0227E+11 .61
CMDS INSURED_BACKUP 2916523023 1.5458E+11 2.7488E+11 .56
CMDS CONTACT_COMB 1249703629 5.7486E+10 8.4437E+10 .68
CMDS CUST_RELATION_UPD 386995715 1.4706E+10 2.3089E+10 .64
CMDS PARTY 1235330775 1.1118E+10 2.1475E+10 .52
CMDS PSN_CUSTOMER_UPD_20160901 351127588 1.3343E+10 2.0420E+10 .65
CMDS MOBILE_1 345051414 1.1387E+10 1.6300E+10 .70
CMDS PSN_HLDR_UPD 219959628 8798385120 1.4997E+10 .59
CMDS INSURED_UPD 224986718 9224455438 1.4346E+10 .64
CMDS GRP_CUSTOMER 13639704 1473088032 5638127616 .26
CMDS APPL_STATE 57276612 3780256392 5552209920 .68
CMDS GRP_CNTR_HLDR 49157672 3096933336 4894752768 .63
CMDS PSN_CUSTOMER_DEL 66607272 3130541784 4728029184 .66
CMDS TMP_PSN_REL_1_END 182973898 2561634572 3892314112 .66
CMDS APPL_INSURED 29878010 2001826670 3116367872 .64
CMDS GRP_PARTY_RELATION 13545920 690841920 2264924160 .31
CMDS GRP_PERSON 10076783 433301669 2087714816 .21
CMDS PSN_CNTR_HOLDER_UBPS_BAK 17219039 1256989847 1857945600 .68
CMDS HTEL_ERROR_N 19520444 995542644 1677721600 .59
CMDS BACK_PERSON_REP 24107652 916090776 1326448640 .69
CMDS TEMP_PERSON_REP_3_ALLFIELDS 24020055 912762090 1326448640 .69
CMDS PID_RELATION_1 64767526 777210312 1282408448 .61
CMDS PERSON_DELETED 20662170 805824630 1210056704 .67
CMDS SUSPECT_3_0 47021762 799369954 1207959552 .66
CMDS PID_RELATION_2 53957397 647488764 1044381696 .62
CMDS TEMP_CUSTIDTOMERG_MISS_0225 12511777 412888641 751828992 .55
CMDS TEMP_PERSON_DEFAULT_1 29635442 444531630 705691648 .63
CMDS ZB_DUP_PARTY_RELATION_12_A 35121535 351215350 603979776 .58
CMDS T_CUST_INFO_1512 44795595 313569165 594542592 .53
CMDS PURVIEWINFO 12383109 383876379 571473920 .67
CMDS TEMP_PERSON_DEL 24904280 174329960 344981504 .51
CMDS TEMP_PERSON_DEL_1 24100913 168706391 335544320 .50
CMDS SUSPECT_1_0 11442724 217411756 318767104 .68
CMDS MOBILE_3 10994502 164917530 252706816 .65
CMDS TEMP_PERSON_REP 12172895 121728950 208666624 .58
CMDS TEMP_PERSON_REP_3 11103556 111035560 192937984 .58
CMDS TEMP_PERSON_REP_1 11103556 111035560 190840832 .58
CMDS TEMP_PERSON_REP_12 11099995 110999950 187695104 .59
CMDS PARTYID_DISTINCT 10882249 76175743 147849216 .52
SQL> select * from (
2 select a.owner,
3 a.table_name,
4 a.num_rows,
5 a.last_analyzed,
6 a.avg_row_len * a.num_rows,
7 sum(b.bytes),
8 ROUND((a.avg_row_len * a.num_rows) / sum(b.bytes),2) frag
9 from dba_tables a, dba_segments b
10 where a.table_name = b.segment_name
11 and a.owner='CMDS' and a.num_rows !=0 and a.num_rows >= 1000000 and a.table_name not in(select table_name from dba_tables where table_name like '%TEMP%' or a.table_name like '%BAK%' or a.table_name like '%TMP%' and owner='CMDS')
12 group by a.owner,a.table_name,a.avg_row_len, a.num_rows,a.last_analyzed
13 having a.avg_row_len * a.num_rows / sum(b.bytes) <= 0.7
14 order by a.table_name,sum(b.bytes) desc)
15 where rownum <= 100;
OWNER TABLE_NAME NUM_ROWS LAST_ANAL A.AVG_ROW_LEN*A.NUM_ROWS SUM(B.BYTES) FRAG
------------------------------ ------------------------------ ---------- --------- ------------------------ ------------ ----------
CMDS APPL_BNFR 1656401 23-JAN-17 159014496 821035008 .19
CMDS APPL_INSURED 29878010 23-JAN-17 2001826670 3116367872 .64
CMDS APPL_STATE 57276612 23-JAN-17 3780256392 5560598528 .68
CMDS BACK_PERSON_REP 24107652 17-DEC-14 916090776 1326448640 .69
CMDS BINDPOLINFO_L_1 8278592 08-OCT-16 82785920 142606336 .58
CMDS BINDPOLOPTION 3407344 04-JAN-17 61332192 100663296 .61
CMDS CONTACT_COMB 1249703629 30-JUN-16 5.7486E+10 8.4437E+10 .68
CMDS CONTACT_LIST 3800662127 15-JAN-17 2.4704E+11 4.0227E+11 .61
CMDS CUSTOMINFO_E_SINGLE_CNTR 2923310 23-JAN-17 464806290 1083179008 .43
CMDS CUST_RELATION_UPD 386995715 25-NOV-16 1.4706E+10 2.3089E+10 .64
CMDS C_CUST_RELATION_UPD 1034538 01-SEP-16 42416058 94371840 .45
CMDS C_INSURED_UPD 2598511 01-SEP-16 93546396 152043520 .62
CMDS C_PSN_CNTR_HOLDER_SINCR_SR1 1392097 23-OCT-14 26449843 38797312 .68
CMDS C_PSN_CNTR_HOLDER_SINCR_SR2 1083707 04-MAY-15 20590433 30408704 .68
CMDS C_PSN_HLDR_UPD 1229821 01-SEP-16 50422661 75497472 .67
CMDS GRP_CNTR_HLDR 49157672 09-JAN-17 3096933336 4894752768 .63
CMDS GRP_CUSTOMER 13639704 09-JAN-17 1473088032 5638127616 .26
CMDS GRP_PARTY_RELATION 13545920 09-JAN-17 690841920 2264924160 .31
CMDS GRP_PERSON 10076783 09-JAN-17 433301669 2087714816 .21
CMDS HTEL_ERROR_N 19520444 13-JUL-14 995542644 1677721600 .59
CMDS INSURED_BACKUP 2916523023 18-OCT-15 1.5458E+11 2.7488E+11 .56
CMDS INSURED_UPD 224986718 08-DEC-16 9224455438 1.4346E+10 .64
CMDS JIEGUO20161227 1108122 27-DEC-16 15513708 24117248 .64
CMDS MOBILE_1 345051414 18-MAR-15 1.1387E+10 1.6300E+10 .7
CMDS MOBILE_3 10994502 01-APR-15 164917530 252706816 .65
CMDS OTEL_ERROR_N 8937206 11-JUL-14 455797506 756023296 .6
CMDS PARTY 1235330775 20-JAN-17 1.1118E+10 2.1475E+10 .52
CMDS PARTYID_DISTINCT 10882249 12-MAY-15 76175743 147849216 .52
CMDS PASSWORDSTAT 9357346 27-DEC-16 215218958 313524224 .69
CMDS PERSON_DELETED 20662170 12-MAY-15 805824630 1210056704 .67
CMDS PID_RELATION_1 64767526 09-SEP-14 777210312 1282408448 .61
CMDS PID_RELATION_2 53957397 09-SEP-14 647488764 1044381696 .62
CMDS PSN_CUSTOMER_DEL 66607272 21-JAN-17 3130541784 4728029184 .66
CMDS PSN_CUSTOMER_UPD_20160901 351127588 11-AUG-16 1.3343E+10 2.0420E+10 .65
CMDS PSN_HLDR_UPD 219959628 04-NOV-16 8798385120 1.4997E+10 .59
CMDS PURVIEWINFO 12383109 13-JAN-17 383876379 571473920 .67
CMDS STD_CONTRACT_NULL 1674265 16-JUN-15 112175755 166723584 .67
CMDS SUSPECT_1_0 11442724 07-SEP-14 217411756 318767104 .68
CMDS SUSPECT_3_0 47021762 07-SEP-14 799369954 1207959552 .66
CMDS SUSPECT_4_0 2980964 08-SEP-14 56638316 83886080 .68
CMDS SUSPECT_4_1 2980964 08-SEP-14 74524100 109051904 .68
CMDS SUSPECT_5_0 4629724 08-SEP-14 101853928 150994944 .67
CMDS TASKTRACE 1169349 23-FEB-15 56128752 83886080 .67
CMDS TTEL_ERROR_N 6398147 11-JUL-14 326305497 545259520 .6
CMDS TTT 3289563 15-JAN-15 65791260 100663296 .65
CMDS T_CUST_INFO_1512 44795595 04-DEC-15 313569165 594542592 .53
CMDS VIPINFO_3 3113050 01-APR-15 31130500 52428800 .59
CMDS ZB_DUP_PARTY_RELATION 1238876 05-JAN-15 44599536 1708130304 .03
CMDS ZB_DUP_PARTY_RELATION_12_A 35121535 15-JAN-15 351215350 603979776 .58
CMDS ZB_MUL_BRANCH_PARTY_STAT 9914140 15-SEP-15 99141400 170917888 .58
CMDS ZB_PERSON_PK_FLD_DUP_0529 1096878 29-MAY-15 10968780 18874368 .58
CMDS ZB_TELREUSED_HLDR 1339541 19-MAY-15 25451279 36700160 .69
CMDS ZB_TELREUSED_HLDR_2000 4508181 27-MAY-15 99179982 142606336 .7
CMDS ZB_TELREUSED_STAT_INTER_PROV 3959576 04-JUN-15 59393640 94371840 .63
54 rows selected.
APPL_BNFR | 频繁delete insert |
APPL_INSURED | 频繁delete insert |
APPL_STATE | 频繁delete insert |
BACK_PERSON_REP | 重复数据清理数据表 |
BINDPOLINFO_L_1 | 备份数据表 |
BINDPOLOPTION | 只insert |
CONTACT_COMB | 频繁delete insert |
CONTACT_LIST | 频繁delete insert |
CUSTOMINFO_E_SINGLE_CNTR | 新表 |
CUST_RELATION_UPD | 原归并用,现在已经停用 |
C_CUST_RELATION_UPD | 原归并用,现在已经停用 |
C_INSURED_UPD | 原归并用,现在已经停用 |
C_PSN_CNTR_HOLDER_SINCR_SR1 | 备份数据表 |
C_PSN_CNTR_HOLDER_SINCR_SR2 | 备份数据表 |
C_PSN_HLDR_UPD | 原归并用,现在已经停用 |
GRP_CNTR_HLDR | 频繁delete insert |
GRP_CUSTOMER | 频繁delete insert |
GRP_PARTY_RELATION | 频繁delete insert |
GRP_PERSON | 频繁delete insert |
HTEL_ERROR_N | 备份数据表 |
INSURED_BACKUP | 备份数据表 |
INSURED_UPD | 原归并用,现在已经停用 |
JIEGUO20161227 | 数据提取数据表 |
MOBILE_1 | 数据提取数据表 |
MOBILE_3 | 数据提取数据表 |
OTEL_ERROR_N | 数据提取数据表 |
PARTY | 新表 |
PARTYID_DISTINCT | 重复数据清理数据表 |
PASSWORDSTAT | 只insert、update |
PERSON_DELETED | 重复数据清理数据表 |
PID_RELATION_1 | 备份数据表 |
PID_RELATION_2 | 备份数据表 |
PSN_CUSTOMER_DEL | 只insert |
PSN_CUSTOMER_UPD_20160901 | 备份数据表 |
PSN_HLDR_UPD | 原归并用,现在已经停用 |
PURVIEWINFO | 只insert、update |
STD_CONTRACT_NULL | 备份数据表 |
SUSPECT_1_0 | 数据提取数据表 |
SUSPECT_3_0 | 数据提取数据表 |
SUSPECT_4_0 | 数据提取数据表 |
SUSPECT_4_1 | 数据提取数据表 |
SUSPECT_5_0 | 数据提取数据表 |
TASKTRACE | 原抽取用,现在已经停用 |
TTEL_ERROR_N | 数据提取数据表 |
TTT | 数据提取数据表 |
T_CUST_INFO_1512 | 数据提取数据表 |
VIPINFO_3 | 数据提取数据表 |
ZB_DUP_PARTY_RELATION | 重复数据清理数据表 |
ZB_DUP_PARTY_RELATION_12_A | 重复数据清理数据表 |
ZB_MUL_BRANCH_PARTY_STAT | 重复数据清理数据表 |
ZB_PERSON_PK_FLD_DUP_0529 | 重复数据清理数据表 |
ZB_TELREUSED_HLDR | 重复数据清理数据表 |
ZB_TELREUSED_HLDR_2000 | 重复数据清理数据表 |
ZB_TELREUSED_STAT_INTER_PROV | 重复数据清理数据表 |
psn_cntr_holder | |
insured | |
std_CONTRACT | |
beneficiary | |
person | |
party_relation | |
CUST_RELATION |
TABLESPACE_NAME SUM_SPACE(M) SUM_BLOCKS USED_SPACE(M) USED_RATE(%) FREE_SPACE(M)
------------------------------ ------------ ---------- ------------- ------------ -------------
CUST 2097096.93 268428407 1982107.8 94.52 114989.13
TBS210000 65534 8388352 59268.37 90.44 6265.63
TBS140000 65534 8388352 58680.31 89.54 6853.69
TBS320000 196602 25165056 170611.44 86.78 25990.56
TBS440000 196602 25165056 166456.06 84.67 30145.94
TBS650000 65534 8388352 54905.75 83.78 10628.25
CMDSIDXTBS 2194843 280939904 1775170.37 80.88 419672.63
TBS310000 98301 12582528 76889 78.22 21412
TBS420000 98301 12582528 76621.62 77.95 21679.38
TBS220000 32767 4194176 25470.69 77.73 7296.31
TBS510000 196602 25165056 148146.69 75.35 48455.31
TBS350000 98301 12582528 72193.31 73.44 26107.69
TBS330000 98301 12582528 70315.31 71.53 27985.69
TBS110000 49151 6291328 34597.12 70.39 14553.88
TBS430000 163835 20970880 114531.06 69.91 49303.94
SYSTEM 2048 262144 1413.19 69 634.81
TBS530000 65534 8388352 44278.81 67.57 21255.19
TBS150000 65534 8388352 43737.12 66.74 21796.88
TBS620000 65534 8388352 43712.69 66.7 21821.31
TBS340000 98301 12582528 64618.12 65.73 33682.88
TBS610000 98301 12582528 62513.25 63.59 35787.75
TBS520000 32767 4194176 20766.56 63.38 12000.44
TBS410000 196602 25165056 123419.87 62.78 73182.13
TBS230000 163835 20970880 101563.44 61.99 62271.56
TBS370000 294903 37747584 182646.81 61.93 112256.19
TBS660000 98301 12582528 59170.06 60.19 39130.94
TBS130000 196602 25165056 117995.19 60.02 78606.81
TBS450000 98301 12582528 55677.87 56.64 42623.13
TBS360000 98301 12582528 52901.12 53.82 45399.88
TBS640000 32767 4194176 15780 48.16 16987
TBS120000 32767 4194176 15653.94 47.77 17113.06
TBS000002 98301 12582528 44034.25 44.8 54266.75
TBS210200 32767 4194176 13331.94 40.69 19435.06
TBS370200 32767 4194176 12572.31 38.37 20194.69
TBS330200 32767 4194176 11091.87 33.85 21675.13
TBS440200 32767 4194176 9439 28.81 23328
TBS350200 32767 4194176 9103.87 27.78 23663.13
UNDOTBS1 553834.95 70890874 123857.39 22.36 429977.56
TBS460000 32767 4194176 6132.94 18.72 26634.06
SYSAUX 65534.98 8388478 11063.17 16.88 54471.81
TBS630000 32767 4194176 3667.62 11.19 29099.38
USERS 512 65536 39.75 7.76 472.25
CMDSDATTBS 163835 20970880 8393 5.12 155442
TBS850000 32767 4194176 794.69 2.43 31972.31
UNDOTBS2 163837.95 20971258 3099.57 1.89 160738.38
TBS_OGG 10240 1310720 1 .01 10239
TABLE_NAME ROW_MOVE NUM_ROWS
------------------------------ -------- ----------
BENEFICIARY ENABLED 0
APPL_BNFR ENABLED 1617277
GRP_PERSON ENABLED 10076783
GRP_PARTY_RELATION ENABLED 13545920
GRP_CUSTOMER ENABLED 13639704
APPL_INSURED ENABLED 30180886
GRP_CNTR_HLDR ENABLED 49157672
APPL_STATE ENABLED 57509863
PARTY_RELATION ENABLED 739262989
PERSON ENABLED 1038646626
CUST_RELATION ENABLED 1166641056
TABLE_NAME ROW_MOVE NUM_ROWS
------------------------------ -------- ----------
CONTACT_COMB ENABLED 1249703629
STD_CONTRACT ENABLED 1369860819
PSN_CNTR_HOLDER ENABLED 1403102188
INSURED ENABLED 1715030701
CONTACT_LIST ENABLED 3800662127
echo `date +"%B %d %H:%M:%S"` `hostname` starting... >> $ORACLE_HOME/log/shrink_cmds_20170127.log
$ORACLE_HOME/bin/sqlplus -S /nolog<<!
connect / as sysdba;
set timing on;
alter session set sort_area_size=1024000000;
alter session set sort_multiblock_read_count=128;
alter session set db_file_multiblock_read_count=128;
alter table CMDS.APPL_BNFR shrink space cascade;
commit;
alter table CMDS.APPL_INSURED shrink space cascade;
commit;
alter table CMDS.APPL_STATE shrink space cascade;
commit;
alter table CMDS.CONTACT_COMB shrink space cascade;
commit;
alter table CMDS.CONTACT_LIST shrink space cascade;
commit;
alter table CMDS.GRP_CNTR_HLDR shrink space cascade;
commit;
alter table CMDS.GRP_CUSTOMER shrink space cascade;
commit;
alter table CMDS.GRP_PARTY_RELATION shrink space cascade;
commit;
alter table CMDS.GRP_PERSON shrink space cascade;
commit;
alter table CMDS.PSN_CNTR_HOLDER shrink space cascade;
commit;
alter table CMDS.INSURED shrink space cascade;
commit;
alter table CMDS.STD_CONTRACT shrink space cascade;
commit;
alter table CMDS.BENEFICIARY shrink space cascade;
commit;
alter table CMDS.PERSON shrink space cascade;
commit;
alter table CMDS.PARTY_RELATION shrink space cascade;
commit;
alter table CMDS.CUST_RELATION shrink space cascade;
commit;
exec DBMS_STATS.GATHER_table_STATS ('CMDS','APPL_BNFR',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','APPL_INSURED',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','APPL_STATE',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','CONTACT_COMB',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','CONTACT_LIST',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','GRP_CNTR_HLDR',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','GRP_CUSTOMER',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','PSN_CNTR_HOLDER',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','STD_CONTRACT',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','GRP_PARTY_RELATION',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','GRP_PERSON',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','INSURED',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','BENEFICIARY',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','PERSON',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','PARTY_RELATION',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exec DBMS_STATS.GATHER_table_STATS ('CMDS','CUST_RELATION',estimate_percent => dbms_stats.auto_sample_size,method_opt => 'for all columns size auto',degree => 15,cascade => true);
exit;
!
echo `date +"%B %d %H:%M:%S"` `hostname` end ... >> $ORACLE_HOME/log/shrink_cmds_20170127.log
TABLESPACE_NAME SUM_SPACE(M) SUM_BLOCKS USED_SPACE(M) USED_RATE(%) FREE_SPACE(M)
------------------------------ ------------ ---------- ------------- ------------ -------------
CUST 2097096.93 268428407 1983211.8 94.57 113885.13
TBS210000 65534 8388352 58583.5 89.39 6950.5
TBS140000 65534 8388352 57379.62 87.56 8154.38
TBS320000 196602 25165056 166830.94 84.86 29771.06
TBS650000 65534 8388352 52828.94 80.61 12705.06
TBS440000 196602 25165056 153142.94 77.89 43459.06
TBS420000 98301 12582528 74099.75 75.38 24201.25
TBS510000 196602 25165056 147728 75.14 48874
TBS220000 32767 4194176 24342.69 74.29 8424.31
CMDSIDXTBS 2194843 280939904 1612798.56 73.48 582044.44
TBS310000 98301 12582528 71163.25 72.39 27137.75
TBS110000 49151 6291328 35264.31 71.75 13886.69
TBS350000 98301 12582528 70178.06 71.39 28122.94
TBS330000 98301 12582528 68109.81 69.29 30191.19
SYSTEM 2048 262144 1413.19 69 634.81
TBS430000 163835 20970880 112369.44 68.59 51465.56
TBS530000 65534 8388352 44357.44 67.69 21176.56
TBS620000 65534 8388352 42577.56 64.97 22956.44
TBS340000 98301 12582528 63759.94 64.86 34541.06
TBS150000 65534 8388352 42301.25 64.55 23232.75
TBS520000 32767 4194176 20951.44 63.94 11815.56
TBS610000 98301 12582528 62170.37 63.24 36130.63
TBS230000 163835 20970880 100844.06 61.55 62990.94
TBS410000 196602 25165056 120568.94 61.33 76033.06
TBS370000 294903 37747584 178076.19 60.38 116826.81
TBS130000 196602 25165056 116789.06 59.4 79812.94
TBS660000 98301 12582528 57226.12 58.22 41074.88
TBS450000 98301 12582528 54508 55.45 43793
TBS360000 98301 12582528 52396.75 53.3 45904.25
TBS120000 32767 4194176 15767.12 48.12 16999.88
TBS640000 32767 4194176 15709.81 47.94 17057.19
TBS000002 98301 12582528 44410.81 45.18 53890.19
TBS210200 32767 4194176 12610.94 38.49 20156.06
TBS370200 32767 4194176 12490.87 38.12 20276.13
TBS330200 32767 4194176 10765.62 32.86 22001.38
TBS440200 32767 4194176 9236.81 28.19 23530.19
TBS350200 32767 4194176 8944.87 27.3 23822.13
SYSAUX 65534.98 8388478 12071.92 18.42 53463.06
TBS460000 32767 4194176 5505.87 16.8 27261.13
TBS630000 32767 4194176 3513.56 10.72 29253.44
USERS 512 65536 39.75 7.76 472.25
CMDSDATTBS 163835 20970880 8457 5.16 155378
UNDOTBS1 553834.95 70890874 16979.2 3.07 536855.75
TBS850000 32767 4194176 721.19 2.2 32045.81
UNDOTBS2 163837.95 20971258 3374.89 2.06 160463.06
TBS_OGG 10240 1310720 1 .01 10239
CMDS目的端数据库碎片整理记录的更多相关文章
- SqlServer数据库碎片整理——BCC SHOWCONTIG
SQLServer提供了一个数据库命令——DBCC SHOWCONTIG——来确定一个指定的表或索引是否有碎片. 示例: DBCC SHOWCONTIG语法: 显示指定的表的数据和索引的碎片信息. ...
- SQL Server数据库碎片整理
碎片产生 在SQL Server中,存储数据的最小单位是页,每一页所能容纳的数据为8060字节.而页的组织方式是通过B树结构 SQL Server向每个页内存储数据的最小单位是表的行(Row) ...
- 配置ogg异构oracle-mysql(3)目的端配置
目的端配置大致分为如下三个步骤:配置mgr,配置checkpoint table,配置应用进程 在目的端先创建一张表,记得带主键: mysql> create database hr;Query ...
- SQL Server索引碎片整理实际操作记录
SQL Server 版本是 2008 R2. 查询数据库索引碎片情况的 SQL 语句(来源): SELECT OBJECT_NAME(ind.OBJECT_ID) AS TableName, ind ...
- tts和字符集的关系--要求源和目的端的数据库字符集必须一样,国家字符集必须一样。
tts和字符集的关系--要求源和目的端的数据库字符集必须一样,国家字符集必须一样. imp sys/as TRANSPORT_TABLESPACE=Y datafiles= C:\oracle\pro ...
- 修改目的端trail文件的最大大小--转载
本文为原创,转载请注明出处: http://blog.csdn.net/msdnchina/article/details/38346435 修改目的端trail文件的最大大小. 本文产生的背景: 在 ...
- 转: app端数据库(性能高) realm (ios, android 均支持)
转: http://ios.jobbole.com/85041/ 移动端数据库新王者:realm 2016/05/14 · iOS开发 · 数据库 分享到:0 原文出处: 没故事的卓同学(@没故事的 ...
- MYSQL优化之碎片整理
MYSQL优化之碎片整理 在MySQL中,我们经常会使用VARCHAR.TEXT.BLOB等可变长度的文本数据类型.不过,当我们使用这些数据类型之后,我们就不得不做一些额外的工作--MySQL数据 ...
- astgo经常死机变慢?试试mysql数据碎片整理吧
使用SSH之类的工具或navicat链接数据库后(注意:是链接数据库后哦,不是直接SSH后就弄,这样提示命令错误的) 执行下面命令(目的是对ASTGO的数据库内除话单之外的所有表进行数据碎片整理,特别 ...
随机推荐
- IO流—其他流
内存操作流 这个流不关联任何文件,只能在内存中数据,自己在内存中维护着一个缓冲区,我们可以往他维护的缓冲区不断的写入数据,也可以从缓冲区中取出我们写入的数据 ByteArrayOutputStream ...
- json对象与string相互转换教程
一.说明 1.1 背景说明 json对象与string相互转换,这东西想写了很多次,但总觉得网上教程比较成熟,所以之前每次都放弃了.但今天又被string转json对象折腾了半天,实在受不了,所以还是 ...
- 【转帖】Storm基本原理概念及基本使用
Storm基本原理概念及基本使用 https://www.cnblogs.com/swordfall/p/8821453.html 1. 背景介绍 1.1 离线计算是什么 离线计算:批量获取数据.批量 ...
- 【数据结构与算法】单链表操作(C++)
#include <stdio.h> #include <malloc.h> /*单链表节点定义*/ typedef struct LNode { int data; //da ...
- 关于FMX 单击出来右键菜单,并显示在当前下面
关于FMX 单击出来右键菜单,并显示在当前下面 procedure TForm1.btn6MouseDown(Sender: TObject; Button: TMouseButton; Shift ...
- 【题解】选数字 [51nod1354]
[题解]选数字 [51nod1354] 传送门:选数字 \([51nod1354]\) [题目描述] 共 \(T\) 组测试点,每一组给定一个长度为 \(n\) 的序列和一个整数 \(K\),找出有多 ...
- [转] js async await 终极异步解决方案
阅读目录 回顾 Promise async await 字面理解 async.await 如何执行 await 操作符 总结 既然有了promise 为什么还要有async await ? 当然是pr ...
- gitblit搭建
gitblit 1.8.0 + java7 下载安装java7 https://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-windows- ...
- javascript 对象之hasOwnProperty()方法
hasOwnProperty()方法是判断某一个对象是否有你给出的属性名称,需要注意的是该方法无法检测该对象原型连中是否具有该属性 具体格式下: var person = {"name&qu ...
- MVC伪静态路由简单搭配
public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute ...