Oracle GoldenGate database Schema Profile check script for Oracle DB [转帖]_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 5274 | 回复: 0   主题: Oracle GoldenGate database Schema Profile check script for Oracle DB [转帖]        下一篇 
wayne
注册用户
等级:中校
经验:1690
发帖:221
精华:0
注册:2011-7-21
状态:离线
发送短消息息给wayne 加好友    发送短消息息给wayne 发消息
发表于: IP:您无权察看 2011-8-6 21:18:52 | [全部帖] [楼主帖] 楼主

Applies to: Oracle GoldenGate - Version: 10.4.0.0 and later   [Release: 10.4.0 and later ]

Information in this document applies to any platform.

This script is written for Oracle database version 9i thru 11g. Purpose

This script is intended to query the database by schema to identify current configuration and identify any unsupported data types or types that may need special considerations for Oracle GoldenGate in an Oracle environment. This is the Oracle database profile script.

Software Requirements/Prerequisites

This script is to be run in sqlplus by a user that has DBA privleages.

Configuring the ScriptSave script file as full-schemaCheckOracle_02222011.sql

Running the Script

Log into sqlplus as sysdba

run the script -

SQL> @full-schemaCheckOracle_02222011.sql

Review output.

Caution

This script is provided for educational purposes only and not supported by Oracle Support Services. It has been tested internally, however, and works as documented. We do not guarantee that it will work for you, so be sure to test it in your environment before relying on it.

Proofread this script before using it! Due to the differences in the way text editors, e-mail packages and operating systems handle text formatting (spaces, tabs and carriage returns), this script may not be in an executable state when you first receive it. Check over the script to ensure that errors of this type are corrected.

Script-- This script spools the output to a file named schemaCheckOracle.out

-- Example of running the script:

-- sqlplus <userid>/<pw> @schemaCheckOracle.sql

-- 9-17-07 SGEORGE - Added sequences

-- - added reverse key index check

-- 3-24-08 SGEORGE - Added average archive log size

-- - Added number of archive log switches by hour and day

-- 3-35-08 SGEORGE - Added query for tables without PK/UK

-- - and columns > 256k

-- 3-27-08 SGEORGE - added DB info and Supp log info

-- 4-1-08 SGEORGE - Added sum of log files for 7 days

-- 5-9-08 SGEORGE - Corrected error on 256K on PK UK query

-- - removed dup PK-UK query

-- 9-14-10 TMATTEI - Update query for Tables with no PK or UI and rowsize > 256K to 1M

-- 9-14-10 TMATTEI - Update query for Tables with rowsize > 512K to 2M

-- 9-14-10 TMATTEI - Updated query for Tables With Columns of UNSUPPORTED Datatypes to include ORDDICOM data type

-- 10-14-10 SGEORGE - Updated query for tables with compression enabled.

-- 02-17-11 SGEORGE - Added query to check for Compressed Tablespaces.

-- 2-21-11 TMATTEI - Updated query to list Domain Indexes

set null "NULL VALUE"

set feedback off

set heading off

set linesize 132

set pagesize 9999

set echo off

set verify off

col table_name for a30

col column_name for a30

col data_type for a15

col object_type for a20

col constraint_type_desc for a30

--spool schemaCheckOracle.&&schema_name.out

ACCEPT schema_name char prompt 'Enter the Schema Name > '

variable b0 varchar2(50)

exec :b0 := upper('&schema_name');

spool schemaCheckOracle.&&schema_name..out

SELECT '------ System Info for: ' :b0

FROM dual;

set heading on

select to_char(sysdate, 'MM-DD-YYYY HH24:MI:SS') "DateTime: " from dual

/

select banner from v$version

/

SELECT '------ Database Level Supplemental Log Check - 9i and 10g: '

FROM dual;

SELECT SUPPLEMENTAL_LOG_DATA_MIN MIN, SUPPLEMENTAL_LOG_DATA_PK PK, SUPPLEMENTAL_LOG_DATA_UI UI

FROM V$DATABASE

/

select name, log_mode "LogMode",

supplemental_log_data_min "SupLog: Min", supplemental_log_data_pk "PK",

supplemental_log_data_ui "UI", force_logging "Forced",

supplemental_log_data_fk "FK", supplemental_log_data_all "All",

to_char(created, 'MM-DD-YYYY HH24:MI:SS') "Created"

from v$database

/

select

platform_name

from v$database

/

set heading off

SELECT '------ Objects stored in Tablespaces with Compression are not supported in the current release of OGG '

FROM dual;

select

TABLESPACE_NAME,

DEF_TAB_COMPRESSION,

ENCRYPTED,

COMPRESS_FOR

from DBA_TABLESPACES

where

DEF_TAB_COMPRESSION <> 'DISABLED';

set heading off

SELECT '------ Distinct Object Types and their Count in the Schema: ' :b0

FROM dual;

SELECT object_type, count(*) total

FROM all_objects

WHERE OWNER = :b0

GROUP BY object_type

/

SELECT '------ Distinct Column Data Types and their Count in the Schema: ' :b0

FROM dual;

SELECT data_type, count(*) total

FROM all_tab_columns

WHERE OWNER = :b0

GROUP BY data_type

/

SELECT '------ Tables With No Primary Key or Unique Index in the Schema: ' :b0

FROM dual;

SELECT distinct(table_name)

FROM all_tables

WHERE owner = :b0

MINUS

(SELECT obj1.name

FROM SYS.user$ user1,

SYS.user$ user2,

SYS.cdef$ cdef,

SYS.con$ con1,

SYS.con$ con2,

SYS.obj$ obj1,

SYS.obj$ obj2

WHERE user1.name = :b0

AND cdef.type# = 2

AND con2.owner# = user2.user#(+)

AND cdef.robj# = obj2.obj#(+)

AND cdef.rcon# = con2.con#(+)

AND obj1.owner# = user1.user#

AND cdef.con# = con1.con#

AND cdef.obj# = obj1.obj#

UNION

SELECT idx.table_name

FROM all_indexes idx

WHERE idx.owner = :b0

AND idx.uniqueness = 'UNIQUE')

/

SELECT '------ Tables with no PK or UI and rowsize > 1M in the Schema: ' :b0

FROM dual;

SELECT distinct(table_name)

FROM all_tab_columns

WHERE owner = :b0

group by table_name

HAVING sum(data_length) > 1000000

MINUS

(SELECT obj1.name

FROM SYS.user$ user1,

SYS.user$ user2,

SYS.cdef$ cdef,

SYS.con$ con1,

SYS.con$ con2,

SYS.obj$ obj1,

SYS.obj$ obj2

WHERE user1.name = :b0

AND cdef.type# = 2

AND con2.owner# = user2.user#(+)

AND cdef.robj# = obj2.obj#(+)

AND cdef.rcon# = con2.con#(+)

AND obj1.owner# = user1.user#

AND cdef.con# = con1.con#

AND cdef.obj# = obj1.obj#

UNION

SELECT idx.table_name

FROM all_indexes idx

WHERE idx.owner = :b0

AND idx.uniqueness = 'UNIQUE')

/

SELECT '------ Tables Defined with Rowsize > 2M in the Schema: ' :b0

FROM dual;

SELECT table_name, sum(data_length) row_length_over_2M

FROM all_tab_columns

WHERE OWNER = :b0

GROUP BY table_name

HAVING sum(data_length) > 2000000

/

SELECT '------ Tables that will Fail Add Trandata (Only an issue for Oracle versions below Oracle 10G) in the Schema: ' :b0

FROM dual;

SELECT distinct(table_name)

FROM dba_tab_columns

WHERE owner = :b0

AND column_id > 32

AND table_name in

(SELECT distinct(table_name)

FROM all_tables

WHERE owner = :b0

MINUS

(SELECT obj1.name

FROM SYS.user$ user1,

SYS.user$ user2,

SYS.cdef$ cdef,

SYS.con$ con1,

SYS.con$ con2,

SYS.obj$ obj1,

SYS.obj$ obj2

WHERE user1.name = :b0

AND cdef.type# = 2

AND con2.owner# = user2.user#(+)

AND cdef.robj# = obj2.obj#(+)

AND cdef.rcon# = con2.con#(+)

AND obj1.owner# = user1.user#

AND cdef.con# = con1.con#

AND cdef.obj# = obj1.obj#

UNION

SELECT idx.table_name

FROM all_indexes idx

WHERE idx.owner = :b0

AND idx.uniqueness = 'UNIQUE'))

/

SELECT '------ Tables With CLOB, BLOB, LONG, NCLOB or LONG RAW Columns in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE

FROM all_tab_columns

WHERE OWNER = :b0

AND data_type in ('CLOB', 'BLOB', 'LONG', 'LONG RAW', 'NCLOB')

/

SELECT '------ Tables With Columns of UNSUPPORTED Datatypes in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE

FROM all_tab_columns

WHERE OWNER = :b0

AND (data_type in ('ORDDICOM', 'BFILE', 'TIMEZONE_REGION', 'BINARY_INTEGER', 'PLS_INTEGER', 'UROWID', 'URITYPE', 'MLSLABEL', 'TIMEZONE_ABBR', 'ANYDATA', 'ANYDATASET', 'ANYTYPE')

or data_type like 'INTERVAL%')

/

SELECT '----- Tables with Compressed data is not supported - in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, COMPRESSION, COMPRESS_FOR

FROM all_all_tables

WHERE OWNER = :b0

AND (COMPRESSION = 'ENABLED');

SELECT TABLE_NAME, COMPRESSION, COMPRESS_FOR

FROM ALL_TAB_PARTITIONS

WHERE TABLE_OWNER = :b0

AND (COMPRESSION = 'ENABLED');

SELECT '----- Cluster (DML and DDL supported for 9i or later) or Object Tables (DML supported for 10G or later, no DDL) - in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, CLUSTER_NAME, TABLE_TYPE

FROM all_all_tables

WHERE OWNER = :b0

AND (cluster_name is NOT NULL or TABLE_TYPE is NOT NULL)

/

SELECT '------ IOT (Fully support for Oracle 10GR2 (with or without overflows) using GGS 10.4 and higher) - in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, IOT_TYPE, TABLE_TYPE

FROM all_all_tables

WHERE OWNER = :b0

AND (IOT_TYPE is not null or TABLE_TYPE is NOT NULL)

/

SELECT '------ Tables with Domain or Context Indexes - in the Schema: ' :b0

FROM dual;

SELECT TABLE_NAME, index_name, index_type

FROM dba_indexes WHERE OWNER = :b0

and index_type = 'DOMAIN'

/

SELECT '------ Types of Constraints on the Tables in the Schema: ' :b0

FROM dual;

SELECT DECODE(constraint_type,'P','PRIMARY KEY','U','UNIQUE', 'C', 'CHECK', 'R',

'REFERENTIAL') constraint_type_desc, count(*) total

FROM all_constraints

WHERE OWNER = :b0

GROUP BY constraint_type

/

SELECT '------ Cascading Deletes on the Tables in the Schema: ' :b0

FROM dual;

SELECT table_name, constraint_name

FROM all_constraints

WHERE OWNER = :b0 and constraint_type = 'R' and delete_rule = 'CASCADE'

/

SELECT '------ Tables Defined with Triggers in the Schema: ' :b0

FROM dual;

SELECT table_name, COUNT(*) trigger_count

FROM all_triggers

WHERE OWNER = :b0

GROUP BY table_name

/

SELECT '------ Performance issues - Reverse Key Indexes Defined in the Schema: ' :b0

FROM dual;

col Owner format a10

col TABLE_OWNER format a10

col INDEX_TYPE format a12

SET Heading on

select

OWNER,

INDEX_NAME,

INDEX_TYPE,

TABLE_OWNER,

TABLE_NAME,

TABLE_TYPE,

UNIQUENESS,

CLUSTERING_FACTOR,

NUM_ROWS,

LAST_ANALYZED,

BUFFER_POOL

from dba_indexes

where index_type = 'NORMAL/REV'

And OWNER = :b0

/

SET Heading off

SELECT '------ Sequence numbers: ' :b0

FROM dual;

COLUMN SEQUENCE_OWNER FORMAT a15

COLUMN SEQUENCE_NAME FORMAT a30

COLUMN INCR FORMAT 999

COLUMN CYCLE FORMAT A5

COLUMN ORDER FORMAT A5

SET Heading on

SELECT SEQUENCE_OWNER,

SEQUENCE_NAME,

MIN_VALUE,

MAX_VALUE,

INCREMENT_BY INCR,

CYCLE_FLAG CYCLE,

ORDER_FLAG "ORDER",

CACHE_SIZE,

LAST_NUMBER

FROM DBA_SEQUENCES

WHERE SEQUENCE_OWNER=UPPER(:b0)

/

set linesize 132

col "Avg Log Size" format 999,999,999

select sum (BLOCKS) * max(BLOCK_SIZE)/ count(*)"Avg Log Size" From gV$ARCHIVED_LOG;

Prompt Table: Frequency of Log Switches by hour and day

SELECT SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),1,5) DAY,

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'00',1,0)),'99') "00",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'01',1,0)),'99') "01",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'02',1,0)),'99') "02",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'03',1,0)),'99') "03",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'04',1,0)),'99') "04",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'05',1,0)),'99') "05",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'06',1,0)),'99') "06",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'07',1,0)),'99') "07",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'08',1,0)),'99') "08",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'09',1,0)),'99') "09",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'10',1,0)),'99') "10",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'11',1,0)),'99') "11",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'12',1,0)),'99') "12",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'13',1,0)),'99') "13",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'14',1,0)),'99') "14",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'15',1,0)),'99') "15",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'16',1,0)),'99') "16",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'17',1,0)),'99') "17",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'18',1,0)),'99') "18",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'19',1,0)),'99') "19",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'20',1,0)),'99') "20",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'21',1,0)),'99') "21",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'22',1,0)),'99') "22",

TO_CHAR(SUM(DECODE(SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),10,2),'23',1,0)),'99') "23"

FROM V$LOG_HISTORY

where first_time > sysdate - 30

GROUP BY SUBSTR(TO_CHAR(FIRST_TIME, 'MM-DD-YY HH:MI:SS'),1,5) ;

SELECT '------ Summary of log volume processed by day for last 7 days: '

FROM dual;

select to_char(first_time, 'mm/dd') ArchiveDate,

sum(BLOCKS*BLOCK_SIZE/1024/1024) LOGMB

from v$archived_log

where first_time > sysdate - 7

group by to_char(first_time, 'mm/dd')

order by to_char(first_time, 'mm/dd');

/

SELECT '------ Summary of log volume processed per hour for last 7 days: '

FROM dual;

select to_char(first_time, 'MM-DD-YYYY') ArchiveDate,

to_char(first_time, 'HH24') ArchiveHour,

sum(BLOCKS*BLOCK_SIZE/1024/1024) LogMB

from v$archived_log

where first_time > sysdate - 7

group by to_char(first_time, 'MM-DD-YYYY'), to_char(first_time, 'HH24')

order by to_char(first_time, 'MM-DD-YYYY'), to_char(first_time, 'HH24');

/

set heading off

select '* This output may be found in file: schemaCheckOracle.&&schema_name..out' from dual

/

spool off

undefine b0

-- exit

Script OutputSQL> @/mnt/hgfs/Goldengate/scripts/full-schemaCheckOracle_02222011

Enter the Schema Name > source

------ System Info for: SOURCE

DateTime:

-------------------

02-23-2011 09:52:58

BANNER

--------------------------------------------------------------------------------

Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production

PL/SQL Release 11.1.0.6.0 - Production

CORE 11.1.0.6.0 Production

TNS for Linux: Version 11.1.0.6.0 - Production

NLSRTL Version 11.1.0.6.0 - Production

'------DATABASELEVELSUPPLEMENTALLOGCHECK-9IAND10G:'

-----------------------------------------------------------

------ Database Level Supplemental Log Check - 9i and 10g:

MIN PK UI

-------- --- ---

YES NO NO

NAME LogMode SupLog: PK UI For FK All Created

--------- ------------ -------- --- --- --- --- --- -------------------

ORA11G ARCHIVELOG YES NO NO NO NO NO 01-09-2009 10:55:19

PLATFORM_NAME

-----------------------------------------------------------------------------------------------------

Linux IA (32-bit)

------ Objects stored in Tablespaces with Compression are not supported in the current release of OGG

------ Distinct Object Types and their Count in the Schema: SOURCE

SEQUENCE 3

TABLE 3

INDEX 3

------ Distinct Column Data Types and their Count in the Schema: SOURCE

TIMESTAMP(6) 7

NUMBER 16

DATE 3

VARCHAR2 11

------ Tables With No Primary Key or Unique Index in the Schema: SOURCE

------ Tables with no PK or UI and rowsize > 1M in the Schema: SOURCE

------ Tables Defined with Rowsize > 2M in the Schema: SOURCE

------ Tables that will Fail Add Trandata (Only an issue for Oracle versions below Oracle 10G) in the Schema: SOURCE

------ Tables With CLOB, BLOB, LONG, NCLOB or LONG RAW Columns in the Schema: SOURCE

------ Tables With Columns of UNSUPPORTED Datatypes in the Schema: SOURCE

----- Tables with Compressed data is not supported - in the Schema: SOURCE

----- Cluster (DML and DDL supported for 9i or later) or Object Tables (DML supported for 10G or later, no DDL) - in the Schema: SOU

RCE

------ IOT (Fully support for Oracle 10GR2 (with or without overflows) using GGS 10.4 and higher) - in the Schema: SOURCE

------ Tables with Domain or Context Indexes - in the Schema: SOURCE

------ Types of Constraints on the Tables in the Schema: SOURCE

PRIMARY KEY 3

CHECK 3

------ Cascading Deletes on the Tables in the Schema: SOURCE

------ Tables Defined with Triggers in the Schema: SOURCE

------ Performance issues - Reverse Key Indexes Defined in the Schema: SOURCE

------ Sequence numbers: SOURCE

SEQUENCE_OWNER SEQUENCE_NAME MIN_VALUE MAX_VALUE INCR CYCLE ORDER CACHE_SIZE LAST_NUMBER

--------------- ------------------------------ ---------- ---------- ---- ----- ----- ---------- -----------

SOURCE BIG_EMP_COMM 1 1.0000E+27 1 N N 20 1

SOURCE S_DEPT_ID 1 1.0000E+27 1 N N 20 21

SOURCE S_EMP_ID 1 1.0000E+27 1 N N 20 561

Avg Log Size

------------

48,248,886

Table: Frequency of Log Switches by hour and day

DAY 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23

----- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---

01-27 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0

01-29 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

01-30 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0

02-08 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-09 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0

01-31 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-14 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-15 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-01 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-02 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-12 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

02-19 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-20 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-05 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-17 0 0 0 0 0 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0

02-03 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-04 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-18 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

01-28 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-07 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

02-10 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0

01-26 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0

02-16 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

02-22 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

'------SUMMARYOFLOGVOLUMEPROCESSEDBYDAYFORLAST7DAYS:'

---------------------------------------------------------------

------ Summary of log volume processed by day for last 7 days:

ARCHI LOGMB

----- ----------

02/16 97.7109375

02/17 146.566406

02/18 97.7080078

02/19 48.8554688

02/20 2.97021484

02/22 48.8554688

ARCHI LOGMB

----- ----------

02/16 97.7109375

02/17 146.566406

02/18 97.7080078

02/19 48.8554688

02/20 2.97021484

02/22 48.8554688

'------SUMMARYOFLOGVOLUMEPROCESSEDPERHOURFORLAST7DAYS:'

-----------------------------------------------------------------

------ Summary of log volume processed per hour for last 7 days:

ARCHIVEDAT AR LOGMB

---------- -- ----------

02-16-2011 17 48.8554688

02-16-2011 22 48.8554688

02-17-2011 06 48.8554688

02-17-2011 22 97.7109375

02-18-2011 14 48.8525391

02-18-2011 22 48.8554688

02-19-2011 22 48.8554688

02-20-2011 21 2.97021484

02-22-2011 14 48.8554688

ARCHIVEDAT AR LOGMB

---------- -- ----------

02-16-2011 17 48.8554688

02-16-2011 22 48.8554688

02-17-2011 06 48.8554688

02-17-2011 22 97.7109375

02-18-2011 14 48.8525391

02-18-2011 22 48.8554688

02-19-2011 22 48.8554688

02-20-2011 21 2.97021484

02-22-2011 14 48.8554688

* This output may be found in file: schemaCheckOracle.source.out




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论