Teaching How to get started with Autonomous Database for OLTP

We all know that data is massively valuable to businesses, whether it is to support daily business transactional activities (Online Transaction Processing – OLTP), or to help business with planning, problem solving and decision making (Online Analytical Processing – OLAP). Either way, businesses heavily rely on both ways to support their most important strategies and activities.

Until recently, companies had to heavily invest in provisioning, securing, patching and driving either way of Online Data processing mechanisms. In most cases, even with Cloud adoption, companies still had to rely on their own skills to make sure that their databases were properly patched, secured, tuned and managed.

However, today there is another option with the recent announcements that Oracle have made around Autonomous Databases for both OLAP and OLTP data processing. What this means, is that Oracle has taken automation to a totally new level with the assistance of Machine Learning. The idea is that the DB itself is self-sufficient with a full set of automated activities that range from patching, securing, optimising, etc. This will reduce not only the effort to run data workloads, but removing completely human errors, creating the opportunity to not only keep the lights on, but to focus on crucial business activities around innovation and differentiation.

Perhaps the best part of it, is that there is no learning curve to start utilising these Autonomous Database offerings. On the contrary, now there are less things to have to worry about. In this blog, I am showing how easily it is to provision an Autonomous Database for OLTP and quickly connect to it.

Previously, we wrote a similar article for Autonomous Data Warehouse for OLAP workloads. Feel free to also have a look at it as well.

Before we start

In this blog I assume the following:

Ok then, let’s have fun!

Provision a new Oracle Database for OLTP workloads

  • First login to your Cloud My Services dashboard. And locate Autonomous Database. If you cannot see it straightaway, you might need to “Customize Dashboard”.

  • Click on the burger menu for Autonomous Database and then click on Open Service Console.

  • On the Oracle Cloud Infrastructure console, click on the top left burger menu and click on “Autonomous Transaction Processing”.

  • Click on “Create Autonomous Transaction Processing” blue button.

  • Enter sensible values and when done, click at the bottom “Create Autonomous Transaction Processing”. Don’t worry about the size, you can always scale later if needed.

  • The provisioning will commence.

  • Give it a few minutes. Once ready the states will change to “Available”. In my case it took less than 2 minutes.

  • Click on its name and feel free to browse around to get comfortable on the available tasks, which include:
    • Service Console (admin/[YOUR_ENTERED_PASSWORD])
      • Storage
      • CPU
      • Activity / Current SQL statements
      • Administration (download client credentials, Oracle instant client, etc.)
    • Scale up/down
    • Stopping/Terminating/Restoring
    • Backups
    • Etc.
  • Make sure to go inside the Service Console using admin/YOUR_ENTERED_PASSWORD and then under Administration download:
    • Client Credentials (Security Wallet)
    • Oracle Instant Client

We are going to need these, as soon as we try to connect to the DB from microservice or SQL clients, such as SQL Developer, as indicated in the following section.

Congratulations, your Oracle Autonomous DB is up and ready to be hammered by your business logic. Let’s not leave it waiting…

Connect into your new Oracle Database instance using SQL Developer

In order to connect to our new Autonomous DB instance, we are going to use SQL Developer. You can use whatever other software you prefer by adjusting the following instructions respectively.

  • In SQL Developer, select New DB Connection.

  • Setup the configuration as follows:
    • Username: admin
    • Password: Enter the password that you used when provisioning the AUTONOMOUS DBC instance
    • Connection Type: Cloud PDB
    • Role: default
    • Configuration File: Select the Wallet (zip file) that you downloaded previously
    • Keystore Password: Select the wallet’s password that you entered when downloading your wallet.
    • Service: Select a service you want to use.

  • Makes sure you get a successful Test.

  • Save and then click Connect. You will find your connection on the left pane. Feel free to expand it.

Congratulations!!! your AUTONOMOUS Database for Online Transaction Processing is ready to be used. At this point you can simply focus on using the DB, for your projects, without worrying on patching, securing and driving it.

I will keep publishing more advanced topics as I keep playing with the new generation of Oracle Autonomous Cloud Services. So, you better stay tuned!

I hope you found this blog useful. If you have any question or comment, feel free to contact me directly at https://www.linkedin.com/in/citurria/

Thanks for your time.


Author: Carlos Rodriguez Iturria

I am extremely passionate about people, technology and the most effective ways to connect the two by sharing my knowledge and experience. Working collaboratively with customers and partners inspires and excites me, especially when the outcome is noticeable valuable to a business and results in true innovation. I enjoy learning and teaching, as I recognise that this is a critical aspect of remaining at the forefront of technology in the modern era. Over the past 10+ years, I have developed and defined solutions that are reliable, secure and scalable, working closely with a diverse range of stakeholders. I enjoy leading engagements and am very active in the technical communities – both internal and external. I have stood out as a noticeable mentor running technology events across major cities in Australia and New Zealand, including various technology areas such as, Enterprise Integrations, API Management, Cloud Integration, IaaS and PaaS adoption, DevOps, Continuous Integration, Continuous Automation among others. In recent years, I have shaped my role and directed my capabilities towards educating and architecting benefits for customers using Oracle and AWS Cloud technologies. I get especially excited when I am able to position both as a way to exceed my customers’ expectations. I hold a bachelor degree in Computer Science and certifications in Oracle and AWS Solutions Architecture.

9 thoughts on “Teaching How to get started with Autonomous Database for OLTP”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: