Database commands

Posted by user12609425 on Oracle Blogs See other posts from Oracle Blogs or by user12609425
Published on Wed, 29 Aug 2012 22:47:36 +0000 Indexed on 2012/08/30 3:44 UTC
Read the original article Hit count: 223

Filed under:

Ops Center has two database options - you can have Ops Center automatically install a database on the Enterprise Controller system, or you can use your own database on any system you choose. If you use your own database, it's obviously important to make sure that this database is running smoothly. You have a few tools that can help you do this.

The first is the ecadm command. This command has a variety of subcommands that let you view and control the status of the Enterprise Controller. Two subcommands in particular are relevant to the database:

ecadm verify-db: This subcommand verifies that the database is reachable and that the schemas are configured with the proper permissions. Use the -v option if you want more details; the command is normally terse if the DB is configured correctly.

ecadm sqlplus -r: This subcommand opens an sqlplus console connection to the database. The -r option makes this console read-only, which isn't necessary, but is generally a good idea.

You can also view the database contents using Oracle SQL Developer or other tools. The Accessing Core Product Data how-to describes this process.

© Oracle Blogs or respective owner

Related posts about /Document