Oracle Database offers free options—XE and Cloud Free Tier—that are cost-free for development and small workloads under strict limits.
Oracle is not entirely free. Only Oracle Database Express Edition (XE) and the Oracle Cloud Always Free Tier cost nothing. Enterprise and Standard Editions require paid licenses.
XE is a single-instance database capped at 2 CPUs, 2 GB RAM, and 12 GB of user data. It ships with most core SQL, PL/SQL, JSON, and spatial features but excludes options such as Partitioning and Advanced Security.
After installing XE, connect as a normal user and run the DDL shown in the Syntax section. XE enforces the same SQL standard syntax you would use in paid editions, making migration straightforward.
The Always Free Tier provides two Autonomous Database instances (ATP or ADW) with 1 OCPU, 20 GB storage, and limited networking. It is ideal for prototypes and demos.
Choose PostgreSQL when you need unlimited database size, an OSI-approved license, or extensions like PostGIS without vendor lock-in. Select Oracle XE when you specifically test Oracle-only features.
Use ora2pg or Foreign Data Wrappers (oracle_fdw) to extract DDL and data. Create matching tables in PostgreSQL, run COPY commands, and validate row counts.
Monitor v$parameter for SGA and PGA usage, schedule daily exports with Data Pump, and keep data volume below 12 GB. Upgrade to paid editions before hitting limits.
Yes. Oracle permits production use of XE as long as you stay within its technical limits. Be ready to upgrade if your workload grows.
No. XE contains core features only. Options such as Partitioning, RAC, and Advanced Security remain paid add-ons.
No. The Always Free resources remain active if you use them monthly. Idle resources may be reclaimed after 7 days of no usage.