🛡️ Oracle Database Creation
This guide provides a simple walkthrough for creating a new Oracle Database. Follow the steps below and execute the provided commands in your SQL*Plus environment.
Step 1: Connect to SQL*Plus
Log in to SQL*Plus as a privileged user. For example:
sqlplus / as sysdba
Step 2: Create the Database
Execute the following command to create a new Oracle Database. Adjust the parameters (database name, file paths, passwords) as needed:
CREATE DATABASE your_database_name
USER SYS IDENTIFIED BY your_sys_password
USER SYSTEM IDENTIFIED BY your_system_password
LOGFILE GROUP 1 ('/path/to/redo1.log') SIZE 50M,
GROUP 2 ('/path/to/redo2.log') SIZE 50M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16;
Step 3: Initialize and Start the Database
Configure the necessary initialization parameters by editing your init.ora
file or creating an SPFILE, then start the database:
STARTUP
Step 4: Run Required Scripts
Execute the following scripts to create the data dictionary and install standard PL/SQL packages:
@?/rdbms/admin/catalog.sql
@?/rdbms/admin/catproc.sql
For further details, refer to the official Oracle documentation .