SlideShare a Scribd company logo
1 of 92
Download to read offline
What’s new in Autonomous Database in
2022
Sandesh Rao
VP AIOps for the Autonomous
@sandeshr
https://www.linkedin.com/in/raosandesh/
https://www.slideshare.net/SandeshRao4
AIOUG – Jul 2022
How to get started with the
Autonomous Database Free Tier
Always Free services enable developers and students to learn, build and get hands-on experience with
Oracle Cloud for unlimited time
Anyone can try for an unlimited time the full functionality of:
• Oracle Autonomous Database
• Oracle Cloud Infrastructure including:
• Compute VMs
• Block and Object Storage
• Load Balancer
Free tier
Free tier – Tech spec
2 Autonomous Databases (Autonomous Data Warehouse or Autonomous Transaction Processing), each
with 1 OCPU and 20 GB storage
2 Compute VMs, each with 1/8 OCPU and 1 GB memory
2 Block Volumes, 100 GB total, with up to 5 free backups
10 GB Object Storage, 10 GB Archive Storage, and 50,000/month API requests
1 Load Balancer, 10 Mbps bandwidth
10 TB/month Outbound Data Transfer
500 million ingestion Datapoints and 1 billion Datapoints for Monitoring Service
1 million Notification delivery options per month and 1000 emails per month
Creating a new Always Free ADB
Creating a new Always Free ADB
Simple toggle to
enable “Always
Free”
Autonomous Database now provides automatic scaling for storage
Copyright © 2021, Oracle and/or its affiliates
Autonomous Database now provides
automatic scaling for storage
Works like auto-scaling for OCPUs
Will automatically expand the base
reserved storage by up to 3x
Defining A Calendar Schedule to Stop and Start An ADB
Copyright © 2021, Oracle and/or its affiliates
Schedule start and stop times for an
Autonomous Database instance
Instance automatically starts and stops
according to the specified schedule
Allows you to reduce costs by scheduling
shutdown periods when a system is not in use
Getting Started workshops for Autonomous Database
Copyright © 2021, Oracle and/or its affiliates
https://bit.ly/get-started-with-adb
Multicloud with OCI
and Azure
Low-latency connectivity between Microsoft Azure and OCI
Deploys Oracle Database on OCI, and provides metrics on Azure
Combine the full Azure catalog of AI and application services with OCI’s most powerful database
services
No charges for Oracle Interconnect for Microsoft Azure ports or data ingress/egress over the
Interconnect
Billing normally for consumption of Oracle Database services, such as Autonomous Database
Multicloud with OCI and Azure
Copyright © 2021, Oracle and/or its affiliates
Oracle Database Service for Microsoft Azure (ODSA)
Automatically configures
everything required to link the
two cloud environments
Federates Azure active directory
identities
Azure like UI & API experience
for provisioning and managing
Oracle database services on OCI
Sends metrics, logs, and events
for the OCI databases to Azure
tooling for unified telemetry
and monitoring
Copyright © 2021, Oracle and/or its affiliates
Collaborative support model
Direct connection between
cloud vendors
<2ms latency for traffic between
OCI and Microsoft Azure
No charges for inbound or
outbound bandwidth consumed
Copyright © 2021, Oracle and/or its affiliates
Architecture
Copyright © 2021, Oracle and/or its affiliates
For each database product, ODSA supports the common administration and application access capabilities:
• Create, read, update, delete, list (CRUDL)
• Clone database
• Database backup (automatic and manual)
• Database restore (restore to existing database for now)
• Generate Azure connection string
• Display database metrics
Oracle Cloud Infrastructure Integration
Copyright © 2021, Oracle and/or its affiliates
Azure tools integration
Delivers OCI database metrics,
events, and logs to tools such as
Azure Application Insights,
Azure Event Grid, and Azure Log
Analytics
Enables Azure users to view OCI
databases alongside the rest of
your Azure data, for unified
telemetry and monitoring
Also creates a custom
dashboard that provides Azure
developers with Oracle
database resource details, and
connection strings for their
applications
Copyright © 2021, Oracle and/or its affiliates
Custom dashboard
Displays graphs for each of the
standard Oracle database
metrics for the resource
Give developers and
administrators a quick view of
all metrics in one place
How to use AutoML
with Machine Learning
Oracle Machine Learning Notebooks
Collaborative UI
• Based on Apache Zeppelin
• Supports data scientists, data analysts,
application developers, and DBAs with
SQL and Python
• Easy notebook sharing
• Scheduling, versioning, access control
Included with Autonomous Database
• Automatically provisioned and managed
• In-database algorithms and
analytics functions
• Explore and prepare, build and evaluate
models, score data, deploy solutions
Autonomous Database as a Data Science Platform
Copyright © 2021 Oracle and/or its affiliates.
Automate production and deployment of ML models
• Enhance Data Scientist productivity
and user-experience
• Enable non-expert users to leverage ML
• Unify model deployment and monitoring
• Support model management
Features
• Minimal user input: data, target
• Model leaderboard
• Model deployment via REST
• Model monitoring
• Cognitive features for image and text
AutoML “Code-free” user interface supporting automated end-to-end machine
learning
Copyright © 2020 Oracle and/or its affiliates.
Cross Region
DataGuard
Disaster recovery terminology
Peer Databases: Two or more databases that are linked and replicated
Consist of a Primary database and Standby (copy of the primary) databases
Primary or Source Database: The main database that is actively being
Standby Database: A replica of the primary database which is constantly and
passively refreshing (ie. replicating) data from the primary
Primary Region: The region in which a user first provisions a primary database and enables
cross-region Autonomous Data Guard
Remote Region: The user-selected region in which to provision the standby from a database instance while enabling cross-region
Autonomous Data Guard.
Paired Regions: Two regions that are paired together to support X-ADG, such that a primary database may be provisioned in one of
the regions and its remote standby may be provisioned in the other region.
Recovery Point Objective (RPO): An organization's tolerance for data loss, after which business operations start to get severely
impacted
Recovery Time Object (RTO): An organization's tolerance for the unavailability (or downtime) of a service after which business
operations start to get severely impacted
London Frankfurt
Cross Region Data Guard
Cross Region Data Guard
If a regional failure occurs and your primary database is brought down, you may trigger a "Failover" from the remote standby
database to which you want to failover.
Failover across regions to the remote standby
• A failover is a role change - switching control from the primary database to the
standby database
• After a failover, a new remote standby for your new primary will be
automatically provisioned
….when the primary region becomes available again
• During a failover, the system automatically recovers as much data as possible
• Minimizing any potential data loss; there may be a few seconds or minutes of
data loss
• You would usually perform a failover in a true disaster scenario, - accepting
the few minutes of potential data loss to ensure getting your database back
online as soon as possible
Once your remote standby is provisioned, you will see a "Switchover" option on your database's console.
Switchover testing across regions with the remote standby
• Switchover from the remote standby database, while both your primary
and standby are healthy, performs a role change - of the primary
• Switching from the primary database to the remote standby database.
• May take several minutes, depending on the number of changes in the
primary database
• Switchover guarantees no data loss
• You would usually perform a Switchover to test your applications or
mid-tiers against this role change behaviour
ADB Now Supports Cross-Region Clones
Copyright © 2021, Oracle and/or its affiliates
Clone an Autonomous Database
instance & select your preferred region
for the clone
Create the clone in the current region
or a remote region
Available regions list limited to regions
you are subscribed to
Reconnect a Disconnected Refreshable Clone
Copyright © 2021, Oracle and/or its affiliates
After you disconnect a refreshable clone,
during the following 24-hour period you
can now reconnect that refreshable clone
to the source database
Allows you to use a refreshable clone as a
test database, run DML, and make changes
while the database is disconnected
When you are done with your testing, you
can reconnect to the source database,
which refreshes the clone to the point
where you disconnected.
Export Data as JSON to
Object Storage
ADB now has a procedure to export a query as JSON
directly to Object Storage bucket.
The query can be an advanced query - includes joins
or subqueries.
Specify format parameter with compression option
to compress the output files.
Use DBMS_CLOUD.DELETE_OBJECT to delete the files
BEGIN
DBMS_CLOUD.EXPORT_DATA(
credential_name => 'DEF_CRED_NAME',
file_uri_list =>
‘bucketname/filename’,
query => 'SELECT * FROM DEPT’,
format => JSON_OBJECT('type' value
'json'));
END; /
Export Data As JSON To Object Storage
OVERVIEW HOW IT WORKS
Wallet Rotation and Using TLS
Instead of mTLS or walletless
Per-database with Instance Wallet selected:
• All existing database specific instance wallets will be void.
• Post rotation need to download new wallet to connect to database.
• NOTE - Regional wallets with all database certification keys continue to work
Regional level with Regional Wallet selected:
• Both regional and database specific instance wallets are voided.
• Post rotation need to download new regional or instance wallets to connect to any database in
region
• All user sessions are terminated for databases whose wallet is rotated.
• User session termination begins after wallet rotation completes, however this process does
not happen immediately.
New Option To Rotate Wallets For ADB
1
2
mTLS or TLS
Most people do not like to configure wallets
• ADB used mTLS to establish the client-server
connection
• Both the client and the server have a special
secret key and its exchanged to be validated
• Going forward one can connect to ADB using TLS
instead of mTLS
• To make it secure
• To enable TLS on an ADB instance with a public
endpoint exposed
• One must have an Access Control List (ACL) in
place
• Traffic outside of the VCN is blocked giving you
confidence that your connection is secured
mTLS or TLS
Wallet-less connections on Linux x64 clients using Oracle Call Interface
Copyright © 2021, Oracle and/or its affiliates
Using TLS authentication for Oracle
Call Interface connections on Linux
x64, a wallet is not required when
the client program connects with
Oracle Instant Client 19.13
Using TLS authentication for Oracle
Call Interface connections on all
other platforms, or without Oracle
Instant Client 19.13, clients must
provide a generic CA root certificate
wallet
Partitions with external
tables in Cloud
• ADB provides transparent access over
data in Object Stores
• Easily join across data sets in the “data
lake” and in-database data sets
• Leverage in-file metadata with Avro,
ORC and Parquet to simplify creating
tables
Autonomous Database – Accessing Data In Object Stores
Object Stores
Oracle Object
Store
Amazon S3
Azure Blob
Store
Autonomous Database
Google Cloud
Store
Wasabi
Cloud Store
41
Copyright © 2021, Oracle and/or its affiliates
HOW IT WORKS
Note only use of DBMS_CLOUD syntax is supported
Hybrid Partitioned Tables
BEGIN DBMS_CLOUD.CREATE_HYBRID_PART_TABLE(
table_name =>'HPT1’,
credential_name =>'OBJ_STORE_CRED’,
format => json_object('delimiter' value ',', ‘
recorddelimiter' value 'newline', ‘
characterset' value 'us7ascii’),
column_list => 'col1 number, col2 number, col3 number’
partitioning_clause => 'partition by range (col1)
(partition p1 values less than (1000) external location (
'https://swiftobjectstorage.us-ashburn-1 .../file_01.txt') ,
partition p2 values less than (2000) external location (
‘https://swiftobjectstorage.us-ashburn-1 .../file_02.txt') ,
partition p3 values less than (3000) ) )
END;
External tables with partitioning specified in source files
Copyright © 2021, Oracle and/or its affiliates
Partitioning is a well-established technique to improve the performance and manageability of database
systems by dividing large objects into smaller partitions; any large data warehouse takes advantage of it
BEGIN
DBMS_CLOUD.CREATE_EXTERNAL_PART_TABLE(
TABLE_NAME => 'sales_new_api',
CREDENTIAL_NAME => 'CRED_OCI',
FILE_URI_LIST => 'https://objectstorage.us-ashburn-
1.oraclecloud.com/n/my_namespace/b/moviestream_landing/o/sales_sample/*.parquet',
FORMAT => '{"type":"parquet", "schema":
"first","partition_columns":[{"name":"month","type":"varchar2(100)"}]}'
);
END;
/
External tables with partitioning specified in source files
Copyright © 2021, Oracle and/or its affiliates
If new files are added or removed in the underlying Object Store, you just run the new sync procedure
like this:
BEGIN
DBMS_CLOUD.SYNC_EXTERNAL_PART_TABLE (table_name => 'sales_new_api');
END;
/
Set Patch Level When Creating A
Clone and retrieve Patch Details
Set Patch Level When Creating A Clone
When you provision or clone an Autonomous
Database instance you can select a patch level to apply
upcoming patches.
There are two patch level options: Regular and Early.
The Early patch level allows testing upcoming patches one
week before they are applied as part of the regular patching
program
The console shows the patch level setting with the section
headed Maintenance.
OVERVIEW HOW IT WORKS
View Autonomous Database maintenance event history to see details about past maintenance events
(requires ADMIN user)
View Patch Details OVERVIEW
SELECT * FROM DBA_CLOUD_PATCH_INFO;
SELECT * FROM DBA_CLOUD_PATCH_INFO WHERE PATCH_VERSION = 'ADBS-21.7.1.2';
View Patch Details HOW IT WORKS
Oracle Database API for
MongoDB
Oracle Database API for MongoDB
enables developers to connect
applications directly to Oracle
Autonomous Database using MongoDB's
own drivers and tools
Oracle Database API for MongoDB
Developers can combine existing
MongoDB skills with full power of
Autonomous Database
OCI Identity and Access
Management (IAM)
Authentication
Integration With OCI Identity and Access Management (IAM) Authentication
Copyright © 2021, Oracle and/or its affiliates
OCI Identity and Access Management users can now
authenticate and authorize to ADB-Shared.
Better security since user access to databases is managed
centrally instead of locally in every database
Reduces zombie database user accounts
User management moves DBA tasks to the IAM administrator
SQL*Plus users can sign into Autonomous Database using their
IAM username and IAM database password
Users can also use IAM SSO tokens with the latest JDBC-thin
and OCI-C database clients to connect with ADB-Shared
Change Concurrency
Limits Via Console
Copyright © 2021, Oracle and/or its affiliates
Override the default concurrency settings via
the MEDIUM service.
Makes it easier to manage application-specific
concurrency requirements.
Change via Autonomous Database Service
Console or using PL/SQL procedure
Change Concurrency Limits Via Console
OVERVIEW HOW IT WORKS
Access Resources on
Azure
1. Enable Azure service principal authentication in ADB-S
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
SQL> BEGIN
2 DBMS_CLOUD_ADMIN.ENABLE_PRINCIPAL_AUTH(
3 provider => 'AZURE',
4 params => JSON_OBJECT('azure_tenantid' value '74***-****-****-****-****67'));
5 END;
6 /
PL/SQL procedure successfully completed.
Enable the Azure service principal authentication in ADB-S instance
Needs Azure Active Directory (AD) tenant ID for this so that my ADB-S instance can be properly associated with my
Azure tenancy and registered as an authorized application in
see How to find your Azure Active Directory tenant ID
2. Provide Azure application consent
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
SQL> SELECT param_name, param_value FROM CLOUD_INTEGRATIONS;
PARAM_NAME PARAM_VALUE
------------------ -----------------------------------------------------------------------
-------
azure_tenantid 74***-****-****-****-****67
azure_consent_url https://login.microsoftonline.com/'74***-****-****-
****_****67'/oauth2/v2.0/***&scope=User.read
azure_app_name ADBS_APP_OCID1.AUTONOMOUSDATABASE.OC1.IAD.******VFA
Query the CLOUD_INTEGRATIONS view to find the azure_consent_url and azure_app_name
3. Provide Azure application consent
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
Visit the URL from azure_consent_url and accept the request:
4. Assign necessary roles for the application to access the Azure resources
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
Navigate to Azure console home -> Storage accounts -> <myStorageAccountname> -> Access Control (IAM) ->
Add -> Add Role Assignment -> Role and search for “blob storage”
4. Assign necessary roles for the application to access the Azure resources
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
Navigate to Members -> Select members and copy/paste the the value of azure_app_name
5. Load data from Azure blob storage via Azure service principal
Simplified access to resources on Azure
Copyright © 2021, Oracle and/or its affiliates
Load some data from my Azure blob storage
AZURE$PA is the credential_name in DBMS_CLOUD.COPY_DATA procedure:
SQL> CREATE TABLE CHANNELS
2 (channel_id CHAR(1),
3 channel_desc VARCHAR2(20),
4 channel_class VARCHAR2(20)
5 );
Table CHANNELS created.
SQL> BEGIN
2 DBMS_CLOUD.COPY_DATA(
3 table_name =>'CHANNELS',
4 credential_name =>'AZURE$PA',
5 file_uri_list =>'https://ctuzlastorage.blob.core.windows.net/ctuzlabucket/chan_v3.dat',
6 format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
7 );
8 END;
9 /
PL/SQL procedure successfully completed.
SQL> select count(*) from channels;
COUNT(*)
___________
10
Use Azure Active Directory to centrally manage database users
Copyright © 2021, Oracle and/or its affiliates
Autonomous Database (Shared
Infrastructure) users can be
centrally managed in Microsoft
Azure Active Directory (Azure
AD) for stronger security instead
of locally in every database
Azure AD users and applications
can use Azure AD OAuth2
access tokens to access the
Autonomous Database
Azure AD users don't have to
remember separate database
credentials; they use their
existing Azure AD SSO
credentials
Connect to non-Oracle
Databases
Step-1: Make Sure Redshift is Configured to Allow Public Access
Connect to Non-Oracle databases using built-in heterogeneous connectivity
Copyright © 2021, Oracle and/or its affiliates
Under “Actions” menu of your Redshift cluster on AWS console, we need to select “Modify publicly accessible
setting” to make sure our Redshift cluster is publicly accessible:
Step-1: Make Sure Redshift is Configured to Allow Public Access
Connect to Non-Oracle databases using built-in heterogeneous connectivity
Copyright © 2021, Oracle and/or its affiliates
We then navigate to the VPC security group that is assigned to our Redshift cluster and create an inbound rule to
port 5439 from the source IP or CIDR range of our choice:
Step-2: Create a Database Link to your Redshift Instance
Connect to Non-Oracle databases using built-in heterogeneous connectivity
Copyright © 2021, Oracle and/or its affiliates
First, create a credential object with the credentials (username and password) of the target database:
BEGIN
DBMS_CLOUD.CREATE_CREDENTIAL(
credential_name => 'REDSHIFT_CRED’,
username => 'awsadmin’,
password => '************’);
END;
/
PL/SQL procedure successfully completed.
Step-2: Create a Database Link to your Redshift Instance
Connect to Non-Oracle databases using built-in heterogeneous connectivity
Copyright © 2021, Oracle and/or its affiliates
Next, we will create a database link to our Redshift instance. As you can tell, it looks nearly identical to any other
database link creation except for the gateway_params parameter for which we are passing 'awsredshift' as our
database type:
BEGIN
DBMS_CLOUD_ADMIN.CREATE_DATABASE_LINK(
db_link_name => 'REDSHIFT_LINK',
hostname => 'redshift-cluster-1.******.us-west-1.redshift.amazonaws.com',
port => '5439',
service_name => 'dev',
credential_name => 'REDSHIFT_CRED',
gateway_params => JSON_OBJECT('db_type' value 'awsredshift'),
ssl_server_cert_dn => NULL);
END;
/
PL/SQL procedure successfully completed.
Step-3: Run a Query Over the Database Link
Connect to Non-Oracle databases using built-in heterogeneous connectivity
Copyright © 2021, Oracle and/or its affiliates
SELECT COUNT(*) FROM SALES@REDSHIFT_LINK;
COUNT(*)
-----------
172456
Customer Managed
Keys
ADB provides two options for Transparent Data Encryption (TDE) to encrypt data in the database:
• Oracle-managed encryption keys
• Customer-managed encryption keys
• Customer managed keys integrates with Oracle Cloud Infrastructure Vault service
• When rotating customer-managed master encryption key ADB generates a new TDE master key
• ADB uses new TDE master key to re-encrypt tablespace encryption keys that encrypt and decrypt your data.
• Operation is fast and does not require database downtime
Customer Managed Keys
OVERVIEW
Customer Managed Keys
HOW IT WORKS
Customer Managed Keys
HOW IT WORKS
Use Resource Principal
To Access OCI Resources
A resource principle authorizes an OCI resource to make API calls to certain OCI services (e.g. Object Store)
This simplifies access to Object Stores
Autonomous Database can use resource principal credentials to access the specified Oracle Cloud
Infrastructure resources.
Typical use cases:
• Access data from an Object Storage bucket, perform some operation on the data, and then write the modified data back to
the Object Storage bucket.
• Access your vaults, keys, or secrets.
• List work requests or list work request errors.
Use Resource Principal To Access OCI Resources
Copyright © 2021, Oracle and/or its affiliates
OVERVIEW
Use Resource Principal To Access OCI Resources
1) Create a dynamic group
Tells IAM that a given Autonomous Database should be able to read from the Object
Storage buckets and objects that are in a given compartment
HOW IT WORKS
In the OCI console, go to ‘Identity and Security’ -> ‘Dynamic Groups’ -> ‘Create Dynamic Group’
To include only ADB-S instance to this dynamic group, add the instance OCID in the following rule:
resource.id = 'ocid1.autonomousdatabase.oc1.iad.osbgdthsnmakytsbnjpq7n37q'
Use Resource Principal To Access OCI Resources
HOW IT WORKS
Use Resource Principal To Access OCI Resources
2) Create a policy
Allow this resource to access our Object Storage bucket that resides in a given compartment
HOW IT WORKS
In the OCI console, go to ‘Identity and Security’ -> ‘Policies’-> ‘Create Policy’
Add your policy statement in plain text or use the Policy Builder.
Allow dynamic-group ctuzlaDynamicGroup to read buckets in compartment ctuzlaRPcomp
Allow dynamic-group ctuzlaDynamicGroup to read objects in compartment ctuzlaRPcomp
Note: It’s also possible to allow higher levels of access as described in the documentation
Use Resource Principal To Access OCI Resources
3) Enable resource principal in ADB-S
Resource principal is not enabled by default in ADB-S.
In order to be able to use resource principal in our ADB-S instance, we need to enable it using
the DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL procedure:
HOW IT WORKS
As ADMIN user, execute the following statement:
EXEC DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL();
PL/SQL procedure successfully completed.
Use Resource Principal To Access OCI Resources
4) Verify that resource principle is enabled:
HOW IT WORKS
SELECT owner, credential_name
FROM dba_credentials
WHERE credential_name = 'OCI$RESOURCE_PRINCIPAL' AND owner = 'ADMIN';
OWNER CREDENTIAL_NAME
----- ----------------------
ADMIN OCI$RESOURCE_PRINCIPAL
Use Resource Principal To Access OCI Resources
5) Optionally, enable other database users to call DBMS_CLOUD APIs using resource principal
HOW IT WORKS
EXEC DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL(username => 'ADB_USER');
PL/SQL procedure successfully completed.
Use Resource Principal To Access OCI Resources
6) Load data from Object Storage using resource principal
HOW IT WORKS
CREATE TABLE CHANNELS
(channel_id CHAR(1),
channel_desc VARCHAR2(20),
channel_class VARCHAR2(20)
);
Table CHANNELS created.
BEGIN
DBMS_CLOUD.COPY_DATA(
table_name =>'CHANNELS',
credential_name =>'OCI$RESOURCE_PRINCIPAL',
file_uri_list =>'https://objectstorage.us-ashburn-
1.oraclecloud.com/n/adwc4pm/b/ctuzlaBucket/o/chan_v3.dat',
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
);
END;
/
PL/SQL procedure successfully completed.
Load Data Using
DBMS_CLOUD
Load data using DBMS_CLOUD
• For data loading from files in the Cloud
• Store your object storage credentials
• Use the procedure DBMS_CLOUD.COPY_DATA to load data
• The source file in this example is channels.txt
File-02 in
Object Store
Bucket
File-03 in
Object Store
Bucket
File-01 in
Object Store
Bucket
SET DEFINE OFF BEGIN
DBMS_CLOUD.CREATE_CREDENTIAL(
credential_name => 'DEF_CRED_NAME',
username => 'adwc_user@example.com',
password => 'password' ); END; /
Load data using DBMS_CLOUD
CREATE TABLE CHANNELS (channel_id CHAR(1), channel_desc VARCHAR2(20),
channel_class VARCHAR2(20) );
BEGIN DBMS_CLOUD.COPY_DATA( table_name =>'CHANNELS', credential_name
=>'DEF_CRED_NAME’,
file_uri_list =>
'https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace-string/b/
bucketname/o/channels.txt', format => json_object('delimiter' value ',') );
END;
BEGIN DBMS_CLOUD.COPY_DATA( table_name =>'CHANNELS', credential_name
=>'DEF_CRED_NAME’,
file_uri_list =>'https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace-
string/b/
bucketname/o/exp01.dmp,
https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace-string/b/
bucketname/o/exp02.dmp', format => json_object('type' value 'datapump') );
END;
Load data using DBMS_CLOUD
BEGIN DBMS_CLOUD.COPY_COLLECTION( collection_name => 'fruit', credential_name =>
'DEF_CRED_NAME', file_uri_list => 'https://objectstorage.us-ashburn-1.oraclecloud.com/n/
namespace-string/b/fruit_bucket/o/myCollection.json’,
format => JSON_OBJECT('recorddelimiter' value '''n''') );
END;
BEGIN DBMS_CLOUD.COPY_COLLECTION( collection_name => 'fruit2', credential_name =>
'DEF_CRED_NAME', file_uri_list => 'https://objectstorage.us-ashburn-1.oraclecloud.com/n/
namespace-string/b/json/o/fruit_array.json’,
format => '{"recorddelimiter" : "0x''01''", "unpackarrays" : TRUE}' );
END;
Load data using DBMS_CLOUD
SELECT table_name, owner_name, type, status, start_time, update_time,
logfile_table, badfile_table FROM user_load_operations WHERE
type = 'COPY’;
TABLE_NAME OWNER_NAME TYPE STATUS START_TIME UPDATE_TIME LOGFILE_TABLE BADFILE_TABLE
------------------------------------------------------------------------------------
FRUIT ADMIN COPY COMPLETED 2020-04-23 22:27:37 2020-04-23 22:27:38 "" ""
FRUIT ADMIN COPY FAILED 2020-04-23 22:28:36 2020-04-23 22:28:37 COPY$2_LOG COPY$2_BAD
SELECT credential_name, username, comments FROM all_credentials;
CREDENTIAL_NAME USERNAME COMMENTS
---------------------------–----------------------------- --------------------
ADB_TOKEN user_name@example.com {"comments":"Created via
DBMS_CLOUD.create_credential"}
DEF_CRED_NAME user_name@example.com {"comments":"Created via
DBMS_CLOUD.create_credential"}
ADB now supports SQL
access to tenancy details
88 Confidential – © 2019 Oracle Internal/Restricted/Highly Restricted
When you file a service request for Autonomous Database, you need to provide the tenancy details for your
instance. Tenancy details for the instance are available on the Oracle Cloud Infrastructure console.
However, if you are connected to the database, you can now obtain these details by querying
the CLOUD_IDENTITY column of the V$PDBS view. For example:
...will generate something similar to the following:
How to get the tenancy details for your instance
SELECT cloud_identity FROM v$pdbs;
{"DATABASE_NAME" : "DBxxxxxxxxxxxx",
"REGION" : "us-phoenix-1",
"TENANT_OCID" :
"OCID1.TENANCY.REGION1..ID1",
"DATABASE_OCID" :
"OCID1.AUTONOMOUSDATABASE.OC1.SEA.ID2
",
"COMPARTMENT_OCID" :
"ocid1.tenancy.region1..ID3"}
IP Address ACL’s
UI Button To Quickly Add Your IP Address To ACLs
Copyright © 2021, Oracle and/or its affiliates
Makes it easier to setup ACLs where you need to add the IP
address of the client to your Network Access Control List (ACL)
The button "Add My IP Address" adds your current IP address
to the ACL entry
Removes the need to manually look for your client IP via a 3rd
party website or app anymore (e.g. Google, whatsmyip.com
etc)
Available in both the Create Autonomous Database flow for
new ADB-S instances to be provisioned and the Update
Network Access flow for existing ADB-S instances
Thank You
Any Questions ?
Sandesh Rao
VP AIOps for the Autonomous Database
@sandeshr
https://www.linkedin.com/in/raosandesh/
https://www.slideshare.net/SandeshRao4
Whats new in Autonomous Database in 2022

More Related Content

What's hot

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it Sandesh Rao
 
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfHybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfALI ANWAR, OCP®
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1Chien Chung Shen
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫C22 Oracle Database を監視しようぜ! by 山下正/内山義夫
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫Insight Technology, Inc.
 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureSinanPetrusToma
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to CloudMarcus Vinicius Miguel Pedro
 
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~Shinnosuke Akita
 
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...yoshimotot
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 

What's hot (20)

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Oracle GoldenGate
Oracle GoldenGate Oracle GoldenGate
Oracle GoldenGate
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
 
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfHybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
 
Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫C22 Oracle Database を監視しようぜ! by 山下正/内山義夫
C22 Oracle Database を監視しようぜ! by 山下正/内山義夫
 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud Infrastructure
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud
 
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~
障害とオペミスに備える! ~Oracle Databaseのバックアップを考えよう~
 
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...
私はここでつまづいた! Oracle database 11g から 12cへのアップグレードと Oracle Database 12c の新機能@201...
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 

Similar to Whats new in Autonomous Database in 2022

Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseSandesh Rao
 
autonomous-database-100.pdf
autonomous-database-100.pdfautonomous-database-100.pdf
autonomous-database-100.pdfTrLuNguyn
 
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdf
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdfWhat's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdf
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdfSandesh Rao
 
What's new in the world of the Autonomous Database in 2023
What's new in the world of the Autonomous Database in 2023What's new in the world of the Autonomous Database in 2023
What's new in the world of the Autonomous Database in 2023Sandesh Rao
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiGirish Kalamati
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaSArush Jain
 
Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAMarkus Michalewicz
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL AzureShy Engelberg
 
Ground Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous DatabaseGround Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous DatabaseMaria Colgan
 
Estimating the Total Costs of Your Cloud Analytics Platform
Estimating the Total Costs of Your Cloud Analytics PlatformEstimating the Total Costs of Your Cloud Analytics Platform
Estimating the Total Costs of Your Cloud Analytics PlatformDATAVERSITY
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteMicro Focus
 
Introduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesIntroduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesKnoldus Inc.
 
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...Juarez Junior
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Amazon Web Services
 
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...Juarez Junior
 
Notes from #OOW19
Notes from #OOW19Notes from #OOW19
Notes from #OOW19Biju Thomas
 

Similar to Whats new in Autonomous Database in 2022 (20)

Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
 
autonomous-database-100.pdf
autonomous-database-100.pdfautonomous-database-100.pdf
autonomous-database-100.pdf
 
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdf
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdfWhat's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdf
What's new in Autonomous Database - OCYatra2023 - Sandesh Rao.pdf
 
What's new in the world of the Autonomous Database in 2023
What's new in the world of the Autonomous Database in 2023What's new in the world of the Autonomous Database in 2023
What's new in the world of the Autonomous Database in 2023
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Oracle Cloud
Oracle CloudOracle Cloud
Oracle Cloud
 
How Easy to Automate Application Deployment on AWS
How Easy to Automate Application Deployment on AWSHow Easy to Automate Application Deployment on AWS
How Easy to Automate Application Deployment on AWS
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAA
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
 
Ground Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous DatabaseGround Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous Database
 
Estimating the Total Costs of Your Cloud Analytics Platform
Estimating the Total Costs of Your Cloud Analytics PlatformEstimating the Total Costs of Your Cloud Analytics Platform
Estimating the Total Costs of Your Cloud Analytics Platform
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 
Introduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesIntroduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure Services
 
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
 
Notes from #OOW19
Notes from #OOW19Notes from #OOW19
Notes from #OOW19
 

More from Sandesh Rao

Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUGSandesh Rao
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021Sandesh Rao
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUGSandesh Rao
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at OracleSandesh Rao
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUGSandesh Rao
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaSandesh Rao
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaSandesh Rao
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Sandesh Rao
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEASandesh Rao
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous DatabaseSandesh Rao
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new Sandesh Rao
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data WarehouseSandesh Rao
 
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Sandesh Rao
 
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Sandesh Rao
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...Sandesh Rao
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020 Sandesh Rao
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020Sandesh Rao
 
Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Sandesh Rao
 
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Sandesh Rao
 

More from Sandesh Rao (20)

Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at Oracle
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmea
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data Warehouse
 
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
 
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
 
Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...Introduction to Machine Learning and Data Science using the Autonomous databa...
Introduction to Machine Learning and Data Science using the Autonomous databa...
 
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 

Whats new in Autonomous Database in 2022

  • 1. What’s new in Autonomous Database in 2022 Sandesh Rao VP AIOps for the Autonomous @sandeshr https://www.linkedin.com/in/raosandesh/ https://www.slideshare.net/SandeshRao4 AIOUG – Jul 2022
  • 2. How to get started with the Autonomous Database Free Tier
  • 3. Always Free services enable developers and students to learn, build and get hands-on experience with Oracle Cloud for unlimited time Anyone can try for an unlimited time the full functionality of: • Oracle Autonomous Database • Oracle Cloud Infrastructure including: • Compute VMs • Block and Object Storage • Load Balancer Free tier
  • 4. Free tier – Tech spec 2 Autonomous Databases (Autonomous Data Warehouse or Autonomous Transaction Processing), each with 1 OCPU and 20 GB storage 2 Compute VMs, each with 1/8 OCPU and 1 GB memory 2 Block Volumes, 100 GB total, with up to 5 free backups 10 GB Object Storage, 10 GB Archive Storage, and 50,000/month API requests 1 Load Balancer, 10 Mbps bandwidth 10 TB/month Outbound Data Transfer 500 million ingestion Datapoints and 1 billion Datapoints for Monitoring Service 1 million Notification delivery options per month and 1000 emails per month
  • 5. Creating a new Always Free ADB
  • 6. Creating a new Always Free ADB Simple toggle to enable “Always Free”
  • 7. Autonomous Database now provides automatic scaling for storage Copyright © 2021, Oracle and/or its affiliates Autonomous Database now provides automatic scaling for storage Works like auto-scaling for OCPUs Will automatically expand the base reserved storage by up to 3x
  • 8. Defining A Calendar Schedule to Stop and Start An ADB Copyright © 2021, Oracle and/or its affiliates Schedule start and stop times for an Autonomous Database instance Instance automatically starts and stops according to the specified schedule Allows you to reduce costs by scheduling shutdown periods when a system is not in use
  • 9. Getting Started workshops for Autonomous Database Copyright © 2021, Oracle and/or its affiliates https://bit.ly/get-started-with-adb
  • 11. Low-latency connectivity between Microsoft Azure and OCI Deploys Oracle Database on OCI, and provides metrics on Azure Combine the full Azure catalog of AI and application services with OCI’s most powerful database services No charges for Oracle Interconnect for Microsoft Azure ports or data ingress/egress over the Interconnect Billing normally for consumption of Oracle Database services, such as Autonomous Database Multicloud with OCI and Azure
  • 12. Copyright © 2021, Oracle and/or its affiliates Oracle Database Service for Microsoft Azure (ODSA) Automatically configures everything required to link the two cloud environments Federates Azure active directory identities Azure like UI & API experience for provisioning and managing Oracle database services on OCI Sends metrics, logs, and events for the OCI databases to Azure tooling for unified telemetry and monitoring
  • 13. Copyright © 2021, Oracle and/or its affiliates Collaborative support model Direct connection between cloud vendors <2ms latency for traffic between OCI and Microsoft Azure No charges for inbound or outbound bandwidth consumed
  • 14. Copyright © 2021, Oracle and/or its affiliates Architecture
  • 15. Copyright © 2021, Oracle and/or its affiliates For each database product, ODSA supports the common administration and application access capabilities: • Create, read, update, delete, list (CRUDL) • Clone database • Database backup (automatic and manual) • Database restore (restore to existing database for now) • Generate Azure connection string • Display database metrics Oracle Cloud Infrastructure Integration
  • 16. Copyright © 2021, Oracle and/or its affiliates Azure tools integration Delivers OCI database metrics, events, and logs to tools such as Azure Application Insights, Azure Event Grid, and Azure Log Analytics Enables Azure users to view OCI databases alongside the rest of your Azure data, for unified telemetry and monitoring Also creates a custom dashboard that provides Azure developers with Oracle database resource details, and connection strings for their applications
  • 17. Copyright © 2021, Oracle and/or its affiliates Custom dashboard Displays graphs for each of the standard Oracle database metrics for the resource Give developers and administrators a quick view of all metrics in one place
  • 18. How to use AutoML with Machine Learning
  • 19. Oracle Machine Learning Notebooks Collaborative UI • Based on Apache Zeppelin • Supports data scientists, data analysts, application developers, and DBAs with SQL and Python • Easy notebook sharing • Scheduling, versioning, access control Included with Autonomous Database • Automatically provisioned and managed • In-database algorithms and analytics functions • Explore and prepare, build and evaluate models, score data, deploy solutions Autonomous Database as a Data Science Platform Copyright © 2021 Oracle and/or its affiliates.
  • 20. Automate production and deployment of ML models • Enhance Data Scientist productivity and user-experience • Enable non-expert users to leverage ML • Unify model deployment and monitoring • Support model management Features • Minimal user input: data, target • Model leaderboard • Model deployment via REST • Model monitoring • Cognitive features for image and text AutoML “Code-free” user interface supporting automated end-to-end machine learning Copyright © 2020 Oracle and/or its affiliates.
  • 22. Disaster recovery terminology Peer Databases: Two or more databases that are linked and replicated Consist of a Primary database and Standby (copy of the primary) databases Primary or Source Database: The main database that is actively being Standby Database: A replica of the primary database which is constantly and passively refreshing (ie. replicating) data from the primary Primary Region: The region in which a user first provisions a primary database and enables cross-region Autonomous Data Guard Remote Region: The user-selected region in which to provision the standby from a database instance while enabling cross-region Autonomous Data Guard. Paired Regions: Two regions that are paired together to support X-ADG, such that a primary database may be provisioned in one of the regions and its remote standby may be provisioned in the other region. Recovery Point Objective (RPO): An organization's tolerance for data loss, after which business operations start to get severely impacted Recovery Time Object (RTO): An organization's tolerance for the unavailability (or downtime) of a service after which business operations start to get severely impacted London Frankfurt
  • 25. If a regional failure occurs and your primary database is brought down, you may trigger a "Failover" from the remote standby database to which you want to failover. Failover across regions to the remote standby • A failover is a role change - switching control from the primary database to the standby database • After a failover, a new remote standby for your new primary will be automatically provisioned ….when the primary region becomes available again • During a failover, the system automatically recovers as much data as possible • Minimizing any potential data loss; there may be a few seconds or minutes of data loss • You would usually perform a failover in a true disaster scenario, - accepting the few minutes of potential data loss to ensure getting your database back online as soon as possible
  • 26. Once your remote standby is provisioned, you will see a "Switchover" option on your database's console. Switchover testing across regions with the remote standby • Switchover from the remote standby database, while both your primary and standby are healthy, performs a role change - of the primary • Switching from the primary database to the remote standby database. • May take several minutes, depending on the number of changes in the primary database • Switchover guarantees no data loss • You would usually perform a Switchover to test your applications or mid-tiers against this role change behaviour
  • 27. ADB Now Supports Cross-Region Clones Copyright © 2021, Oracle and/or its affiliates Clone an Autonomous Database instance & select your preferred region for the clone Create the clone in the current region or a remote region Available regions list limited to regions you are subscribed to
  • 28. Reconnect a Disconnected Refreshable Clone Copyright © 2021, Oracle and/or its affiliates After you disconnect a refreshable clone, during the following 24-hour period you can now reconnect that refreshable clone to the source database Allows you to use a refreshable clone as a test database, run DML, and make changes while the database is disconnected When you are done with your testing, you can reconnect to the source database, which refreshes the clone to the point where you disconnected.
  • 29. Export Data as JSON to Object Storage
  • 30. ADB now has a procedure to export a query as JSON directly to Object Storage bucket. The query can be an advanced query - includes joins or subqueries. Specify format parameter with compression option to compress the output files. Use DBMS_CLOUD.DELETE_OBJECT to delete the files BEGIN DBMS_CLOUD.EXPORT_DATA( credential_name => 'DEF_CRED_NAME', file_uri_list => ‘bucketname/filename’, query => 'SELECT * FROM DEPT’, format => JSON_OBJECT('type' value 'json')); END; / Export Data As JSON To Object Storage OVERVIEW HOW IT WORKS
  • 31. Wallet Rotation and Using TLS Instead of mTLS or walletless
  • 32. Per-database with Instance Wallet selected: • All existing database specific instance wallets will be void. • Post rotation need to download new wallet to connect to database. • NOTE - Regional wallets with all database certification keys continue to work Regional level with Regional Wallet selected: • Both regional and database specific instance wallets are voided. • Post rotation need to download new regional or instance wallets to connect to any database in region • All user sessions are terminated for databases whose wallet is rotated. • User session termination begins after wallet rotation completes, however this process does not happen immediately. New Option To Rotate Wallets For ADB 1 2
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. mTLS or TLS Most people do not like to configure wallets • ADB used mTLS to establish the client-server connection • Both the client and the server have a special secret key and its exchanged to be validated • Going forward one can connect to ADB using TLS instead of mTLS • To make it secure • To enable TLS on an ADB instance with a public endpoint exposed • One must have an Access Control List (ACL) in place • Traffic outside of the VCN is blocked giving you confidence that your connection is secured
  • 39. Wallet-less connections on Linux x64 clients using Oracle Call Interface Copyright © 2021, Oracle and/or its affiliates Using TLS authentication for Oracle Call Interface connections on Linux x64, a wallet is not required when the client program connects with Oracle Instant Client 19.13 Using TLS authentication for Oracle Call Interface connections on all other platforms, or without Oracle Instant Client 19.13, clients must provide a generic CA root certificate wallet
  • 41. • ADB provides transparent access over data in Object Stores • Easily join across data sets in the “data lake” and in-database data sets • Leverage in-file metadata with Avro, ORC and Parquet to simplify creating tables Autonomous Database – Accessing Data In Object Stores Object Stores Oracle Object Store Amazon S3 Azure Blob Store Autonomous Database Google Cloud Store Wasabi Cloud Store 41 Copyright © 2021, Oracle and/or its affiliates HOW IT WORKS
  • 42. Note only use of DBMS_CLOUD syntax is supported Hybrid Partitioned Tables BEGIN DBMS_CLOUD.CREATE_HYBRID_PART_TABLE( table_name =>'HPT1’, credential_name =>'OBJ_STORE_CRED’, format => json_object('delimiter' value ',', ‘ recorddelimiter' value 'newline', ‘ characterset' value 'us7ascii’), column_list => 'col1 number, col2 number, col3 number’ partitioning_clause => 'partition by range (col1) (partition p1 values less than (1000) external location ( 'https://swiftobjectstorage.us-ashburn-1 .../file_01.txt') , partition p2 values less than (2000) external location ( ‘https://swiftobjectstorage.us-ashburn-1 .../file_02.txt') , partition p3 values less than (3000) ) ) END;
  • 43. External tables with partitioning specified in source files Copyright © 2021, Oracle and/or its affiliates Partitioning is a well-established technique to improve the performance and manageability of database systems by dividing large objects into smaller partitions; any large data warehouse takes advantage of it BEGIN DBMS_CLOUD.CREATE_EXTERNAL_PART_TABLE( TABLE_NAME => 'sales_new_api', CREDENTIAL_NAME => 'CRED_OCI', FILE_URI_LIST => 'https://objectstorage.us-ashburn- 1.oraclecloud.com/n/my_namespace/b/moviestream_landing/o/sales_sample/*.parquet', FORMAT => '{"type":"parquet", "schema": "first","partition_columns":[{"name":"month","type":"varchar2(100)"}]}' ); END; /
  • 44. External tables with partitioning specified in source files Copyright © 2021, Oracle and/or its affiliates If new files are added or removed in the underlying Object Store, you just run the new sync procedure like this: BEGIN DBMS_CLOUD.SYNC_EXTERNAL_PART_TABLE (table_name => 'sales_new_api'); END; /
  • 45. Set Patch Level When Creating A Clone and retrieve Patch Details
  • 46. Set Patch Level When Creating A Clone When you provision or clone an Autonomous Database instance you can select a patch level to apply upcoming patches. There are two patch level options: Regular and Early. The Early patch level allows testing upcoming patches one week before they are applied as part of the regular patching program The console shows the patch level setting with the section headed Maintenance. OVERVIEW HOW IT WORKS
  • 47. View Autonomous Database maintenance event history to see details about past maintenance events (requires ADMIN user) View Patch Details OVERVIEW
  • 48. SELECT * FROM DBA_CLOUD_PATCH_INFO; SELECT * FROM DBA_CLOUD_PATCH_INFO WHERE PATCH_VERSION = 'ADBS-21.7.1.2'; View Patch Details HOW IT WORKS
  • 49. Oracle Database API for MongoDB
  • 50. Oracle Database API for MongoDB enables developers to connect applications directly to Oracle Autonomous Database using MongoDB's own drivers and tools Oracle Database API for MongoDB Developers can combine existing MongoDB skills with full power of Autonomous Database
  • 51. OCI Identity and Access Management (IAM) Authentication
  • 52. Integration With OCI Identity and Access Management (IAM) Authentication Copyright © 2021, Oracle and/or its affiliates OCI Identity and Access Management users can now authenticate and authorize to ADB-Shared. Better security since user access to databases is managed centrally instead of locally in every database Reduces zombie database user accounts User management moves DBA tasks to the IAM administrator SQL*Plus users can sign into Autonomous Database using their IAM username and IAM database password Users can also use IAM SSO tokens with the latest JDBC-thin and OCI-C database clients to connect with ADB-Shared
  • 54. Copyright © 2021, Oracle and/or its affiliates Override the default concurrency settings via the MEDIUM service. Makes it easier to manage application-specific concurrency requirements. Change via Autonomous Database Service Console or using PL/SQL procedure Change Concurrency Limits Via Console OVERVIEW HOW IT WORKS
  • 56. 1. Enable Azure service principal authentication in ADB-S Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates SQL> BEGIN 2 DBMS_CLOUD_ADMIN.ENABLE_PRINCIPAL_AUTH( 3 provider => 'AZURE', 4 params => JSON_OBJECT('azure_tenantid' value '74***-****-****-****-****67')); 5 END; 6 / PL/SQL procedure successfully completed. Enable the Azure service principal authentication in ADB-S instance Needs Azure Active Directory (AD) tenant ID for this so that my ADB-S instance can be properly associated with my Azure tenancy and registered as an authorized application in see How to find your Azure Active Directory tenant ID
  • 57. 2. Provide Azure application consent Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates SQL> SELECT param_name, param_value FROM CLOUD_INTEGRATIONS; PARAM_NAME PARAM_VALUE ------------------ ----------------------------------------------------------------------- ------- azure_tenantid 74***-****-****-****-****67 azure_consent_url https://login.microsoftonline.com/'74***-****-****- ****_****67'/oauth2/v2.0/***&scope=User.read azure_app_name ADBS_APP_OCID1.AUTONOMOUSDATABASE.OC1.IAD.******VFA Query the CLOUD_INTEGRATIONS view to find the azure_consent_url and azure_app_name
  • 58. 3. Provide Azure application consent Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates Visit the URL from azure_consent_url and accept the request:
  • 59. 4. Assign necessary roles for the application to access the Azure resources Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates Navigate to Azure console home -> Storage accounts -> <myStorageAccountname> -> Access Control (IAM) -> Add -> Add Role Assignment -> Role and search for “blob storage”
  • 60. 4. Assign necessary roles for the application to access the Azure resources Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates Navigate to Members -> Select members and copy/paste the the value of azure_app_name
  • 61. 5. Load data from Azure blob storage via Azure service principal Simplified access to resources on Azure Copyright © 2021, Oracle and/or its affiliates Load some data from my Azure blob storage AZURE$PA is the credential_name in DBMS_CLOUD.COPY_DATA procedure: SQL> CREATE TABLE CHANNELS 2 (channel_id CHAR(1), 3 channel_desc VARCHAR2(20), 4 channel_class VARCHAR2(20) 5 ); Table CHANNELS created. SQL> BEGIN 2 DBMS_CLOUD.COPY_DATA( 3 table_name =>'CHANNELS', 4 credential_name =>'AZURE$PA', 5 file_uri_list =>'https://ctuzlastorage.blob.core.windows.net/ctuzlabucket/chan_v3.dat', 6 format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true') 7 ); 8 END; 9 / PL/SQL procedure successfully completed. SQL> select count(*) from channels; COUNT(*) ___________ 10
  • 62. Use Azure Active Directory to centrally manage database users Copyright © 2021, Oracle and/or its affiliates Autonomous Database (Shared Infrastructure) users can be centrally managed in Microsoft Azure Active Directory (Azure AD) for stronger security instead of locally in every database Azure AD users and applications can use Azure AD OAuth2 access tokens to access the Autonomous Database Azure AD users don't have to remember separate database credentials; they use their existing Azure AD SSO credentials
  • 64. Step-1: Make Sure Redshift is Configured to Allow Public Access Connect to Non-Oracle databases using built-in heterogeneous connectivity Copyright © 2021, Oracle and/or its affiliates Under “Actions” menu of your Redshift cluster on AWS console, we need to select “Modify publicly accessible setting” to make sure our Redshift cluster is publicly accessible:
  • 65. Step-1: Make Sure Redshift is Configured to Allow Public Access Connect to Non-Oracle databases using built-in heterogeneous connectivity Copyright © 2021, Oracle and/or its affiliates We then navigate to the VPC security group that is assigned to our Redshift cluster and create an inbound rule to port 5439 from the source IP or CIDR range of our choice:
  • 66. Step-2: Create a Database Link to your Redshift Instance Connect to Non-Oracle databases using built-in heterogeneous connectivity Copyright © 2021, Oracle and/or its affiliates First, create a credential object with the credentials (username and password) of the target database: BEGIN DBMS_CLOUD.CREATE_CREDENTIAL( credential_name => 'REDSHIFT_CRED’, username => 'awsadmin’, password => '************’); END; / PL/SQL procedure successfully completed.
  • 67. Step-2: Create a Database Link to your Redshift Instance Connect to Non-Oracle databases using built-in heterogeneous connectivity Copyright © 2021, Oracle and/or its affiliates Next, we will create a database link to our Redshift instance. As you can tell, it looks nearly identical to any other database link creation except for the gateway_params parameter for which we are passing 'awsredshift' as our database type: BEGIN DBMS_CLOUD_ADMIN.CREATE_DATABASE_LINK( db_link_name => 'REDSHIFT_LINK', hostname => 'redshift-cluster-1.******.us-west-1.redshift.amazonaws.com', port => '5439', service_name => 'dev', credential_name => 'REDSHIFT_CRED', gateway_params => JSON_OBJECT('db_type' value 'awsredshift'), ssl_server_cert_dn => NULL); END; / PL/SQL procedure successfully completed.
  • 68. Step-3: Run a Query Over the Database Link Connect to Non-Oracle databases using built-in heterogeneous connectivity Copyright © 2021, Oracle and/or its affiliates SELECT COUNT(*) FROM SALES@REDSHIFT_LINK; COUNT(*) ----------- 172456
  • 70. ADB provides two options for Transparent Data Encryption (TDE) to encrypt data in the database: • Oracle-managed encryption keys • Customer-managed encryption keys • Customer managed keys integrates with Oracle Cloud Infrastructure Vault service • When rotating customer-managed master encryption key ADB generates a new TDE master key • ADB uses new TDE master key to re-encrypt tablespace encryption keys that encrypt and decrypt your data. • Operation is fast and does not require database downtime Customer Managed Keys OVERVIEW
  • 73. Use Resource Principal To Access OCI Resources
  • 74. A resource principle authorizes an OCI resource to make API calls to certain OCI services (e.g. Object Store) This simplifies access to Object Stores Autonomous Database can use resource principal credentials to access the specified Oracle Cloud Infrastructure resources. Typical use cases: • Access data from an Object Storage bucket, perform some operation on the data, and then write the modified data back to the Object Storage bucket. • Access your vaults, keys, or secrets. • List work requests or list work request errors. Use Resource Principal To Access OCI Resources Copyright © 2021, Oracle and/or its affiliates OVERVIEW
  • 75. Use Resource Principal To Access OCI Resources 1) Create a dynamic group Tells IAM that a given Autonomous Database should be able to read from the Object Storage buckets and objects that are in a given compartment HOW IT WORKS In the OCI console, go to ‘Identity and Security’ -> ‘Dynamic Groups’ -> ‘Create Dynamic Group’ To include only ADB-S instance to this dynamic group, add the instance OCID in the following rule: resource.id = 'ocid1.autonomousdatabase.oc1.iad.osbgdthsnmakytsbnjpq7n37q'
  • 76. Use Resource Principal To Access OCI Resources HOW IT WORKS
  • 77. Use Resource Principal To Access OCI Resources 2) Create a policy Allow this resource to access our Object Storage bucket that resides in a given compartment HOW IT WORKS In the OCI console, go to ‘Identity and Security’ -> ‘Policies’-> ‘Create Policy’ Add your policy statement in plain text or use the Policy Builder. Allow dynamic-group ctuzlaDynamicGroup to read buckets in compartment ctuzlaRPcomp Allow dynamic-group ctuzlaDynamicGroup to read objects in compartment ctuzlaRPcomp Note: It’s also possible to allow higher levels of access as described in the documentation
  • 78. Use Resource Principal To Access OCI Resources 3) Enable resource principal in ADB-S Resource principal is not enabled by default in ADB-S. In order to be able to use resource principal in our ADB-S instance, we need to enable it using the DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL procedure: HOW IT WORKS As ADMIN user, execute the following statement: EXEC DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL(); PL/SQL procedure successfully completed.
  • 79. Use Resource Principal To Access OCI Resources 4) Verify that resource principle is enabled: HOW IT WORKS SELECT owner, credential_name FROM dba_credentials WHERE credential_name = 'OCI$RESOURCE_PRINCIPAL' AND owner = 'ADMIN'; OWNER CREDENTIAL_NAME ----- ---------------------- ADMIN OCI$RESOURCE_PRINCIPAL
  • 80. Use Resource Principal To Access OCI Resources 5) Optionally, enable other database users to call DBMS_CLOUD APIs using resource principal HOW IT WORKS EXEC DBMS_CLOUD_ADMIN.ENABLE_RESOURCE_PRINCIPAL(username => 'ADB_USER'); PL/SQL procedure successfully completed.
  • 81. Use Resource Principal To Access OCI Resources 6) Load data from Object Storage using resource principal HOW IT WORKS CREATE TABLE CHANNELS (channel_id CHAR(1), channel_desc VARCHAR2(20), channel_class VARCHAR2(20) ); Table CHANNELS created. BEGIN DBMS_CLOUD.COPY_DATA( table_name =>'CHANNELS', credential_name =>'OCI$RESOURCE_PRINCIPAL', file_uri_list =>'https://objectstorage.us-ashburn- 1.oraclecloud.com/n/adwc4pm/b/ctuzlaBucket/o/chan_v3.dat', format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true') ); END; / PL/SQL procedure successfully completed.
  • 83. Load data using DBMS_CLOUD • For data loading from files in the Cloud • Store your object storage credentials • Use the procedure DBMS_CLOUD.COPY_DATA to load data • The source file in this example is channels.txt File-02 in Object Store Bucket File-03 in Object Store Bucket File-01 in Object Store Bucket SET DEFINE OFF BEGIN DBMS_CLOUD.CREATE_CREDENTIAL( credential_name => 'DEF_CRED_NAME', username => 'adwc_user@example.com', password => 'password' ); END; /
  • 84. Load data using DBMS_CLOUD CREATE TABLE CHANNELS (channel_id CHAR(1), channel_desc VARCHAR2(20), channel_class VARCHAR2(20) ); BEGIN DBMS_CLOUD.COPY_DATA( table_name =>'CHANNELS', credential_name =>'DEF_CRED_NAME’, file_uri_list => 'https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace-string/b/ bucketname/o/channels.txt', format => json_object('delimiter' value ',') ); END; BEGIN DBMS_CLOUD.COPY_DATA( table_name =>'CHANNELS', credential_name =>'DEF_CRED_NAME’, file_uri_list =>'https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace- string/b/ bucketname/o/exp01.dmp, https://objectstorage.us-phoenix-1.oraclecloud.com/n/namespace-string/b/ bucketname/o/exp02.dmp', format => json_object('type' value 'datapump') ); END;
  • 85. Load data using DBMS_CLOUD BEGIN DBMS_CLOUD.COPY_COLLECTION( collection_name => 'fruit', credential_name => 'DEF_CRED_NAME', file_uri_list => 'https://objectstorage.us-ashburn-1.oraclecloud.com/n/ namespace-string/b/fruit_bucket/o/myCollection.json’, format => JSON_OBJECT('recorddelimiter' value '''n''') ); END; BEGIN DBMS_CLOUD.COPY_COLLECTION( collection_name => 'fruit2', credential_name => 'DEF_CRED_NAME', file_uri_list => 'https://objectstorage.us-ashburn-1.oraclecloud.com/n/ namespace-string/b/json/o/fruit_array.json’, format => '{"recorddelimiter" : "0x''01''", "unpackarrays" : TRUE}' ); END;
  • 86. Load data using DBMS_CLOUD SELECT table_name, owner_name, type, status, start_time, update_time, logfile_table, badfile_table FROM user_load_operations WHERE type = 'COPY’; TABLE_NAME OWNER_NAME TYPE STATUS START_TIME UPDATE_TIME LOGFILE_TABLE BADFILE_TABLE ------------------------------------------------------------------------------------ FRUIT ADMIN COPY COMPLETED 2020-04-23 22:27:37 2020-04-23 22:27:38 "" "" FRUIT ADMIN COPY FAILED 2020-04-23 22:28:36 2020-04-23 22:28:37 COPY$2_LOG COPY$2_BAD SELECT credential_name, username, comments FROM all_credentials; CREDENTIAL_NAME USERNAME COMMENTS ---------------------------–----------------------------- -------------------- ADB_TOKEN user_name@example.com {"comments":"Created via DBMS_CLOUD.create_credential"} DEF_CRED_NAME user_name@example.com {"comments":"Created via DBMS_CLOUD.create_credential"}
  • 87. ADB now supports SQL access to tenancy details
  • 88. 88 Confidential – © 2019 Oracle Internal/Restricted/Highly Restricted When you file a service request for Autonomous Database, you need to provide the tenancy details for your instance. Tenancy details for the instance are available on the Oracle Cloud Infrastructure console. However, if you are connected to the database, you can now obtain these details by querying the CLOUD_IDENTITY column of the V$PDBS view. For example: ...will generate something similar to the following: How to get the tenancy details for your instance SELECT cloud_identity FROM v$pdbs; {"DATABASE_NAME" : "DBxxxxxxxxxxxx", "REGION" : "us-phoenix-1", "TENANT_OCID" : "OCID1.TENANCY.REGION1..ID1", "DATABASE_OCID" : "OCID1.AUTONOMOUSDATABASE.OC1.SEA.ID2 ", "COMPARTMENT_OCID" : "ocid1.tenancy.region1..ID3"}
  • 90. UI Button To Quickly Add Your IP Address To ACLs Copyright © 2021, Oracle and/or its affiliates Makes it easier to setup ACLs where you need to add the IP address of the client to your Network Access Control List (ACL) The button "Add My IP Address" adds your current IP address to the ACL entry Removes the need to manually look for your client IP via a 3rd party website or app anymore (e.g. Google, whatsmyip.com etc) Available in both the Create Autonomous Database flow for new ADB-S instances to be provisioned and the Update Network Access flow for existing ADB-S instances
  • 91. Thank You Any Questions ? Sandesh Rao VP AIOps for the Autonomous Database @sandeshr https://www.linkedin.com/in/raosandesh/ https://www.slideshare.net/SandeshRao4