To build an Oracle DB instance with commands

Source: Internet
Author: User

6. Build a Database
CREATE DATABASE Fashion
USER SYS identified by Oracle
USER SYSTEM identified by Oracle
LOGFILE GROUP 1 (' G:\oracle\product\10.2.0\oradata\fashion\redo01.log ') SIZE 100M,
GROUP 2 (' G:\oracle\product\10.2.0\oradata\fashion\redo02.log ') SIZE 100M,
GROUP 3 (' G:\oracle\product\10.2.0\oradata\fashion\redo03.log ') SIZE 100M
Maxlogfiles 5
Maxlogmembers 5
Maxloghistory 1
Maxdatafiles 100
Maxinstances 1
CHARACTER SET Us7ascii
National CHARACTER SET AL16UTF16
DataFile ' G:\oracle\product\10.2.0\oradata\fashion\system01.dbf ' SIZE 500M reuse
EXTENT MANAGEMENT LOCAL
Sysaux datafile ' G:\oracle\product\10.2.0\oradata\fashion\sysaux01.dbf ' SIZE 325M
Reuse
DEFAULT Temporary tablespace tempts1
Tempfile ' G:\oracle\product\10.2.0\oradata\fashion\temp01.dbf ' SIZE 20M reuse
UNDO tablespace undotbs1--The UNDOTBS1 here will be the same as in the initial change parameters.
DataFile ' G:\oracle\product\10.2.0\oradata\fashion\undotbs01.dbf '
SIZE 200M Reuse autoextend on MAXSIZE UNLIMITED;


7. Create a data dictionary
Sql>@?/rdbms/admin/catalog
Sql>@?/rdbms/admin/catproc
Sql>conn system/oracle
Sql>@?/sqlplus/admin/pupbld

This article from the "Sky Fei" blog, declined to reprint!

To build an Oracle DB instance with commands

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.