Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Best for fast complex analytic workloads like Data Warehouse, Data Mart, Data Lake,
and Machine Learning. Has a columnar data format. For memory usage does parallel
joins and aggregations. It ignore hints in SQL statements.
Best for transaction processing and mixed workloads like Transactions, Batch,
Reporting, IoT, Application Dev, Machine Learning. It uses Row data formats. For
memory usage leverages Data Caching to avoid IO.
Features of ADB:-
Self-Driving Attributes:-
Simply select DB Region, DB Type (ADW, ATP), DB CPU Count, DB Storage limit size
Self-Driving - Physical Schema Tuning:-
Physical Schema tuning is not required and not recommended. Tables do not
need to be partitioned or configure f for in-memory. Indexes and Tablespaces do
not need to be created. Compression does not need to be specified.
SQL plans adapts as data volume changes. Indexes adapt as nature of workload
changes. Changes in data volume and SQL Workload are continuously captured. ML
algorithm processes changes to find new optimal plans and indexes.
Automatic Indexing:-
Capture-->Identify-->Verify-->Decide-->Monitor
This is repeated. Automatic indexing creates secondary indexes that are used to improve
SQL performance other than primary key and foreign key indexes. It applies to tuned
and untuned applications.
Automated Management:-
Nightly backups and retention is 60 days by default. Full stack patching, once a
quarter, in a rolling fashion across nodes of cluster for availability.
Self-Securing:-
ADB stores all data in encrypted format. Only authenticated users and
applications can access the data. All connections use certificate based
authentication and SSL. Certificate based authentication uses an encrypted key
stored in a wallet on both the client and the server.
Stage the data into Cloud Object Store, preferably Oracle's, but also support it are
Amazon S3 and Azure Blob Storage. Once the data is in Object Store, Autonomous
Database can access it directly. Tools can be used to facilitate the data movement
between Object Store and the database, for example, IMP, DP, and for export, DMP files
from other databases, or Parquet, JSON, .CSV format, among others.
Data Pump:-
Data Pump Import lets you import data from Data Dump files residing on the
Oracle Cloud Infrastructure Object Store, Oracle Cloud Infrastructure Object
Store Classic, and AWS S3. You can then use Oracle Data Pump to load data to
the Autonomous Database. Oracle Data Pump offers very fast bulk data and
metadata movement between Oracle databases and Autonomous Database.
DBMS Cloud allows data movement from the object store, data from any
applications or data sources, export to TEXT, .CSV, or JSON, o/p from third-party
data integration tools. DBMS Cloud can also access data stored on object storage
from other clouds, AWS, S3, and Azure Blob storage. DBMS Cloud does not
impose any volume limit, so it's preferred method to use.
COPY_DATA: Loads data into existing Autonomous Database tables from files in the
Cloud DELETE_FILE: Removes the specified file from the specified directory on
Autonomous Database.
PUT_OBJECT: In one form the procedure copies a file from Autonomous Database to
the Cloud Object Storage. In another form the procedure copies a BLOB from
Autonomous Database to the Cloud Object Storage.
SQL Loader can be used for loading data located on local client file systems into
ADB. There are limits around OS and client machines when using SQL Loader.
Data Pump is the best way to migrate a full or part database into ADB, including
databases from previous versions.
SQL Developer provides a GUI front end for using Data Pump. They can automate the
whole export and import process from an existing database to ADB. SQL Developer also
includes an import wizard that can be used to import data from several file types into
ADB.
These ensure that the object types not required in ADB are not exported and table
partitions are grouped together so that they can be imported faster during the import to
ADB.
The log files for Data Pump Import operations are stored in the directory
DATA_PUMP_DIR. This is the only directory you can specify for the Data Pump directory
parameter. To access the log file, you need to move the log file to your cloud object
storage using the procedure DBMNS_CLOUD.PUT_OBJECT.
Data types not supported for replicating data the Oracle Autonomous
Database:-
Just specify the password. DWROLE is a predefined role that includes all necessary
privileges for a DW developer/user
Scaling in ADB
ADB allows for independently scaling of compute or storage. Resizing occurs instantly,
fully online. Memory, IO bandwidth concurrency scales linearly with CPU, so when CPUs
are scaled, the system automatically adjusts other resources to match.
ADB Backups
Automatically backs up db - Retention is 60days. You can also do manual backups. They
are stored in OCI buckets. Restore can be initiated using console or API call.
Get the OCI Object Storage credentials and your Oracle Cloud Infrastructure Object
Storage tenancy URL. You also need to create a bucket to hold the backups.
Configuration tasks are a one-time operation unless that URL, the credentials, or the
bucket change. Set the database default bucket property to your Object Storage tenancy
with the ALTER DATABASE PROPERTY SET default_bucket equals bucket name.
Storage - Chart shows the total and used storage capacity of the service.
CPU utilization - Chart shows the historical CPU utilization of the service.
Running SQL statements - Chart shows the average number of running SQL statements.
Avg.
SQL statement response time - Chart shows the average response time of SQL
statements.
SQL statements executed per second - Chart shows the SQL statements executed per
second.
TPURGENT- Highest priority app connection service for time critical transactions.
Supports manual parallelism.
TP - Typical app connection service for transactions. Does not run with parallelism.
High/Medium - High or Medium priority app connection service for reporting & batch
operations. Operations run in parallel & are subject to queueing.
Low- Lowest priority for reporting/batch processing operations. No parallelism.
Oracle Machine Learning
OML is a SQL notebook interface for data scientists to perform machine learning in
Oracle Autonomous Data Warehouse. OML is a good tool that allows collaboration on
building, evaluating, and deploying predictive models and analytical methodologies.
Data Sync (recommended) Oracle Data Integrator Oracle SQL Developer Oracle SQL
Workshop Data Upload Utility Oracle Application Express Application Data Load Utility
REST APIs PL/SQL scripts
Data Sync
You can load data from files (CSV, XLSX), various relational sources (tables, views, SQL
statements), OTBI, JDBC data sources, and Oracle Service Cloud. You can load to
relational tables or data sets.
VALIDATE_HIERARCHY
VALIDATE_ANALYTIC_VIEW
Capture process
Optional Oracle background process that scans the database redo log to capture DML
and DDL changes made to database objects. Capture is not supported on ADB or Oracle
Golden Gate.
Database Links
Customers are allowed to create any constraint just like you do in a regular Oracle
Database. Additionally, you can create secondary indexes, partitioned tables, or
materialized views in ADB.
Oracle Management Cloud - supports monitoring Autonomous Databases via its Oracle
Database Management console.
Performance Hub - provides real-time view of performance data directly on the OCI ADB
console. ADB Service Console - is a web-based service console for each database.
The 'Set Resource Management Rules' pop-up form on the administration section of the
service console has been extended to allow the modification of CPU/IO shares across
the different resource groups. It is also possible to change the resource shares within a
script, application call and/or via a SQL prompt using the cs_resource_manager
package.
You can run all your transaction processing or data warehouse or mixed workload
databases of any size, scale or criticality on ADB-D. As well as supporting application
databases that may require highest governance, consistent performance and
operational controls.
References
1. docs.oracle.com
2. https://vceplus.com/
3. https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/user/connect-
preparing.html#GUID-EFAFA00E-54CC-47C7-8C71E7868279EF3B