Manual Oracle database creation

Source: Internet
Author: User

To sum up, manual database creation is a basic skill that DBAs must possess. Of course, it is not always usable, but it can be clearly understood by me.

What is the directory structure of Oracle? Oracle files, tablespaces, authentication methods, and other concepts. Of course, you need to work on your own. Of course, don't forget the most important thing.

These are all for us to learn how to plan oracle. Of course, this is difficult. Learn it slowly.

Before creating a database:

Unique instance name and Database Name

Character Set

Confirm parameter file

Database status (three stages: nomount, mount, and open: Of course, you need to understand the files started in these three stages)

Logs

Database creation

Generate data dictionary

Create a user tablespace.

Note: The above points must be mastered.

Create a database named cuug and support Chinese Characters

1. Create a password file.

Before creating a password file, let's take a look at the authentication methods such as OS and oracle. By default, operating system authentication is enabled after each platform is installed.

That is to say, you can log on without the user name or password.

OS authentication: you can log on to the operating system as an administrator to log on to the database.

Oracle (password file): You must log on with an oracle Administrator Account (the default is sys. Of course, you can also authorize dba by sys ).

Oracle provides us with an orapwd tool, which is very convenient to use. Password text

In the $ ORACLE_HOME/dbs directory (the password file orapwdcuug is created here)


Use orapwd to create a password file

Command: -- orapwdfile = orapwdSID password = password entries = n force = y;

Number of Entries user connections.

  • 1
  • 2
  • 3
  • Next Page

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.