Download presentation
Presentation is loading. Please wait.
Published byDylan Randolf Haynes Modified over 9 years ago
2
Oracle Installation and Management in a nutshell
3
Installation Pre-Installation checks: Ignore the result:./runInstaller -ignoreSysPrereqs
4
Installation - OUI checks
5
Installation
6
Database CD - User defined installation Important: CUSTOM does ALWAYS install an Enterprise Edition
7
Oracle Database 11 g Installation Changes Addition of new products to the install SQL Developer Movement of APEX from companion CD to main CD Warehouse Builder (server-side pieces) Oracle Configuration Management (OCM) New Transparent Gateways Removal of certain products and features from the installation: OEM Java Console Oracle Data Mining Scoring Engine Oracle Workflow i SQL*Plus
8
Enterprise Manager 11g Database Control
9
Parameters Classes of parameters... some "_"-Parameters 228 Advanced Parameters 29 Basic Parameters
10
Hard facts: Approximately just 15 of the basic parameters will be used very often Parameter changes: 10g R1 10g R2 Deprecated134 Obsolete291 New255
11
New Parameters New in 10gR1 ASM_DISKGROUPS ASM_DISKSTRING ASM_POWER_LIMIT DB_FLASHBACK_RETENTION_TARGET DB_RECOVERY_FILE_DEST DB_RECOVERY_FILE_DEST_SIZE DB_UNIQUE_NAME DDL_WAIT_FOR_LOCKS FILEIO_NETWORK_ADAPTERS GCS_SERVER_PROCESSES INSTANCE_TYPE LDAP_DIRECTORY_ACCESS LOG_ARCHIVE_CONFIG LOG_ARCHIVE_LOCAL_FIRST PLSQL_CODE_TYPE PLSQL_DEBUG PLSQL_OPTIMIZE_LEVEL PLSQL_WARNINGS RESUMABLE_TIMEOUT SGA_TARGET SKIP_UNUSABLE_INDEXES SMTP_OUT_SERVER SP_NAME SQLTUNE_CATEGORY STREAMS_POOL_SIZE New in 10gR2 AUDIT_SYSLOG_LEVEL COMMIT_WRITE OPTIMIZER_SECURE_VIEW_MERGING PLSQL_CCFLAGS RECYCLEBIN
12
Parameter COMPATIBLE At least has to be 10.1.0 in a 11g database No way back once 11.0 has been set Supported downgrade only down to 10.1 or 10.2 COMPATIBLE = 10.1.0 COMPATIBLE = 11.1.0
13
Parameter Defaults & Recommendations LOG_ARCHIVE_FORMAT must contain %s, %t a nd %r DB_FILE_MULTIBLOCK_READ_COUNT shouldn't be set anymore - the database computes the best value PGA_AGGREGATE_TARGET: not specified:enabled with 20% of SGA size 0:disabled Value specified:PGA size = value PGA_AGGREGATE_TARGET: not specified:enabled with 20% of SGA size 0:disabled Value specified:PGA size = value STATISTICS_LEVEL = TYPICAL [Default] enables a lot of statistics/tuning automatismn and possibilities STATISTICS_LEVEL = TYPICAL [Default] enables a lot of statistics/tuning automatismn and possibilities OPTIMIZER_DYNAMIC_SAMPLING = 2 [Default] If an object has no statistic data the CBO will generate some sample statistics during parse OPTIMIZER_DYNAMIC_SAMPLING = 2 [Default] If an object has no statistic data the CBO will generate some sample statistics during parse
14
Parameter Defaults & Recommendations RECYCLEBIN = ON [Default] switches on the recycle bin if: a) the tablespace is LOCALLY MANAGED b) objects don't reside in the SYSTEM tablespace c)object owner is not user SYS or SYSTEM Then deleted objects can be recovered easily with their direct dependend objects: USER_RECYCLEBIN: OBJECT_NAME ORIG OPER TYPE CAN BIN$/U0DO44XUeXgMFaMimgQ==$0 EMP DROP TABLE YES SQL> flashback table EMP to before drop; SQL> flashback table " BIN$/U..." to before drop; If the recycle bin shall be bypassed: SQL> drop table EMP purge; RECYCLEBIN = ON [Default] switches on the recycle bin if: a) the tablespace is LOCALLY MANAGED b) objects don't reside in the SYSTEM tablespace c)object owner is not user SYS or SYSTEM Then deleted objects can be recovered easily with their direct dependend objects: USER_RECYCLEBIN: OBJECT_NAME ORIG OPER TYPE CAN BIN$/U0DO44XUeXgMFaMimgQ==$0 EMP DROP TABLE YES SQL> flashback table EMP to before drop; SQL> flashback table " BIN$/U..." to before drop; If the recycle bin shall be bypassed: SQL> drop table EMP purge;
15
Automated Routine Tasks: Backup & Recovery Use RMAN Use Unified Scheduler to configure regular, scheduled backups Use Recovery Area for on-disk backups Recovery Area is self-managing old files aged out, current files maintained Perform incremental backups Only changed blocks backed up — fast and space efficient Backed up files can be merged with the original You perform a full database backup only once! Work AreaRecovery Area Weekly Archive To Tape Production Database Nightly Apply Incremental Backup Logs & Backups
16
System statistics ( statistics_level=typical ) Every 60 minutes statistical data will be collected, analyzed and kept for 7 days by default Additionally data will be collected and evaluated for active sessions Changes on data inside the database will be monitored in the background Default jobs Object statistics Free up segments Automated Routine Tasks
17
Default Jobs 2 default jobs run once a day in a specified time frame: GATHER_STATS_JOB : Gathering of statistics for the whole database AUTO_SPACE_ADVISOR_JOB: Find out segments with space to free up and with many migrated rows
18
Instant Client For OCI-, OCCI-, Pro*C, ODBC- and JDBC- applications No Oracle client installation necessary Most simple deployment Download from OTN Copy it to the target systems Set TNS_ADMIN That's all...* http://www.oracle.com/technology/tech/oci/instantclien t/instantclient.html * For ODBC a batch file has to be executed because the Windows ODBC management has to be notified
19
A Q & Q U E S T I O N S A N S W E R S
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.