SQL Developer, Installation
Improving Launch Time
Disable Unused Features
- Tools Menu
- Features (deselect any that you don't need).
Disable the Welcome Page.
- Scroll to the bottom of the page.
- Disable checkbox "Show on Startup".
Disable IndexedPreferences
- Edit ...\sqldeveloper\bin\sqldeveloper.conf
- Add entry:
AddVMOption -DIndexedPreferencesCommand=false
Overview
The following covers the most essential steps to start using Oracle's SQL Developer on a Windows system.
Prerequisites
- From your DBA get the following:
- Username and Password (ex: scott\tiger)
- Hostname (ex: lnx01).
- Database Service Name (ex: oradb).
- Port Number (ex: 1521).
- You must have the Microsoft Visual C++ Redistributable Package installed.
Choose the file named vcredist_x64.exe. - If already using, you can export your connections as so:
- Oracle Connections section (on left).
- On the top of the tree right-click over the words "Oracle Connections".
- Select: Export Connections (follow prompts).
Import them in the same manner choosing Import Connections.
Create Desktop Shortcut
From Windows Explorer:
- Create shortcut of exe in same folder as exe.
C:\app\sqldeveloper-<version>-x64\sqldeveloper.exe - Copy shortcut to the Public Desktop folder:
- Go to C:\Users.
- Menu -> View [x] Hidden Items
- Copy the new shortcut here:
C:\Users\Public\Desktop\Public Desktop
Procedure
- Download the latest version to the C:\app directory.
Select: Windows 64-bit with JDK included - Create a C:\app directory.
All Oracle software uses this as the base. - Unzip the file. It will create a corresponding directory.
Example: C:\app\sqldeveloper-23.1.1.345.2114-x64\sqldeveloper - From the ...\sqldeveloper sub-directory create a shortcut to the
sqldeveloper.exe file on to your desktop or taskbar. - Double-click the desktop short-cut to start the application.
Initial Run
- If prompted to Confirm Import Preferences select Yes if upgrading from older version.
- On the top left, click the green plus (+) sign to create a connection.
Complete Essential Fields
Enter the values from your DBA for the items in blue.
- Connection Name: <Enter a Descriptive>
- Username: scott
- Password: tiger
- Select [x] Save Password.
- Connection Type: Basic
- Hostname: lnx01
- Port: 1521
- (x) Service Name: oradb
- Press Test then Save after working.
Create ERD
Configure Data Modeler
- Ensure the Data Modeler feture is enabled.
- File 🠊 Data Modeler 🠊 Import 🠊 Data Dictionary
Follow prompts... - Select: Database 🠊 Next
- Select: Schema 🠊 Next
- Select: Objects (tables) 🠊 Next
- If they are not all selected; to select all tables:
- Press Ctrl-A to hi-light all entries.
- Press the Select All image button at bottom left.
- If they are not all selected; to select all tables:
- Press [Finish]
Once imported you can create\print an ERD.
Create ERD File
- File 🠊 Data Modeler 🠊 Print Diagram
- Choose desired output (examples):
- To PDF File
- To HTML/SVG File
DBA View
Add Database
Menu 🠊 View 🠊 DBA 🠊 + MyDB
Dashboard GUI
Database Status 🠊 Instance View
Roles
Security 🠊 [Right-Click] Roles: Create New