Import Data
Several methods are available for uploading data in to the database. For an initial data upload to Oracle Database Cloud Schema Service, use Oracle SQL Developer, the Oracle Application Express SQL Workshop Data Upload Utility or the Oracle Application Express Data Load utility.
Topics:
-
Use Oracle Application Express SQL Workshop Data Upload Utility
-
Use Oracle Application Express Application Data Load Utility
The following sections describe the various methods used to load your Schema Service with data.
See Also:
For instructions on using RESTful Services to access data, see Implement RESTful Web Services.
Use Oracle SQL Developer for Data Loading
You can use Oracle SQL Developer to load data from an on-premise database to Oracle Database Cloud Schema Service.
Topics:
Overview of the Oracle SQL Developer Data Loading Process
Oracle SQL Developer, along with your Oracle Database Cloud Schema Service SFTP server, provides the ability to upload data to your Schema Service. Oracle SQL Developer creates a cart containing objects you want to load in to your Schema Service, connects to your service and deploys data from the cart to the service.
To deploy objects to your service you must perform the following steps:
Create or Use an Existing Oracle Database Cloud Service for Data Loading
The first step in the data loading process is to locate the Welcome to Oracle Cloud email received during the Oracle Database Cloud Schema Service creation process.
If the Schema Service does not yet exist, see Request and Manage Free Oracle Cloud Promotions and Buy an Oracle Cloud Subscription in Getting Started with Oracle Cloud.
During the service creation process and after your service has been activated, a Welcome to Oracle Cloud email is sent. This email contains important usernames and URLs required for configuring Oracle SQL Developer and the Secure FTP site for data loading. See Configuring Oracle SQL Developer Cloud Connection and Setting Up Secure FTP Account.
Note:
Save the Welcome to Oracle Cloud email for the Schema Service you are loading with data. This email contains information required for the data loading configuration process.
Install Oracle SQL Developer
Oracle SQL Developer creates carts of data structures, DDLs, and data to deploy to theOracle Database Cloud Schema Service. This section describes how to install Oracle SQL Developer.
Note:
The functionality described here requires the Oracle SQL Developer Release 3.2 or later.
To install Oracle SQL Developer locally, see Oracle SQL Developer documentation on the Oracle Technology Network, for installation and setup instructions. http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
Note:
If your computer is 64 bit, you may need to run the sqldeveloper.bat
file instead of sqldeveloper.exe.
Note:
You must install JDE run time if you do not have JDE run time installed. For installation and setup instructions, see Oracle SQL Developer documentation on the Oracle Technology Network at: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
Configure Oracle SQL Developer Cloud Connection
Oracle SQL Developer must have an Oracle Cloud connection configured to connect to Oracle Database Cloud Schema Service. The connection can use the default username and password provided for Schema Service.
Additional users can access the service through Oracle SQL Developer if they are given the Developer role. See Managing User Accounts in Managing and Monitoring Oracle Cloud and Managing User Roles in Managing and Monitoring Oracle Cloud.
Oracle SQL Developer users can also be added through Oracle Application Express using the steps outlined in Creating Additional Users for Oracle SQL Developer Cloud Connections.
To add an Oracle Cloud connection:
Set Up Secure FTP Account
The Secure FTP user password must be reset before you can deploy a data upload. To reset the Secure FTP user password, sign in to your account, navigate to the User Management page, find the SFTP user name, and reset the password.
Note:
The Domain SFTP user will not see the data upload files.
To reset the password for the Secure FTP user account:
Create and Deploy a Cart of Objects
Use Oracle SQL Developer to create a cart of objects and deploy the cart to a destination database.
Note:
If you want to build an automated process to upload one or more carts of data from an on-premises Oracle Database to Oracle Database Cloud Schema Service, you can use Oracle SQL Developer command-line interface, also known as SDCLI.To create and deploy a cart of objects to Schema Service:
Check Deployment Status
Use Oracle SQL Developer to determine deployment status.
To check on deployment status:
Restart a Deployment
Use Oracle SQL Developer to restart deployments of data exports.
To restart a deployment:
Use Oracle Application Express SQL Workshop Data Upload Utility
The Data Upload utility enables you to upload data from a text file, an XML document or a spreadsheet. The utility is accessed from the Oracle Application Express SQL Workshop.
Note:
Files uploaded with Oracle Application Express SQL Workshop must not exceed 100MB. For files larger than 100MB, please use Oracle SQL Developer. See Using SQL Developer for Data Loading.To upload data using the Data Upload utility:
To learn more about uploading data with the Data Upload utility, see Using Data Workshop in Oracle Application Express SQL Workshop Guide.
Upload Data with SQL Scripts
The SQL Scripts functionality allows you to create, upload, and run SQL scripts that insert data into the database. You could use an SQL script to load data into your Oracle Database Cloud Schema Service.
Note:
Files uploaded with Oracle Application Express SQL Workshop must not exceed 100MB. For files larger than 100MB, please use Oracle SQL Developer. See Using SQL Developer for Data Loading.These operations are accessed from the Oracle Application Express SQL Workshop.
To insert data using SQL Scripts:
Use Oracle Application Express Application Data Load Utility
Applications with data loading capability allow application end users to dynamically import data in to a table within any schema to which the user has access. End users run a Data Load Wizard that uploads data from a file or copies and pastes data entered by the end user directly in to the wizard.
To learn more about developing Oracle Application Express applications with this capability, see Creating a Data Load Wizard in Oracle Application Express Application Builder User's Guide.
To learn more about how an application end user uses this capability, see Data Loading Wizard Examples in Oracle Application Express End User Guide.