Name | Value |
---|---|
background_dump_dest | /u02/oracle/product/82/admin/ORA82/bdump |
compatible | 8.1.7 |
control_files | ("/u03/app/oracle/product/9i/OID/dbs/control01.ctl", "/u03/app/oracle/product/9i/OID/dbs/control02.ctl", "/u03/app/oracle/product/9i/OID/dbs/control03.ctl") |
db_block_buffers | 44295 |
db_block_size | 8192 or 16K |
db_domain | |
db_name | ORADW |
db_file_multiblock_read_count |
|
distributed_transactions | 10 |
instance_name | ORA82 |
java_pool_size | 20971520 |
job_queue_processes | 4 |
large_pool_size | 614400 |
log_buffer | 163840 |
log_checkpoint_interval | 10000 |
log_checkpoint_timeout | 1800 |
max_enabled_roles | 30 |
open_cursors | 300 |
open_links | 4 |
processes | 150 |
remote_login_passwordfile | EXCLUSIVE |
shared_pool_size | 118122KB |
sort_area_retained_size | 65536 |
sort_area_size | 65536 |
user_dump_dest | /u02/oracle/product/82/admin/ORA82/udump |
Datafiles |
---|
/u03/app/oracle/product/9i/OID/dbs/system01.dbf |
/u03/app/oracle/product/9i/OID/dbs/indx01.dbf |
/u03/app/oracle/product/9i/OID/dbs/temp01.dbf |
/u03/app/oracle/product/9i/OID/dbs/drsys01.dbf |
/u03/app/oracle/product/9i/OID/dbs/tools01.dbf |
/u03/app/oracle/product/9i/OID/dbs/users01.dbf |
/u03/app/oracle/product/9i/OID/dbs/cmwlite01.dbf |
/u03/app/oracle/product/9i/OID/dbs/rbs01.dbf |
Controlfile |
---|
/u03/app/oracle/product/9i/OID/dbs/control01.ctl |
/u03/app/oracle/product/9i/OID/dbs/control02.ctl |
/u03/app/oracle/product/9i/OID/dbs/control03.ctl |
Group | Size(K) |
---|---|
1 | 500 |
2 | 500 |
3 | 500 |
ORADWH.WORLD
=
(DESCRIPTION
=
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mymachine)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = oradwh.world)
)
)
(SID_DESC
=
(GLOBAL_DBNAME = oradwh.world)
(ORACLE_HOME = /u02/oracle/product/82)
(SID_NAME = oradwh)
)
sqlplus
system/manager@ oradwh.world;
@?/rdbms/admin/utlxplan
sqlplus system/manager@oradwh as SYSDBAconnect internal;
shutdown;
shared_pool_size = 15728640
In general, shared pool size should be equal to approximately 20% of the total physical memory.
hash_area_size = 8388608
parallel_automatic_tuning = true
parallel_threads_per_cpu = 4
optimizer_mode = "all_rows"
always_anti_join = hash
always_semi_join = hash
hash_multiblock_io_count = 8
One of the major benefits of creating and maintaining materialized views is the ability to take advantage of query rewrite, which transforms a SQL statement expressed in terms of tables or views into a statement accessing one or more materialized views that are defined on the detail tables.
To enable query rewrite set:query_rewrite_enabled = true
query_rewrite_integrity = trustedTo get the best possible performance for star queries, it is important to follow some basic guidelines. A bitmap index should be built on each of the foreign key columns of the fact table or tables. The initialization parameter STAR_TRANSFORMATION_ENABLED should be set to TRUE.
This enables an important optimizer feature for star-queries. It is set to FALSE by default for backwards-compatibility.star_transformation_enabled = true
To collect and analyze the summary event set, you must do the following(optional):
Set six initialization parameters to collect data via Oracle Trace.
Enabling these parameters incurs some additional overhead at database connection, but is otherwise transparent.oracle_trace_collection_name = oraclesm
oracle_trace_collection_path=location
oracle_trace_collection_size = 0
oracle_trace_enbable = true
oracle_trace_facility_name = oraclesm
oracle_trace_facility_name = location
Create
a new tablespace called demo size 200MB. From a SQL*Plus session, run this
script: sh_main.sql.
It creates the SH
schema and also creates and populates the following tables:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|