An Analysis of Oracle tablespaces

Source: Internet
Author: User

Questions about Oracle user tablespace Permissions: User A is created under SYS. The default tablespace is A1 and the temporary tablespace is A2.

Then create table space A3. How does user A have the permission to create A table in A3? The premise is that a create any table and DBA permissions are not granted (that is, the tablespace that user A can use is A1, A2, A3 ).

After A3 is changed to SYS's default tablespace SYSTEM, is the answer feasible?

By the way, what is the use of the TABS table in oracle?

Oracle user tablespace permissions:

Question 1

You only need to allocate the a3 tablespace quota to user a. You only need to execute it under sys.

 
 
  1. SQL>ALTER USERA QUOTA UNLIMITEDONA3;-- A users can use the a3 tablespace infinitely. 

Or

 
 
  1. SQL>ALTER USERA quota 100 MOnA3;-- A users can use data in the 100Ma3 tablespace. 

Question 2

Tabs is a synonym for user_tables. It is created by oracle to simplify the writing of SQL statements. You only need to execute the following query in system.

 
 
  1. select * from dba_synonyms   
  2. where synonym_name='TABS' 
The Oracle user's tablespace permission is described here.

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.