Use the OracleDatabase v21.3.0-XE or v21.3.0 image, if you need the database only. If you intend to use APEX as well , which I can highly recommend, install Oracle APEX after running one of those database vagrants or use the OracleAPEX (v18.4.0-XE) image, if you need it out-of-the-box.
Because it is a regular Oracle Database, XE provides compatibility with other Oracle Database editions. If you outgrow Oracle Database XE, you can easily move to another edition of Oracle Database on-premises or Oracle Cloud and get unlimited resources, 24x7 customer support, and regular patches. You can also move to Oracle Autonomous Database in the Oracle Cloud Always Free Tier and let Oracle manage your database. Oracle provides numerous data movement tools to make migrating Oracle Database XE easy.
If you have an existing version of Oracle Database XE, you can save your data by exporting it to data files. After you install the new version of Oracle Database XE, you can import this data into the new database.
Welcome to Oracle Database Express Edition (Oracle Database XE). This guide gets you quickly up and running using Oracle Database XE by creating database objects and a simple application. It covers the following topics:
Backup Database: In NOARCHIVELOG mode (the default), shuts down the database, backs it up, and then restarts it. In ARCHIVELOG mode, performs an online backup of the database. For more information on backups, see Oracle Database Express Edition 2 Day DBA.
where username is the user name, such as system or another user account name, and password is the password that was assigned when Oracle Database XE was installed or when that user was created. To get help, you can enter the command help at the SQL prompt after you have connected to the database.
Start Database: Starts Oracle Database XE if it is currently stopped. By default, the database is started for you after installation and every time your computer is restarted. However, to reduce the overall performance load on the system, you can manually stop the database, and then manually restart it later.
You should create at least one database user that you will use to create database objects. A database user is a type of database object: a user is associated with a database schema, you connect to the database as a database user, and the database user is the owner of any database objects (tables and so on) that you create in the schema associated with the user.
You now want to be able to create and work with database objects (tables, views, procedures, functions, and so on) in the database that you installed. To do this, you can use Oracle SQL Developer and Oracle Application Express (also referred to as Application Express):
SQL Developer is a graphical tool that enables you to browse, create, edit, and delete (drop) database objects; run SQL statements and scripts; edit and debug PL/SQL code; unload (export) and load (import) data; migrate third-party databases to Oracle; and view metadata and data. The instructions in this guide use SQL Developer for getting started with database development.
To work with your Express Edition database in SQL Developer, you must create some database connections, so that you can view and work with database objects, use the SQL Worksheet, and use other features.
You can create database connections to the local Express Edition database and to Oracle Database instances on other systems. If you create a connection manually, you can specify the Save Password option to avoid having to enter the password each time you connect, and you can edit the user name and password associated with then connection.
To get started quickly working with database objects, do the short tutorial in the SQL Developer online help (also available in Oracle SQL Developer User's Guide). This tutorial creates three tables, a sequence, a view, and a PL/SQL procedure for a small library database, and inserts some sample data into the tables. You can create these objects using a database connection to a user that you created (such as one to CHRIS if you used that example).
In addition to or instead of doing this tutorial, you can unlock the supplied sample HR user account (see Section 5), and then use a database connection to the HR user to view tables, procedures, and other objects. (You can modify data in the tables owned by HR, but you probably do not want to because many documents show examples that assume the supplied data.)
To view any objects owned by the supplied sample database user named HR, or to create the form-based application as described in Section 6, "Creating an Application Using Application Express", you must first unlock the HR sample account.
Oracle Database XE comes with a sample database user named HR. This user owns several database tables in a sample schema for a fictional Human Resources department. However, for security reasons, this user's account is locked. You need to unlock this account before you can view the HR objects or build any applications that use these objects. You can use either of the following approaches to unlock the account:
If you have not already created a database connection for the SYSTEM user, do so following the basic steps in Section 4.1, "Creating Database Connections"; however, specify an appropriate connection name (such as xe_system) and the user name and password for the SYSTEM user.
You can use Oracle Application Express to create applications with forms linked to tables and data in the database. This section guides you through creating such an application using the supplied HR account, and it contains the following sections:
To use Application Express, you must create at least one Application Express workspace. For this exercise, you will create a workspace for the HR user, so that you can develop the sample application using the HR database account. (After you perform the steps in this section, you do not need to repeat them for creating and modifying Application Express applications in this workspace.)
In Oracle Database XE Release 11.2, you can use the Database Home Page to perform various database administration tasks, including monitoring database storage, monitoring database sessions, and viewing database initialization parameters. To access Oracle Application Express, click the Application Express button on the Database Home Page and follow the instructions. Once you create a workspace, username, and password, you can access Oracle Application Express directly from your web browser as described in Oracle Database Express Edition 2 Day + Application Express Developer's Guide.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
Why does the installer think there is already an existing XE database? Pressing NEXT does nothing. What is the installer checking that makes it thinks there is an existing installation? How can I force the installer to do the installation?
Oracle SQL Developer: Oracle SQL Developer is a graphical version of SQL*Plus that gives database developers a convenient way to perform basic tasks. You can connect to any target Oracle Database XE schema using standard Oracle database authentication. Once connected, you can perform operations on objects in the database.
Oracle Application Express: Oracle Database XE includes Oracle Application Express, a rapid web application development tool for the Oracle database. Oracle Application Express is enabled by default in Oracle Database XE.
If you are installing on Windows XP, consider disabling simple file sharing on the computer where you plan to install Oracle Database XE. If simple file sharing is enabled, there is risk of unauthorized access to the data in your database.
Install Oracle Database XE on a file system that supports access controls (for example, NTFS). If you install Oracle Database XE on a file system that does not support access controls, such as FAT, there is significant risk of unauthorized access to the data in your database. If necessary, you can convert a FAT partition to an NTFS partition.
If Oracle Database XE is installed on a computer with more than one CPU (including dual-core CPUs), then it will consume, at most, processing resources equivalent to one CPU. For example, on a computer with two CPUs, if two Oracle database clients try to simultaneously execute CPU-intensive queries, then Oracle Database Standard Edition, Oracle Database Standard Edition One, or Oracle Database Enterprise Edition will use both CPUs to efficiently process the queries. However, with Oracle Database XE, the Oracle database will process the queries at the rate of a single CPU even if concurrent processing on two CPUs would be faster. To use the full processing resources of your computer, upgrade to Oracle Database Standard Edition, Oracle Database Standard Edition One, or Oracle Database Enterprise Edition.
Only one installation of Oracle Database XE can be performed on a single computer. This does not affect any existing installation or new installations of Oracle Database Standard Edition, Oracle Database Standard Edition One, or Oracle Database Enterprise Edition. In addition, users can run only one instance of the Oracle Database XE database on each individual computer. To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database Standard Edition, Oracle Database Standard Edition One, or Oracle Database Enterprise Edition.
760c119bf3