Progress and Oracle Same and Different Points to
- Slides: 45
Progress and Oracle Same and Different
Points to consider • Database Size PUG Challenge Americas 065 Progress and Oracle 2
Database Size Progress • • Small Medium Large VLDB Oracle < 10 GB 10 -100 GB 100 -500 GB 0. 5 -5 TB • • Small Medium Large VLDB PUG Challenge Americas 065 Progress and Oracle < 1 TB 1 -50 TB 50 -200 TB 3
Points to consider • Database Size • High Availability PUG Challenge Americas 065 Progress and Oracle 4
Cluster db Active - Passive Server 1 Memory Active – Active Server 2 Apw, Biw, Aiw, Wdog DB Server 1 Memory Server 2 Memory DBWn, LGWR ARCn, SMON PUG Challenge Americas 065 Progress and Oracle 5
Cluster db 2 Server 1 Server 2 Memory Server 1 Apw, Biw, Aiw, Wdog Server 2 Memory DBWn, LGWR ARCn, SMON PUG Challenge Americas 065 Progress and Oracle 6
Planned Downtime Schema change Software upgrade Progress proutil –C conv 910 30 seconds Oracle 42 steps upgrade project 40 -50 min PUG Challenge Americas 065 Progress and Oracle 7
Points to consider • Database Size • High Availability • Licenses PUG Challenge Americas 065 Progress and Oracle 8
Licenses • Enterprise Database $$ • Workgroup Database $ • Enterprise Edition $$$$ • Standard Edition One $ • Express Edition Free • OE Replication • OE Management • TDE • Partitioning • Real Application Clusters • Data. Guard • Diagnostics Pack • Tuning Pack PUG Challenge Americas 065 Progress and Oracle 9
Points to consider • • • Database Size High Availability Licenses Hardware costs IT Stuff PUG Challenge Americas 065 Progress and Oracle 10
Additional Products Open. Edge Management Oracle Enterprise Manager PUG Challenge Americas 065 Progress and Oracle 11
PUG Challenge Americas 065 Progress and Oracle 12
OEM Tablespaces PUG Challenge Americas 065 Progress and Oracle 13
PUG Challenge Americas 065 Progress and Oracle 14
OEM show SQL PUG Challenge Americas 065 Progress and Oracle 15
PUG Challenge Americas 065 Progress and Oracle 16
OEM parameters PUG Challenge Americas 065 Progress and Oracle 17
PUG Challenge Americas 065 Progress and Oracle 18
OEM Users PUG Challenge Americas 065 Progress and Oracle 19
PUG Challenge Americas 065 Progress and Oracle 20
Additional Products Open. Edge Management Oracle Enterprise Manager Open. Edge Replication Plus Oracle Data. Guard Oracle Active Data. Guard Brave. Point Pro 2 SQL Oracle Golden Gates Real Application Clusters (RAC) Oracle Data Integrator PUG Challenge Americas 065 Progress and Oracle 21
PUG Challenge Americas 065 Progress and Oracle 22
Physical Structure (data files) Database File sports. db Control File(s) control 01. ctl System Area sports. d 1 System Tablespace system. dbf D Files area. d Datafiles tablespace. dbf Before-Image File + After-Image File sports. b 1 + sports. a 1 Undo tablespace + Redo Log undotbs. dbf + redo 01. log Copy of After. Image File sports. date _time_etc Archive Log sports. date_time_ etc Structure file sports. st Backup of control file to trace file Log File sports. lg Alert Log alert_sports. log Parameter File sports. pf pfile (or spfile) initsports. ora PUG Challenge Americas 065 Progress and Oracle 23
Logical Structure Area Tablespace System Tablespace Area consists of Objects are Tablespace objects Tables or Indexes consists of segments Segments: Tables, Indexes, Undo, etc Each Object has Clusters size one or more could be 8, 64 or Clusters 512 blocks An extent is a series of blocks that are consecutively numbered within a datafile Clusters consist of blocks Schema Area Each Segment has one or more Extents blocks 1, 2, 4 or 8 K Extents consist of blocks PUG Challenge Americas 065 Progress and Oracle blocks 2, 4, 8, 16, 32 or 64 K 24
Background Processes Asynchronous Page Writer APW Database Writer DBWn Before Image Writer BIW Log Writer LGWR AI Management AIMGT Archive Process ARCn Watch Dog WDOG Process Monitor PMON Database Broker _mproserv System Monitor SMON Many other …. Login Broker -H server –S db_port _mproserv Listener lsnrctl Server, Listener port, db name PUG Challenge Americas 065 Progress and Oracle 25
Meta-schema and VST Progress Meta-schema tables -80 < _file-number < 0 Progress VST _file-number < -16384 Progress Table Field Oracle View Column _Area-name DBA_TABLESPACES TABLESPACE_NAME _Area. Extent _Extent-Path DBA_DATA_FILES FILE_NAME _Storage. Object _Object-type (1, 2 or 3) DBA_OBJECTS object_type (38 types) _File-name DBA_TABLES TABLE_NAME _Field-name DBA_TAB_COLUMNS COLUMN_NAME _Index-name DBA_INDEXES INDEX_NAME _Sequence _Seq-name DBA_SEQUENCES SEQUENCE_NAME PUG Challenge Americas 065 Progress and Oracle 26
Meta-schema and VST Virtual System Tables V$ (Vee dollar) Views _Connect v$session, v$process _Db. Status v$instance, v$sysstat _Trans v$transaction _Lock v$lock _Latch v$latch _Area. Status v$tablespace _Filelist v$datafile _Startup (some) v$parameter PUG Challenge Americas 065 Progress and Oracle 27
Oracle simplify memory parameter settings (-B) V 9 db_cache_size log_buffer shared_pool_size large_pool_size java_pool_size streams_pool_size pga_aggregate_target V 10 SGA_TARGET pga_aggregate_target PUG Challenge Americas 065 Progress and Oracle V 11 MEMORY_TARGET 28
Environment Variables and Installation DLC /usr/dlc 102 B ORACLE_HOME /usr/oracle/11. 2. 0 PATH $DLC/bin PATH $ORACLE_HOME/bin To install proinst To install run. Installer PUG Challenge Americas 065 Progress and Oracle 29
Create Database PUG Challenge Americas 065 Progress and Oracle 30
PUG Challenge Americas 065 Progress and Oracle 31
PUG Challenge Americas 065 Progress and Oracle 32
Create Database • prodb mydb • procopy empty 8 mydb • A set of. sql scripts • create database mydb; • Min size 5 MB • Min size 512 MB • Min memory 160 KB • Min memory 512 MB • Time to create 1 second • Time from 20 min to 1. 5 hr PUG Challenge Americas 065 Progress and Oracle 33
Shutdown • Unconditional Shutdown • Emergency Shutdown • • Shutdown Normal Shutdown Transactional Shutdown Immediate Shutdown Abort PUG Challenge Americas 065 Progress and Oracle 34
Startup Closed Open Closed Nomount mode Mount mode Open PUG Challenge Americas 065 Progress and Oracle 35
Backup Progress backup – simple Oracle RMAN – More complicated probkup db_name file_name Progress and Oracle : Online and Offline (Hot and Cold) Progress and Oracle : Complete and Incremental Oracle backup : could be Full and Partial PUG Challenge Americas 065 Progress and Oracle 36
Compressed Backup 700 GB Progress DB makes about 600 GB probkup 1. 4 TB Oracle DB makes either 1. 2 TB regular backup or 250 GB RMAN compressed backup (BZIP 2 is default). PUG Challenge Americas 065 Progress and Oracle 37
Dump and Load Dictionary Dump and Load in ASCII format (. d) or 4 GL export/import SQL select/insert “SQL Loader” or External Tables 10 g Binary Dump (proutil –C dump) Oracle export (exp tables=tbl_name) Binary Load (proutil –C load) Oracle import (imp file=file_name) Binary Dump multithreaded V 10 Oracle Data Pump Export (expdp) 10 g Oracle Data Pump Import (impdp) 10 g Dump/Load. df Export/Import (exp full=y rows=n) PUG Challenge Americas 065 Progress and Oracle 38
Flashback Database Flashback Table Flashback Drop Flashback Query Flashback Version Query Flashback Transaction Query PUG Challenge Americas 065 Progress and Oracle 39
Flashback Database -- Flash database 1 hour back SQL> flashback database to timestamp sysdate-(1/24); Using Standby Database for Testing SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; SQL> CREATE RESTORE POINT Standby_flashback_testing GUARANTEE FLASHBACK DATABASE; SQL> ALTER DATABASE OPEN; --- Make a Test on a Standby DB SQL> FLASHBACK DATABASE TO RESTORE POINT Standby_flashback_testing ; SQL> ALTER DATABASE CONVERT TO PHYSICAL STANDBY; PUG Challenge Americas 065 Progress and Oracle 40
Flashback Table SQL> delete from employees 10000 rows deleted. SQL> commit Commit complete. SQL> select count(*) from employees; COUNT(*) -----0 … Oops … SQL> flashback table employees to timestamp systimestamp - interval '15' minute; Flashback complete. SQL> select count(*) from employees; COUNT(*) -----10000 PUG Challenge Americas 065 Progress and Oracle 41
Flashback Drop SQL> drop table Customer; -- DDL … Oops … SQL> select object_name, original_name, type, droptime from recyclebin; OBJECT_NAME ORIGINAL_NAME TYPE DROPTIME BIN$U/9 fv. JKb. XOzg. QKj. AYAIWhw==$0 Customer Table 2011 -06 -07 10: 57: 01 SQL> flashback table "BIN$U/9 fv. JKc. XOzg. QKj. AYAIWhw==$0" to before drop; PUG Challenge Americas 065 Progress and Oracle 42
Flashback Query SQL> delete from employees where employee_id in (195, 196); 2 rows deleted. SQL> commit; Commit complete. … Oops … SQL> insert into employees select * from employees as of timestamp systimestamp - interval ‘ 30' minute where employees. employee_id not in (select employee_id from employees); 2 rows created. SQL> commit; Commit complete. PUG Challenge Americas 065 Progress and Oracle 43
Raid 5 RAID 5 PUG Challenge Americas 065 Progress and Oracle 44
Questions www. proora. com levin-d@hotmail. com dlevin@broderbros. com www. peg. com PUG Challenge Americas 065 Progress and Oracle 45
- Argumenterande tal struktur
- Physical progress and financial progress
- Bullseye positioning model
- Point of difference and point of parity
- The same area at the same time
- Same place same passion
- Similar figures have the same but not necessarily the same
- Similar figures
- E z cis trans
- The locus of all points that are the same distance
- Homonyms nedir
- Apa intext citation 3 authors
- In text citation apa with multiple authors
- Apa intext citation 3 authors
- Apa author name
- Sense reference referent
- Adding integers with the same sign
- Different people different things
- Two different cylinders with the same volume
- Homologous structures
- 5 rows and 2 columns
- True length
- What are the different types of point of view
- Thermosoftening plastics examples
- Technicolor test
- Sound will travel at different speeds in different mediums.
- Lrefraction
- Cultural relativism
- Different angle different story
- Acid and base song
- Manufactured boards examples
- Progress and performance measurement and evaluation
- Progress and performance measurement and evaluation
- Progress in leaps and bounds
- Difference between progress report and status report
- Quantum computing: progress and prospects
- Attainment 8 calculator
- Let's test your knowledge
- Chapter 10 an age of democracy and progress answer key
- Tsniimash or "rocket and space centre progress"
- Lausd sspt
- Difference between progress and progression
- Reading for pleasure and progress
- Practice and progress in the hkdse
- Measuring economic sustainability and progress
- Integrated commissioning and progress system