TechBuzzPro

Oracle 19c Installation Guide for Windows 10

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To install Oracle Database 19c on Windows 10, you must download the 19c installation binaries from the official Oracle website, extract them directly into the intended Oracle Home directory, and run the setup.exe as an administrator to configure the database instance. This process sets up a robust relational database management system (RDBMS) on your local machine for development or testing purposes.

What You'll Need

  • A Windows 10 PC with at least 8GB of RAM (16GB recommended).
  • At least 10GB of available disk space.
  • An active Oracle account to download the software.
  • Administrative privileges on the Windows 10 machine.
  • A stable internet connection for downloading the large installation files.

Step-by-Step

  1. Download the Software: Log into the Oracle Software Delivery Cloud or the Oracle Technology Network. Download the "Oracle Database 19c for Microsoft Windows x64" zip file.
  2. Prepare the Oracle Home: Create a folder where the software will reside. For example, C:\oracle19c. It is critical that you do not install this in a path with spaces (like "Program Files") as this can cause configuration errors.
  3. Extract the Binaries: Move the downloaded zip file into your newly created Oracle Home folder (C:\oracle19c) and extract the contents there. Important: Do not extract the files to a temporary folder and then move them; the 19c installer expects the setup.exe to be running from the final installation directory.
  4. Launch the Installer: Right-click setup.exe and select "Run as administrator". This ensures the installer has the necessary permissions to create Windows services and registry keys.
  5. Configure Installation Option: When prompted, select "Create and configure a single instance database". This is the standard choice for a local development environment.
  6. Select System Class: Choose "Desktop class" if you are installing on a personal laptop or workstation. Choose "Server class" only if the machine is dedicated to hosting the database for other users.
  7. Define Oracle Home and Database Details:
    • Oracle Base: Set this to a path like C:\app\oracle.
    • Software Location: This should point to the folder where you extracted the zip (e.g., C:\oracle19c).
    • Global Database Name: The default is usually orcl.
    • SID: The System Identifier, typically the same as the Global Database Name (orcl).
  8. Specify Administrative Passwords: Enter a strong password for the SYS, SYSTEM, and PDBADMIN accounts. You can use the same password for all three for a local test environment, but keep it recorded securely.
  9. Prerequisite Check: The installer will perform a check of your system. If any warnings appear regarding memory or disk space, review them. If a critical requirement is missing, the installer will stop; you must resolve the issue before proceeding.
  10. Install: Click "Install". The process will take some time as it creates the database files and configures the Windows services.
  11. Completion: Once finished, the installer will display a summary of the configuration, including the Oracle Net Address and the listener port (usually 1521). Note these details down and click "Close".

Common Mistakes

  • Wrong Extraction Path: Extracting the zip file to "Downloads" and then running setup. This fails because 19c is an image-based installation; the files must be in the final home directory before running setup.
  • Using Spaces in Paths: Installing into C:\Program Files\Oracle. This often leads to errors during the configuration of environment variables or script execution.
  • Ignoring Admin Rights: Running the installer as a standard user, which results in "Access Denied" errors when the installer attempts to create the Oracle Windows Service.
  • Insufficient RAM: Attempting to run the database on 4GB of RAM, which often leads to the system freezing or the database failing to start.

Tips

  • Static IP: If you plan to connect to this database from other machines on your network, assign a static IP address to your Windows 10 machine to avoid connection failures after a reboot.
  • Disable Sleep Mode: When running long database operations or migrations, disable Windows Sleep mode to prevent the database instance from being interrupted.
  • Use SQL Developer: While you can use the command line (SQL*Plus), download Oracle SQL Developer for a much more intuitive graphical interface to manage your tables and queries.

Troubleshooting

If the installation does not go as planned, try these steps in order:

  1. Check Windows Services: Press Win + R, type services.msc, and press Enter. Look for services starting with "Oracle". Ensure that OracleServiceORCL and OracleOraDB19Home1TNSListener are both "Running". If not, right-click and select "Start".
  2. Verify Environment Variables: Right-click "This PC" > Properties > Advanced system settings > Environment Variables. Ensure the ORACLE_HOME variable points to your installation folder and the Path variable includes the bin directory of your Oracle Home.
  3. Firewall Settings: If you cannot connect to the database, check the Windows Defender Firewall. Ensure that port 1521 is open for inbound traffic.
  4. Clean Reinstall: If the installation fails halfway, do not simply run setup again. You must delete the Oracle Home folder, remove the Oracle registry keys (under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE), and delete the Oracle services via the command prompt before attempting a fresh install.

Frequently Asked Questions

Can I install Oracle 19c on a 32-bit version of Windows 10?

No, Oracle 19c requires a 64-bit operating system.

What is the difference between the SYS and SYSTEM accounts?

SYS is the most powerful account and owns the data dictionary; SYSTEM is used for general database administration tasks.

Do I need to restart my computer after installation?

Usually, a restart is not required, but it is recommended to ensure all environment variables are properly loaded by the system.

What is a PDB in Oracle 19c?

A Pluggable Database (PDB) is a portable collection of schemas and objects that appears to a user as a separate database but shares resources with a Container Database (CDB).

How do I stop the database from starting automatically on boot?

Open services.msc, find the Oracle service (e.g., OracleServiceORCL), right-click it, select Properties, and change the Startup type from "Automatic" to "Manual".