L A B O V E R V I E W |
Scenario/Summary |
Although creation of new database requires the editing of several support files for the database (the listener.ora and tnsnames.ora files in particular), the CREATE DATABASE script is the essential file that would need to be run to accomplish this process. In this lab you will be responsible for writing a CREATE DATABASE script that would create a new database named LABII, based on a specific set of requirements that will be listed later. The basic configuration for the server the database instance will use is:
- Disk Drives: There are three disk drives you will be using – C:\ - E:\ - F:\
- OFA directory paths: The OFA path for each drive that you will use to place the described files in is:
\ORACLE\ORADATA\ORACLEVERY IMPORTANT – DO NOT ATTEMPT TO RUN YOUR SCRIPT FILE OR TEST IT!! Doing so could cause unforeseen problems and that is not the objective of the lab. You will be furnished with a solution later that you can compare your example against.
L A B S T E P S |
Step 1: The CREATE DATABASE SQL |
- The following parameters need to be defined and settings assigned:
- maxlogfiles to allow up to 5 groups
- maxlogmembers to allow up to 4
- maxdatafiles to allow up to 100
- maxinstances to allow only 2
- Named SYSTEM01.DBF Located on the C: with the directory path noted above. Have a storage clause set to AUTOEXTEND ON NEXT 10240K and should have a MAXSIZE of UNLIMITED.
- Have a file size of 100M.
- A system auxilary datafile should be based on the following guidelines:
- Named SYSAUX01.DBF Located on the C: with the directory path noted above. Have a storage clause set to AUTOEXTEND ON NEXT 10240K and should have a MAXSIZE of UNLIMITED.
- Have a file size of 100M.
- Two logfile groups should be created based on the following guidelines:
- Each group should have two 4M logfiles. Log group one will have file REDO01A.LOG located on the C: drive and REDO01B.LOG located on the E: drive. Each drive should use the directory path noted above in the opening scenario/summary section.
- Log group two will have file REDO02A.LOG located on the E: drive and REDO02B.LOG located on the F: drive. Each drive should use the directory path noted above in the opening scenario/summary section.
REMEMBER-–You are not required, nor should you try, to execute this script.
Related Documents
No comments:
Post a Comment