Updated 12 September 2023

You’ve decided you want to learn more about data, databases, and of course, SQL! Did you know that Oracle provides many free platforms you can use to practice your killer SELECT * skills?

It’s also quite likely Oracle has been chosen for you, via your university or school curriculum. If you’re lucky, they have a database you can use, but in many cases you’re expected to create your own.

Have no fear! You can and WILL be ‘up and running,’ in just a few minutes? So let’s take that red pill, jump into the Oracle!

Easiest ways to get started on Oracle

1. LiveSQL.oracle.com

LiveSQL is a hosted environment where you can submit your SQL and PL/SQL calls in a browser, we run those for you in an Oracle Database, and give you the results.

Zero configuration is required. If you want to SAVE your scenarios so they can be replayed later, you only need to sign-up for a free account.

Yes, that’s my real email. Yes, people email me. No, I won’t do your homework for you.

In my opinion, LiveSQL is your easiest path. If the point of the class is to learn how to design a table, how to get data out of your table, how to put application logic into your database (PL/SQL), then LiveSQL gives you everything you need.

I’ve talked about LiveSQL here in more detail if you’re still curious about how it works. However, it’s designed to be drop-dead simple. So feel free to jump right in, and start using it!

Pros

  1. nothing to install
  2. zero to maintain
  3. can save your work
  4. easily share your SQL with others
  5. newer Oracle Database
  6. includes TUTORIALS and code samples to help you learn additional topics

Cons

  1. no database to call your own, or hug at night
  2. will need to setup an account if you want to save your work
  3. Internet access required

Top Secret News: We’re working on a newer, better LiveSQL – stay tuned!

2. Always Free Oracle Autonomous Cloud Database Service

The name pretty much says it all. It’s FREE. It’s in the Cloud. Here’s what else you need to know:

Pros:

  1. be up and running in about 3 minutes, all from your browser
  2. you can work with it using your favorite developer/desktop tools
  3. we take care of it for you – backups, upgrades, etc
  4. it comes with all the tools you need to learn SQL and PL/SQL
  5. exposure to general Cloud concepts
  6. TWO (2!) Always Free databases per account
  7. not just for learning SQL – JSON, REST, Graph, NoSQL, Machine Learning, AI, advanced analytics are all included as well!
We even help you get started with data you might fun and interesting to explore!

Cons:

  1. needs an internet connection
  2. 20 GB max storage, but this is MORE than enough to learn how to use SQL
  3. stop using the database for a few days, we’ll turn the database off
  4. abandon it for a very long time, we’ll delete your database

I’m a huge fan of Always Free in the Oracle Cloud, having used it since Day 0. I’ve experienced a few minutes of unavailability over the past few YEAR. I needed to restart it due to the service ‘going to sleep’ … maybe 6 times? It only takes a few moments to get it back up and running again.

Would you like to learn more about Always Free from an independent 3rd party, so you can know what’s it’s REALLY like? Then this 22 part blog series is for you.

Oracle Database 23c Free-Developer Release

23c is our latest and greatest technology as far as databases go. We’ve made it completely free for people to use. Both of the following options are using this version of the database, so you have no licensing or money/cost concerns.

3. VirtualBox Database Appliance

This is a virtual machine that will be running on your Mac, PC, or Linux desktop. It’s pre-built, meaning you only need to download, install, and hit the ‘Start’ button.

This is ideal for folks that want a physical database install they can get ‘their hands on’ and play around with it. You’ll have ROOT access on the underlying Linux OS. You’ll have SYS access on the database. If you want to change something, you can.

It comes with a Linux desktop, but you can interact with the db from your Win/Mac host!

I wrote this post that helps you get started using the system, but the main thing to remember is that ALL of the passwords are simply, ‘oracle’

From SQL Developer running on my Mac (or Windows or wherever you have installed VirtualBox), connecting to the Oracle Database running on the Linux image being hosted by VirtualBox –

USER: hr PASSWORD: oracle HOSTNAME: localhost PORT: 1521 SERVICE: freepdb1

If you’re wondering about the ‘localhost’ bits, and how that works – we have a virtual port forward defined in the VBox networking settings for your VM. We take all of the traffic on port 1521 of your machine and send it to port 1521 of the machine running the database. That makes connections EASY.

Pros:

  1. it’s FREE for educational purposes
  2. you are in COMPLETE control, you have GOD mode
  3. everything will be on YOUR machine, no Internet access required once it’s downloaded
  4. exposure to the Linux OS
  5. a fully-working Oracle Database, but not requirement to install it
  6. you can easily restore it to a previous state if you ‘mess up’
  7. you can just connect to the database directly from your host environment, like your OS X Bash shell, and never even look at the Linux desktop if you don’t want to
  8. it’s ROCK-SOLID
  9. SQL Developer, APEX, ORDS, test/sample data, and hands-on-labs to learn this stuff is all included

Cons

  1. It’ll require a good bit of local resources, I recommend 4 GB of RAM for the VM
  2. It will take about 30 minutes or so to download, extract, and run for the first time – this obviously depends on your network bandwidth and disk IO capabilities
  3. You’ll need to manage disk space, if you fill up the linux volumes, you’ll get to learn how to be a Linux ADMIN and Oracle DBA right quick
  4. It’s on your machine, yes – but if you want to get rid of it, it’s very easy to delete it

I’ve personally been using the same VirtualBox appliance for more than 5 years. I’ve had ZERO issues with it. If your machine crashes, no worries, your DB will come right back up if you need it to.

Want to build your OWN VirtualBox appliance? Well, we help you there as well with Vagrant. You can automate your VirtualBox machines and how they’re created.

I really enjoy reading Oracle-Base (Tim!)’s articles on Vagrant, but I will admit to never having used these myself.

4. Docker / Podman / Rancher Containers (DOWNLOAD)

Oracle container running in podman.

We’ve put the 23c Free-Developer version of the database in a container for you. If you’ve never used Docker before, the previously mentioned options will be easier for you to get started. But, if you’ve been using it already to host other programming environments, this will be easy-peasy.

On our team, we use podman to run containers. My colleague Chris has put together a ‘From Zero to Hero‘ getting started tutorial. You’ll find it quite useful.

If you’re wondering about the pros and cons of this approach, that basically boils down to the pros can cons of using technology like containers.

What I’ve used over the years…

Mac Mini (2018) VirtualBox Oracle 19c (23c now) & Windows 10/11 – each VM w/6GB RAM

I’m the ‘weirdo’ on my development team here at Oracle. Almost all of our developers use Docker Containers for their database, whereas I have a VirtualBox Appliance running on both my Mac (Big Sur) and Windows (Win 11) machines. If you want to spin it up on a lark and not worry about it otherwise, Docker is a great way to go. I always have my VirtualBox images running, and they have YEARS of data/projects/examples of data and code living in them.

I also have an Always Free Autonomous Oracle Database (Transaction Processing) Cloud Service in our Ashburn data center (East Coast, USA.) So with or without Internet, I’m always good to go – even if one of my two machines goes down. I chose the Ashburn data center because it was the closest to my home here in North Carolina. I honestly can’t tell that it’s any different than working with any of my other system in our corporate network over VPN in terms of network speed/access.

Two final notes

  1. If your professor tells you you HAVE to have a database – find out what that REALLY means. I’m betting that the LiveSQL solution would work for most of you.
  2. I’ve shared the easier ways to get started. If you’re training to be a database administrator, you can always download database software onto your Windows or Linux machine, and perform a software installation, and create a database from scratch. That’s becoming less and less important in terms of skills with automation and cloud taking over the world of IT.
Author

I'm a Distinguished Product Manager at Oracle. My mission is to help you and your company be more efficient with our database tools.

5 Comments

  1. You forgot one very big “Con” for LiveSQL: you can not finish registration without providing Oracle your phone number. Nothing in the world will make me give Oracle my phone number, sorry.

    • No problem Hans, that’s why I listed several things for you take advantage of. That info is only used to confirm your identity, you’ll never be contacted for anything because you used it to sign up for LiveSQL.

Write A Comment