Script File Execution and related configuration after Oracle 11g database is created

Source: Internet
Author: User

Assume that no instance is created, no SCOTT user, and no EMP file are created when you create an Oracle database.

Execute the following script files:

Path: {ORACLE_HOME} \ RDBMS \ ADMIN

1. SQL> @ .. \ utlsampl. SQL (********)
Used to create a SCOTT user and some tables under the user, such as EMP and DEPT.
After execution, the SQL command page is exited and the system returns to cmd. Enter again and use

Select username from dba_users order by username; you can see that the scott user has been created.

SQL> conn scott/tiger;

2. SQL> @ .. \ catalog. SQL (*******)
Creates the views of the data dictionary tables, the dynamic performance views, and public synonyms for example of the views. Grants PUBLIC access to the synonyms

3. SQL> @ .. \ catproc. SQL (*******)
Runs all scripts required for or used with PL/SQL.

4. SQL> @ .. \ PUPBLD. SQL :(***)
Required for SQL * Plus. Enables SQL * Plus to disable commands

5. SQL> @ .. \ DBMSSTDX. SQL:
Before a trigger can be created, the user SYS must run this SQL script

6. SQL> @... \ STANDARD. SQL:
Before run PL/SQL, the user SYS must run this SQL script

Check whether the current database version is consistent with the system version, for example, 32-bit/64-bit
Select * from v $ version; (sys)

To prevent slow startup, log on to services. msc to close oracle services and enable oracle services as needed. That is, change to manual instead of starting oracle at startup.

Configure Net Configuration Assistant, including the listener and related service names.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.