Professional Documents
Culture Documents
Introduction To The Oracle Database: Data Files
Introduction To The Oracle Database: Data Files
Introduction To The Oracle Database: Data Files
Control Files
Control files are in binary files. They contain information about the database. They are needed to
mount the database.
Switching logfile
When a log switch occurs, the log writer (LGWR) process stops writing to the current
online redo log group and starts writing to the next available redo log group. After a log switch,
the current online redo log group becomes inactive, and the next available online redo log
group becomes the current online redo log group. You can force a log switch to make the
current redo group inactive and available for redo log maintenance operations. Forcing a log
switch is useful in configurations with large redo log files that take a long time to fill.
User Creation
Once connected as system, simply issue the create user command to generate a new account.
Grant Statement
With our new books admin account created, we can now begin adding privileges to the
account using the grant statement. GRANT is a very powerful statement with many possible
options, but the core functionality is to manage the privileges of both user and roles throughout
the database.
Revoke Statement
The Oracle revoke statement revokes system and object privileges from a user.
• Current client SQL statements being processed by the database are allowed to complete.
• Uncommitted transactions are rolled back.
• All connected users are disconnected.
Normal:- Performs a consistent shutdown of the target database with normal priority (default
option), which means:
• No new connections are allowed after the statement is issued.
• Before shutting down, the database waits for currently connected users to disconnect
• The next startup of the database will not require instance recovery.
• Clients currently conducting transactions are allowed to complete, that is, either commit
or terminate before shutdown.
• No client can start a new transaction on this instance; any client attempting to start a
new transaction is disconnected.
• After all transactions have either committed or terminated, any client still connected is
disconnected.