How do you change the tablespace quota for a user on Autonomous Database on Shared Infrastructure

Q. What are three methods to load data into the Autonomous Database?

Get answer to your question and much more

Q. What are two differentiators of Oracle Autonomous Database Dedicated Infrastructure?

Get answer to your question and much more

Q. Which 3 data dictionary views contain information about analytic view objects?

Get answer to your question and much more

Q. For someone that is not a service administrator to use SQL Developer Web, what packagewould you need to use to give them access?A. SQLDEV_ADMIN.GRANT_SCHEMAB. ORDS_ADMIN.ENABLE_SCHEMAC. ORDS_ADMIN.GRANT_SCHEMAD. ORDS_PRIV.ENABLE_SCHEMAAnswer: C

Q. Which two PL/SQL functions can be used to validate an analytic view? (Choose two.)

Get answer to your question and much more

Q. Which three statements are correct when the Autonomous Database is stopped? (Choosethree.)

Get answer to your question and much more

From the course: Oracle Autonomous Database Cert Prep: Cloud Specialist (1Z0-931-21)

Video is locked.

Unlock this course with a free trial

Join today to access over 20,400 courses taught by industry experts.

Compartment quotas

(bright music) - Welcome to Oracle University's Oracle Cloud Infrastructure Training on the Oracle autonomous database compartment quotas. My name is Angela Wall, and I am looking forward to sharing with you about OCIs compartment quotas, and how they enable customers to allocate resources with a high level of flexibility. Service limits are quotas or allowances that are set on a specific resource. Do be aware that service limits are defined and set by Oracle. They're set by the service you have subscribed to, and they can change automatically based on your OCI resource usage, or by changing your account type. Let's look at a couple of examples. First of all, the service limit is based on the service you've subscribed to. The service could be a database service where the storage is something that is controlled for you. For example, the autonomous database where storage could be anywhere from one to 128 terabytes.…

Contents

The Oracle Autonomous Database dedicated Exadata infrastructure feature is based upon which Oracle Cloud resources?

A. Oracle Machine Learning Zeppelin Notebook, Autonomous Exadata Infrastructure, Fleet Administrator, Database Administrator,

B. Virtual Cloud Network, Compartments, Policies, Autonomous Exadata Infrastructure

C. Autonomous Exadata Infrastructure, Autonomous Backup, Autonomous Container Database, Autonomous Database

D. Fleet Administrator, Database Administrator, Database User, Autonomous Exadata Infrastructure

Autonomous Database come with a predefined database role named DWROLE. This role provides the privileges necessary for most database users. Here are the privileges it grants a user:

CREATE ANALYTIC VIEW
CREATE ATTRIBUTE DIMENSION
ALTER SESSION
CREATE HIERARCHY
CREATE JOB
CREATE MINING MODEL
CREATE PROCEDURE
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
READ,WRITE ON directory DATA_PUMP_DIR

To grant the DWROLE role to a database user, connect to the database as the ADMIN user using any SQL client tool and then enter this SQL statement:

GRANT DWROLE TO user;

Instead of or in addition to granting DWROLE privileges, you can grant individual privileges to users with the GRANT command.

The DWROLE role does not allocate any tablespace quota to the user. If the user is going to be adding data or other objects, you need to grant the user tablespace quota in one of these ways:

  • Grant the user UNLIMITED TABLESPACE privileges:

    GRANT UNLIMITED TABLESPACE TO user;
  • Grant the user quota to tablespaces individually; for example:

    ALTER USER user QUOTA 500M ON data;

Note

Granting the UNLIMITED TABLESPACE privilege allows a user to use all the allocated storage space. You cannot selectively revoke tablespace access from a user with the UNLIMITED TABLESPACE privilege. You can grant selective or restricted access only after revoking the privilege.

How do you change the tablespace quota for user method in autonomous database on shared infrastructure?

Execute alter tablespace DATA set quota = 10G;.
Execute alter tablespace for user MTHEO tablespace DATA quota = 10G;.
Execute DBMS_CLOUD_ADMIN.GRANT_TABLESPACE_QUOTA (username => 'MTHEO',tablespace_quota => 'UNLIMITED');.
Execute alter user MTHEO quota unlimited on tablespace DATA;.

Can we create tablespace in autonomous database?

Defaults in Autonomous Database It cannot be changed. You cannot add additional tablespaces.

Which role is automatically granted to any user created in Autonomous database?

Create a new user and grant it the DWROLE role if you want it to be an administrator. You can grant other roles and privileges, but the code>DWROLE role will give the user access to the DBMS_CLOUD package.

What are three platforms where Oracle autonomous database service can be deployed?

Built on Oracle Database and Oracle Exadata, Autonomous Database is available on Oracle Cloud Infrastructure (OCI) for shared or dedicated deployments, and on-premises with Exadata Cloud@Customer and Dedicated Region Cloud@Customer.