|
[root@oracle bin]# time ./oewizard -cl -create -scale 1 -cs //oracle:1521/xcky -dba system -dbap oracle -u soe1 -p soe1 -ts soe -df /u01/app/oracle/oradata/xcky/soe.dbf -tc 4 -s
The following statement failed : GRANT EXECUTE ON dbms_lock TO soe1 : Due to : ORA-01031: insufficient privileges
The following statement failed : begin
$IF DBMS_DB_VERSION.VER_LE_10_2
$THEN
-- Use the default stats collection approach
dbms_stats.gather_schema_stats(
OWNNAME=> 'SOE1'
,ESTIMATE_PERCENT=>DBMS_STATS.AUTO_SAMPLE_SIZE
,BLOCK_SAMPLE=>TRUE
,METHOD_OPT=>'FOR ALL COLUMNS SIZE SKEWONLY'
,DEGREE=> 4
,GRANULARITY=>'ALL'
,CASCADE=>TRUE);
$ELSIF DBMS_DB_VERSION.VER_LE_11_2
$THEN
-- Oracle 11g release 2. Emable concurrent stats collection
dbms_output.put_line('database version is less than or equal to 11.2');
DBMS_STATS.SET_GLOBAL_PREFS('CONCURRENT','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','WAREHOUSES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','INVENTORIES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','PRODUCT_INFORMATION','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','PRODUCT_DESCRIPTIONS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDERENTRY_METADATA','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','CUSTOMERS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ADDRESSES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDER_ITEMS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDERS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','LOGON','INCREMENTAL','TRUE');
DBMS_STATS.GATHER_SCHEMA_STATS('SOE1');
$ELSIF DBMS_DB_VERSION.VER_LE_12
$THEN
-- Oracle 12c. Concurrent Stats collection work slightly different in this release
execute immediate q'[ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'DEFAULT_PLAN']';
execute immediate q'[ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 4 ]';
DBMS_STATS.SET_GLOBAL_PREFS('CONCURRENT','MANUAL');
DBMS_STATS.SET_TABLE_PREFS('SOE1','WAREHOUSES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','INVENTORIES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','PRODUCT_INFORMATION','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','PRODUCT_DESCRIPTIONS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDERENTRY_METADATA','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','CUSTOMERS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ADDRESSES','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDER_ITEMS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','ORDERS','INCREMENTAL','TRUE');
DBMS_STATS.SET_TABLE_PREFS('SOE1','LOGON','INCREMENTAL','TRUE');
DBMS_STATS.GATHER_SCHEMA_STATS('SOE1');
$END
end;
: Due to : ORA-20001: Invalid input values for pname
ORA-06512: at "SYS.DBMS_STATS", line 26595
ORA-06512: at "SYS.DBMS_STATS", line 26751
ORA-06512: at line 17
============================================
| Datagenerator Run Stats |
============================================
Connection Time 0:00:00.004
Data Generation Time 0:03:18.996
DDL Creation Time 0:03:47.528
Total Run Time 0:07:06.530
Rows Inserted per sec 60,836
Data Generated (MB) per sec 5.0
Actual Rows Generated 13,002,033
Post Creation Validation Report
===============================
The creation of the schema appears to have been unsuccessful. See the following sections for further details.
Valid Objects
=============
Valid Tables : 'ORDERS','ORDER_ITEMS','CUSTOMERS','WAREHOUSES','ORDERENTRY_METADATA','INVENTORIES','PRODUCT_INFORMATION','PRODUCT_DESCRIPTIONS','ADDRESSES','CARD_DETAILS'
Valid Indexes : 'PRD_DESC_PK','PROD_NAME_IX','PRODUCT_INFORMATION_PK','PROD_SUPPLIER_IX','PROD_CATEGORY_IX','INVENTORY_PK','INV_PRODUCT_IX','INV_WAREHOUSE_IX','ORDER_PK','ORD_SALES_REP_IX','ORD_CUSTOMER_IX','ORD_ORDER_DATE_IX','ORD_WAREHOUSE_IX','ORDER_ITEMS_PK','ITEM_ORDER_IX','ITEM_PRODUCT_IX','WAREHOUSES_PK','WHS_LOCATION_IX','CUSTOMERS_PK','CUST_EMAIL_IX','CUST_ACCOUNT_MANAGER_IX','CUST_FUNC_LOWER_NAME_IX','ADDRESS_PK','ADDRESS_CUST_IX','CARD_DETAILS_PK','CARDDETAILS_CUST_IX'
Valid Views : 'PRODUCTS','PRODUCT_PRICES'
Valid Sequences : 'CUSTOMER_SEQ','ORDERS_SEQ','ADDRESS_SEQ','LOGON_SEQ','CARD_DETAILS_SEQ'
Valid Code :
Invalid Objects (1)
================
Invalid Tables :
Invalid Indexes :
Invalid Views :
Invalid Sequences :
Invalid Code : 'ORDERENTRY'
Missing Objects (0)
================
Missing Tables :
Missing Indexes :
Missing Views :
Missing Sequences :
Missing Code :
Schema Created
real 7m51.663s
user 3m23.913s
sys 0m24.096s
[root@oracle bin]# ./charbench -u soe1 -p soe1 -uc 1 -min 10 -max 200 -rt 00:01 -a -s -r scale1_100user.xml
|
|