- Click to view our Accessibility Policy
- Skip to content
Oracle Database 11g Express Edition
Free to develop, deploy, and distribute
Oracle Database 11g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 11g Release 2 code base. It’s free to develop, deploy, and distribute; fast to download; and simple to administer.
Oracle Database XE is a great starter database for:
- Developers working on Node.js, Python, PHP, Java, .NET, XML, and Open Source applications
- DBAs who need a free, starter database for training and deployment
- Independent Software Vendors (ISVs) and hardware vendors who want a starter database to distribute free of charge
- Educational institutions and students who need a free database for their curriculum
With Oracle Database XE, you can now develop and deploy applications with a powerful, proven, industry-leading infrastructure, and then upgrade when necessary without costly and complex migrations.
Oracle Database XE can be installed on any size host machine with any number of CPUs (one database per machine), but XE will store up to 11GB of user data, use up to 1GB of memory, and use one CPU on the host machine.
Support is provided through a free Oracle Discussion Forum monitored by Oracle employees as well as community experts.
- Click to view our Accessibility Policy
- Skip to content
We’re sorry. We could not find a match for your search.
We suggest you try the following to help find what you’re looking for:
- Check the spelling of your keyword search.
- Use synonyms for the keyword you typed, for example, try «application» instead of «software.»
- Start a new search.
Cloud Account
Sign in to Cloud
Oracle Account
- Sign-In
- Create an Account
- Help
- Sign Out
Contact Sales
Menu
Menu
Oracle Database XE
Prior Release Archive
Oracle Database Express Edition (XE) Release 11.2.0.2.0 (11gR2).
Name |
Download |
Release notes |
---|---|---|
Oracle Database 11gR2 Express Edition for Windows x64 |
Download |
{Note: Unzip the download and run the DISK1/setup.exe} |
Oracle Database 11gR2 Express Edition for Windows x32 |
Download |
{Note: Unzip the download and run the DISK1/setup.exe} |
Oracle Database 11gR2 Express Edition for Linux x64 |
Download |
{Note: Unzip the download and the RPM file can be installed as normal} |
Getting Started:
- Oracle Database 11gR2 XE Documentation
- Community Support Forum
Support
Oracle Database Express Edition (XE) is a community supported edition of the Oracle Database family. Please go to the Oracle Database XE Community Support Forum for help, feedback, and enhancement requests.
Note: Oracle Support Services only provides support for Oracle Database Enterprise Edition (EE) and Oracle Database Standard Edition 2 (SE2) in conjunction with a valid Oracle Database Technical Support agreement. No patches will be provided for Oracle Database Express Edition.
Oracle Database 18c XE Download
- Country/Region
Oracle Database Express Edition 11g Release 2 — это легковесная версия СУБД Oracle 11g Release 2, предназначенная для обучения и
разработки приложений. Она бесплатна
для всех категорий пользователей.
Ограничения, о которых сообщается на
сайте Oracle: СУБД использует 1 процессор,
до 1 GB оперативной памяти и позволяет
хранить не более 11 GB данных.
Дистрибутив
для Windows представляет собой zip файл,
после распаковки которого получаем
папку DISK1 с установочными файлами.
Запускаем setup.exe:
После
принятия условий лицензионного соглашения
и определения директории, в которую будет
выполнена установка (по умолчанию
c:\oraclexe), предлагается ввести пароль для
учетных записей базы данных SYS и SYSTEM.
Учетная
запись SYS – это суперпользователь СУБД
Oracle, которому принадлежат все системные
таблицы (словарь) базы данных и который
обладает всеми мыслимыми привилегиями
в рамках СУБД, включая запуск и останов
СУБД. Учетная запись SYSTEM также обладает
значительными привилегиями. Итак, вводим
пароль для SYS и SYSTEM и идем далее:
Программа
установки суммирует для нас ключевую
информацию, прежде чем начать установку:
Здесь
Destination Folder, директория назначения, будет
содержать файлы СУБД Oracle после завершения
установки. Строка Port for ‘Oracle Database Listener’
сообщает нам, что Oracle listener – компонент,
предназначенный для установления
соединения клиентов с сервером Oracle, —
будет ожидать клиентских запросов,
«слушая» порт 1521. А строка Port for ‘Oracle
HTTP Listener’ говорит о том, что с СУБД можно
будет работать по протоколу HTTP по порту 8080.
Нажимаем
кнопку Install, и через несколько минут
установка завершена:
Что же мы получили в результате установки?
Во-первых,
создана директория c:\oraclexe, в которую мы
и заглянем:
В папке c:\oraclexe\app\oracle\product\11.2.0\server
(Oracle Home
с установочного экрана Summary)
размещено программное обеспечение СУБД
Oracle, серверное и клиентское.
В папке c:\oraclexe\app\oracle\oradata\XE
находятся файлы базы данных, созданной
во время установки. Так, файл SYSTEM.DBF
физически хранит системный словарь
базы данных, а файл USERS.DBF предназначен
для пользовательских данных.
Во-вторых,
в меню Пуск созданы новые пункты:
В-третьих,
созданы и сконфигурированы новые сервисы Windows:
Особенно важны два из них:
-
OracleXETNSListener
– компонент, отвечающий за соединение
клиентов с сервером Oracle, «слушающий
эфир» по порту 1521. Локальные клиентские
программы не нуждаются в этом компоненте
для установления соединения с СУБД, но
для удаленных клиентов этот сервис
необходим. -
OracleServiceXE
– сервер СУБД Oracle, обслуживающий все
запросы клиентов и оперирующий с данными
в базе данных.
После
установки Oracle Database Express Edition 11g Release 2 оба
эти сервиса настроены для автоматического
запуска при запуске операционной
системы. Чтобы сервер Oracle не потреблял
ограниченные ресурсы компьютера, когда
в этом нет необходимости, имеет смысл
для обоих сервисов установить тип
запуска ‘Вручную’:
После
этого запуск и останов сервисов
OracleXETNSListener и OracleServiceXE можно выполнять
из меню Пуск с помощью пунктов меню
Start Database и Stop Database, соответственно.
Как
вариант, можно сделать собственные
командные файлы для запуска и останова
сервисов, например:
startOracleXE.bat
net start OracleXETNSListener
net start OracleServiceXE
stopOracleXE.bat
net stop OracleServiceXE
net stop OracleXETNSListener
Запуск
сервисов Oracle при помощи командного
файла:
В-четвертых, в ходе установки Oracle Database
Express Edition 11g Release 2 в реестре
Windows создан ключ \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE с
конфигурационными параметрами. Запустим
regedit, чтобы исследовать эти параметры:
Параметр
NLS_LANG отвечает за локализацию сеансов
работы с СУБД Oracle. В частности, он
определяет формат даты, язык сообщений
об ошибках, кодовую страницу. Можно
оставить этот параметр как есть. Или,
для максимальной универсальности,
изменить его значение на
AMERICAN_AMERICA.AL32UTF8:
О какой
универсальности речь? AL32UTF8 есть кодировка
Unicode UTF-8, позволяющая представлять
символы всех языков Земли и многие
специальные символы. А выбор английского
языка (AMERICAN_AMERICA) гарантирует от появления
кракозябр в консоли Windows при работе с
инструментами командной строки. (Oracle
выводит русскоязычные сообщения в
кодировке win-1251, а консоль по умолчанию
ожидает сообщения в кодировке cp866.)
Итак, установка Oracle Database Express Edition 11g Release 2 привнесла на компьютер:
-
Директорию
c:\oraclexe, -
Новые
пункты в меню Пуск, -
Новые
сервисы Windows, -
Новый
ключ в реестре Windows.
Убедимся, что установленные программы работоспособны.
С помощью пункта меню Пуск Oracle
Database 11g Express Edition -> Run SQL Command Line запустим
SQL*Plus:
Соединение
с СУБД Oracle пока не установлено, и программа
ожидает наших команд. Установим
соединение, воспользовавшись учетной
записью SYSTEM и паролем, который мы ввели
ранее в ходе установки. И выполним
простейший SQL запрос:
Все работает
Для завершения
соединения и выхода из SQL*Plus достаточно
ввести exit.
Проверим работу listener’а для установки соединения
к Oracle. Воспользуемся утилитой tnsping для
проверки соединения с базой данных по
имени XE. Далее откроем сеанс работы в
SQL*Plus, присоединившись к базе данных по
имени XE:
Имя XE (от eXpress Edition) было сконфигурировано в
ходе установки Oracle специально для
установления соединения с базой данных.
За именем XE стоит набор параметров,
которые можно посмотреть
в файле tnsnames.ora в директории
c:\oraclexe\app\oracle\product\11.2.0\server\network\admin:
Если остановить сервис OracleXETNSListener, то
присоединиться к СУБД по имени XE не
удастся, хотя локальное соединение (без
указания TNS имени) по-прежнему будет
работать. Клиентские программы с других
компьютеров могут присоединиться к
СУБД XE только посредством listener’а.
В заключение, проверим возможность работы
с базой данных по протоколу
HTTP. Пункт меню Пуск Oracle Database 11g Express Edition -> Getting Started
откроет web-приложение для работы с СУБД Oracle:
Итак, СУБД Oracle Database Express Edition
11g Release 2 установлена и работает.
Basics about Oracle Database 11g XE (Express Edition) :
👇
Free Oracle Database for Everyone :
Whether you are a developer, a DBA, a data scientist, an educator, or just curious about databases, Oracle Database 18c Express Edition (XE) is the ideal way to get started. It is the same powerful Oracle Database that enterprises rely on worldwide, packaged for simple download, ease-of-use, and a full-featured experience. You get an Oracle Database to use in any environment, plus the ability to embed and redistribute – all completely free!
Now lets see the Steps to download and configure database in localhost i.e. in your personal laptop :
- Download 🠋 the Oracle database XE 11g software in your system by clicking on the below link
- Unzip the file and run setup.exe
- Click Next
- Accept the license agreement and click Next
- Configure the password for the database. Save this password because you need it to connect with database.
- Save the summary. This is the connection details to connect with the database. We will use this to configuration details in SQL developer tool to connect with this database in below steps.
- Database installation is successful. Now the database is ready to use.
- Mostly database get started automatically after installation. But as this is the first time let’s start the database manually.
Search for the Oracle Database 11g XE and click on Start Database.
Now open SQL Developer tool to connect the above configured database :
(If you don’t have SQL developer tool , you can download it from internet.)
- Open SQL Developer and create a new connection by clicking ‘➕‘ icon
- Enter below details :
Connection Name : write any meaningful name
Username : SYSTEM
Password : enter the password which you created while
configuring oracle database in system.
Hostname : localhost
Port : 1522 (or 1511)
Host : xe
- Click Save & then Test. If it’s Status : Success, click to Connect
- Now create a Table name «test_agent»
SQL Query : CREATE TABLE test_agent(message VARCHAR2(20));
Now follow the Next blog to create an OIC Integration using the above database. If you requirement is just to install database then your job is done, you can ignore the next article. Thanks !! 👍
Introduction
In this article, you’ll learn how to download, install, and set up an Oracle database, so that you can start running SQL queries on your own computer.
Why do you need these instructions?
Isn’t it just as simple as download, install, and run?
Well, it’s not that straight forward when setting up an Oracle database. Even if you’re using Oracle Express, which is Oracle’s version of their database that you can use yourself and the one that I’m explaining in this guide.
There are a few things to watch out for — which I’ll cover.
Also, Oracle’s website can be very confusing. Especially if you’ve never downloaded anything from there before.
So, with these instructions, you should be able to get Oracle Express running on your own computer without too much trouble.
At the time of writing, you can run Oracle on Windows and Linux machines. There is no Mac version available. The only way that I know of to run Oracle on a Mac is to use a virtual machine such as Parallels, but as it’s not something I’ve done, I won’t include the steps here.
Overview
The steps we will cover in this guide are:
- Download and install Oracle client (or Oracle Express, which is the actual database)
- Download and install Java JDK (which is needed to run the development tool)
- Download and install SQL Developer (which is used to run SQL queries)
- Create a connection in SQL Developer (to allow you to run queries on your installed Oracle database)
I won’t be covering how to learn SQL in this article, but that would be the next step to take, if you don’t know SQL.
Let’s get started!
Step 1 — Download Oracle Client (Oracle Express)
The first step is to download the Oracle client. This is the actual database software that runs and manages the database.
Oracle Express is a version created by Oracle that you can download for free for your own use. It does have some limitations, but it should be enough for your own education and smaller projects.
To start with, visit the Oracle website at www.oracle.com.
Hover over the Downloads menu item at the top of the page.
Select «Oracle Database 11g Express Edition«.
The download page will appear. To be able to download the link, you’ll need to accept the license agreement. Read that by clicking on the link, and then click Accept License Agreement.
Choose the relevant download for your operating system.
- If you’re running a 64-bit version of Windows, choose the «Oracle Database Express Edition 11g Release 2 for Windows x64» file.
- If you’re running a 32-bit version of Windows, choose the «Oracle Database Express Edition 11g Release 2 for Windows x32» file.
- If you’re running Linux, then choose the «Oracle Database Express Edition 11g Release 2 for Linux x64» file.
If you’re not sure which version of Windows you’re running, go to the Start button, right click on My Computer, and select Properties. This will bring up the System screen in the Control panel.
You can also right click on My Computer within Windows Explorer and select Properties to get to the same screen.
In the middle of the screen, you’ll see a System Type label, and next to it will say either 32-bit or 64-bit Operating System.
Once you click on the right version of the Oracle download file, you’ll be prompted with a Sign in screen.
If you have an account, then enter your details.
If you don’t have an account (which, if you’re setting up Oracle for the first time, you probably don’t), click Create Account on the right.
Fill out your details and click Create Account at the bottom. You don’t need to check the «Yes, send me emails on Oracle Products, Services and Events» if you don’t want to.
Once you have your account created, you should be presented with the file download box.
If not, you can log in with your new account details and follow the steps above to go back to the download link.
Save the file (which is called «OracleXE112_Win64» or similar. This is the archive file that you extract and install from.
The file will then be downloaded.
Now, we need to extract and install the file.
Step 2 — Install Oracle Express
To install Oracle Express from the downloaded file, go to the location where you’ve downloaded it.
Extract the file to a location of your choice. The process for doing this will depend on what acrhive program you use (7zip, WinZip, WinRAR), but generally you start by openning the ZIP file.
Choose a location to extract it to on your hard drive, and click Extract.
Once the extract has finished, go to the location you extracted to.
Open the DISK1 folder and run setup.exe It should be the only file in the folder.
An installer wizard will pop up and begin preparing.
Once it has prepared, click Next.
Read and accept the Terms and Conditions.
On the Choose Destination Location page, ensure you have enough space to install it to the default location. You don’t need to change the location, but if you want to, you can here. Otherwise, click Next.
Now, this is an important step. Here, you specify the database password, to be used for two system accounts — SYS and SYSTEM.
You should choose a secure password, and one that you’ll remember. You’ll need to enter this password later in this process when you log in to the Oracle database — so don’t forget it.
Enter the password twice, and click Next.
Click Install on the final screen.
The installation will take a few minutes. Once it’s finished, click the Finish button.
Step 3 — Download JDK
The next step is to download the JDK or Java JDK as it’s also known.
JDK stands for Java Development Kit, and you’ll need to run SQL Developer, which is the tool used to run SQL queries that we’ll be installing next.
To install the JDK, go back to the Oracle website at www.oracle.com.
Hover over the Downloads menu item and click Java for Developers.
On the Java SE Downloads page, click on the Java Platform JDK button. It should be the one on the left.
Once again, you’ll need to read and accept the license agreement to proceed.
If you don’t accept, a message will pop up when you try to download the file and prvent you from downloading.
After you’ve done that, select the right version for your operating system. Focus on the «Java SE Development Kit» section, not on the second section (which has sample downloads that you don’t need).
If you’re running Windows, you should select either the 32 bit or 64 bit version.
If you’re running Linux, you have several choices here as well.
Once you click on the link, you’ll be asked to save the file. Save it to your computer.
Step 4 — Install the JDK
Now that you’ve downloaded the file, the next part is to install it. This is pretty straight forward, but I’ll run through the steps anyway.
Open the JDK file you downloaded above. If a security warning appears, click Run.
On the welcome screen, click Next.
On the Features page, click Next as well. The default settings are OK.
The JDK will now be installed. This step can take a couple of minutes as well.
Once that has completed, another installation path may be requested for the JRE. This is the Java Runtime Environment, which is another part of Java you’ll need. Click Next on this screen.
The next part will then be installed, which may take a couple of minutes.
Once the installation has completed, click Close.
Step 5 — Download Oracle SQL Developer
Alright, we’re now up to the final piece of software to download.
SQL Developer is a tool created by Oracle that lets you write SQL queries against the Oracle database.
To download it, go back to the Oracle website at www.oracle.com.
Hover over the Downloads menu item and click SQL Developer.
Once again, you’ll need to read and accept the license agreement to proceed.
Select the relevant file based on your operating system.
You might notice that there is a Mac version listed here, even though Oracle is not available for Mac.
This is because while you can’t install the Oracle database on a Mac, you can still run SQL Developer to connect to databases on other computers or servers using other operating systems. It’s not restricted to just connecting to your own computer.
Once you click on the file you want, choose a location for the file and click Save.
Step 6 — Set Up Oracle SQL Developer
After the SQL Developer file has finished downloading, open the file.
This step is different to the earlier steps as you don’t need to install SQL Developer, you just need to unzip and run it.
So, now you’ve opened the file, extract it to the location you want. This is where the file will be run from, so you may want to extract it to Program Files or something to be consistent.
Once it has extracted, go to the folder that you extracted it to.
Run «sqldeveloper.exe«.
The program will ask for the path to java.exe. This is something you installed earlier in the process.
To find the path, click on Browse, and go to the location it was installed to. The location will be something like this:
C:\Program Files\Java\jdk1.7.0_25\bin
When you’re in the right folder, the java.exe file should be visible. Click on that to select it and click OK.
You might get a message saying that the Java version is not certified. This is usually due to the fact that the SQL Developer has not been updated to match the latest Java version. I’ve gotten this message before and had no problems with using SQL Developer, so if you get it, just click Yes to proceed.
SQL Developer will then start.
The File Type Associations dialog box will appear. You don’t need to select any of these, but if you want to have these file types open in SQL Developer, then check the boxes. Click OK.
SQL Developer is now installed and ready to go. The final step is to set up a connection to your database.
Step 7 — Create a Connection in Oracle SQL Developer
You’ve got SQL Developer running, as well as your Oracle database. Now you just need to connect the two.
Click on the green plus icon on the top left of the screen, under the Connections tab in the sidebar.
The New Database Connection window will appear.
Enter the following details into the window:
Connection Name: Something that you can identify it by. I usually use «Local»
Username: system
Password: The password you entered during the install process (hopefully you remembered it!)
Save Password: Checked
Connection Type: Basic
Role: Default
Hostname: localhost
Port: 1521
SID: xe
Once you’ve entered that information, click Test. The Status in the bottom left should say Success.
If it doesn’t, ensure you’ve entered the right information, and have Oracle running. If it still doesn’t work, restart your computer and try again.
Once the test is successful, click Connect.
A connection called Local (or whatever you named it) will appear in the sidebar, and a new SQL window will appear in the main section.
This is where you enter your queries.
To test it, enter a sample query.
You can try this one:
SELECT 'X' FROM DUAL;
Press F9, or click on the green Play triangle in the window, to run the query.
The result will appear at the bottom of the window.
Congratulations! You have now installed Oracle Express and Oracle SQL Developer on your computer! Now it’s ready to be used for your SQL queries.
History
11/4/15 — Initial version.