Академический Документы
Профессиональный Документы
Культура Документы
About Me...
Robert G. Freeman Principle Engineer, LDS Church dbaoracle@aol.com or robertgfreeman@yahoo.com Books: Oracle Database 10g RMAN Backup and Recovery OP Oracle Database 10g New Features OP Portable DBA: Oracle OP Oracle9i New Features - OP Oracle9i RMAN Backup and Recovery - Oracle Press (OP) Mastering Oracle8i Database Administration - Sybex Oracle 8 to 8i Upgrade Exam Cram - Coriolis Oracle 7.3 to 8 Upgrade Exam Cram - Coriolis
Avg # blocks in MB IO Read. Avg read time for a MB IO Req. Avg read time for a SB IO Req.
Oracle uses these statistics to determine if a FTS or an index lookup will be more efficient (effectively calculating the db_file_multiblock_read_count parameter)
Be careful of this if you are upgrading to 10g and you didn't analyze your objects for a reason!
Our job won't show up here because it's part of a window group.
Use the alter tablespace and drop tablespace commands to manage bigfile tablespaces, just as you would normal tablespaces.
Now all new users will be assigned to the tbs_group_01 tablespace group as the default temporary tablespace. If you are using bigfile temporary tablespaces, this allows you to stripe the IO across many different BF temp tablespaces.
Or
ORA-04031: unable to allocate XXXX bytes of shared memory ("large pool","unknown object","session heap","frame")
SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS ---------- --------------- ------------ ------------------- ------------------105 .75 267 1.1883 13077 140 1 225 1 11429 175 1.25 204 .9058 10707 210 1.5 201 .8924 10707 245 1.75 201 .8924 10707 280 2 201 .8924 10707
1. Using a database view, how can you tell definitively that you are or are not using a SPFILE? 2. Which of these accounts does not have a default password that is the same as the account name? a. MDDATA b. MDSYS c. DMSYS d. OLAPSYS e. ORDSYS
1. Using a database view, how can you tell definitively that you are or are not using a SPFILE? Use the v$spparameter view column isspecified. If it is set to FALSE for all columns then a SPFILE is not being used by the instance. If one column is set to TRUE, then an SPFILE is being used.
2. Which of these accounts does not have a default password that is the same as the account name? a. MDDATA b. MDSYS c. DMSYS d. OLAPSYS Default is manager e. ORDSYS
Source: http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm
Oracle will create flashback logs in the flash recovery area. You can then use the flashback database command to flashback the database. To perform a flashback, the database must be mounted, not open. Examples:
SQL> Flashback database to timestamp (sysdate-2); SQL> flashback database to scn 2034455;
----------- ---------- -------------------- --------------------- --GUAR_RP 7956618 26-NOV-06 09.50.44.0 00000000 PM 8 YES
Source: http://www.oracle.com/technology/deploy/availability/htdocs/xtts.htm
V_sql:='Select s.prod_id, s.cust_id, sum(s.amount_sold) Sum_amount from sales s, customers cs Where s.cust_id=cs.cust_id Group by s.prod_id, s.cust_id'; Dbms_mview.estimate_mview_size ( stmt_id => 'MVIEW_ESTIMATE', select_clause=>v_sql, num_rows=>v_num_rows, num_bytes=>v_num_bytes); Dbms_output.put_line('Rows= '||v_num_rows); Dbms_output.put_line('Bytes= '||v_num_bytes); End; / Rows= 359386
You can not drop the last datafile in a tablespace. Can't drop a datafile with data.
Summary
Well that was about 140 slides of Oracle10g New Features for you! 11g is coming next year! Thanks for coming!!