Now that you have successfully created the COIN database, there are a number of housekeeping tasks that you must complete before you can really use it. The first of these tasks is to execute a script named CATALOG.SQL. This script can be found in the $ORACLE_HOME/admin/rdbms directory. Its purpose is to create the data dictionary views used to obtain information about the database. In a nutshell, CATALOG.SQL creates the following:
- Public synonyms for all the V$ views
- The V_$ views
- The DBA views
- The ALL views
- The USER views
- Comments on all the above views, and on the view columns
It is instructive to look at the CATALOG.SQL script, and I encourage you to do so. You can learn a lot about how Oracle's data dictionary works. But whatever you do,
do not modify what Oracle has written.
While `svrmgrl` is deprecated, you can achieve its functionality using SQL*Plus commands.
Here are some common tasks and their SQL*Plus equivalents:
- Show Current Server Status:
- Start a Specific Service:
- Stop a Specific Service:
- View Service Information:
Additional Notes:
- Connect to a Specific Instance: Use `CONNECT / AS SYSDBA` in SQL*Plus to connect to a specific instance if needed.
- Explore Further: SQL*Plus offers a wider range of commands for managing Oracle databases. Refer to the SQL*Plus documentation for more details.