Oracle Fast Build table space, user, empower

Source: Internet
Author: User
Tags sqlplus

This article is not to give beginners a detailed explanation of how Oracle under the table space, user, empowerment and other command parameters and meaning, this article may only have a certain Oracle foundation of friends to help.

The Oracle database was also started in the recent project, and when the environment was set up, I found that my Oracle commands were almost forgotten, so I got some statements from the Internet: I can quickly build table space, users and empower, because my current project is not very rigorous, so like temporary table space, Details such as Oracle's permissions assignment are ignored here.

Since the beginning of the 10g, Oracle's console changed to a Web page form, not only the interface changes and relative speed is much slower, so I like to use the command line to operate the background.

1. Login to Oracle Sqlplus (both Windows and Linus apply)

Sqlplus/nolog

Connect SYSDBA as Sysdba

Show user; If successful, entering the command should return "SYS"

2. Building Table Space Statements

CREATE tablespace table space name datafile ' E:\oracle\product\10.1.0\oradata\ table space name. ORA ' size table space size autoextend on;

3. Create a user

Create user username identified by user password default tablespace tablespace name (temporary tablespace temporary tablespace name);

4. Empowering

Rant resource,connect,dba to user name; Assigning DBA authority to a user

5. Once you have configured Oracle NET manage, you can use the pl/SQL Developer Connection tool to access the table space you have just built.

Oracle Fast Build table space, user, empower

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.