Common Oracle database users

Source: Internet
Author: User

As a super-large-scale database, Oracle stores more data than general databases. The following describes the architecture of Oracle databases, the following is a detailed introduction of the article. I hope you will gain some benefits after browsing the following content.

Oracle databases include Oracle database servers and clients.

Oracle Database Server:

Oracle Server is an object-1 relational database management system. It provides open, comprehensive, and integrated information management methods. Each Server is composed of an Oracle DB and an Oracle Server instance. It has Site Autonomy and provides transparent data storage mechanisms to achieve data storage transparency. Each Oracle database corresponds to a unique instance name SID. After the Oracle database server is started,

Generally, there are at least the following users:

Internal, which is not a real user name, but an alias of Sys users with SYSDBA priority. It is used by DBA users to complete database management tasks, including starting and disabling databases; Sys, it is a DBA user name with the maximum database operation permissions; System, it is also a DBA user name, the permissions are second only to Sys users.

Client:

The database user operation end is composed of applications, tools, and SQL * NET. When a user operates a database, the database must be connected to a server called a Local database ). In the network environment, databases on other servers are called Remote databases ). To access data in a remote database, you must establish a database chain.

The architecture of the Oracle database includes the physical and logical storage structures. Because they are separated, the access to the logical storage structure is not affected when you manage the physical storage structure of data.

Oracle Modify Table owner

 
 
  1. create user test identified by test  
  2. grant resource,connect to test;  
  3. create table t1 (id number,name varchar2(20));  
  4. insert into t1 values (1,'xx');  
  5. commit;  
  6. grant all on t1 to test1;  

Such operations seem to be only allowed in the same database.

 
 
  1. create user test1 identified by test1  
  2. grant resource,connect to test1;  
  3. conn test1/test1  
  4. create table temp(id number,name varchar2(20)) 
    partition by range(id)  
  5. (partition part0 values less than (-1),  
  6. partition part1 values less than (maxvalue));  
  7. create table t1(id number,name varchar2(20));  
  8. alter table temp exchange partition part1 with
     table test.t1  
  9. including indexes without validation;  
  10. alter table temp exchange partition part1 with 
    table t1 including indexes without validation;  

The above content is an introduction to some of the content of the owner of the Oracle database and the Oracle modification table.

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.