Overview
Koala Data Explorer provides multiple ways to execute SQL queries against your Oracle Fusion Cloud data. This guide covers query execution methods, options, and best practices.Execution Methods
Quick Execute
The fastest way to run queries:- Keyboard Shortcut:
Ctrl+Enter
(Windows/Linux) orCmd+Enter
(Mac) - Button: Click the green “Run” button in the editor toolbar
- Context Menu: Right-click → “Execute Query”
Execute Selection
Run only selected SQL:- Select the SQL text you want to run
- Press
Ctrl+Shift+Enter
or click “Run Selection” - Only the selected text will be executed
This is useful when you have multiple queries in one editor and want to run them individually.
Execute Current Statement
Automatically detect and run the statement at cursor position:- Place cursor anywhere in a SQL statement
- Press
Alt+Enter
- Koala will identify statement boundaries and execute
Query Execution Options
Execution Settings
Configure how queries are executed:Row Limits
Control how many rows are returned:- Free Version: Maximum 50 rows per query
- Paid Version: Configurable, unlimited rows
- Click the settings icon in query editor
- Adjust “Max Rows” value
- Use
FETCH FIRST n ROWS ONLY
in SQL for precise control
Timeout Configuration
Prevent long-running queries:- Default timeout: 30 seconds
- Maximum timeout: 5 minutes
- Configure per-query or globally
Multi-Statement Execution
Sequential Execution (Paid)
Execute multiple statements in order:Ctrl+Shift+Enter
to run all statements sequentially.
Multi-Statement Execution
When executing multiple statements:- Each statement executes sequentially
- Execution stops on first error
- Results shown for each completed statement
Query Parameters
Bind Variables
Use bind variables for dynamic queries:Execution Status
Progress Indicators
Monitor query execution:- Spinner: Query is running
- Progress Bar: Shows fetch progress for large results
- Timer: Displays elapsed time
- Cancel Button: Stop long-running queries
Status Messages
Execution feedback appears in:- Status bar (brief summary)
- Output panel (detailed logs)
- Results panel (row count, execution time)
Cancel Query Execution
How to Cancel
Stop a running query:- Click the “Cancel” button in the toolbar
- Press
Ctrl+Alt+C
- Click “Stop” in the progress notification
What Happens on Cancel
- Query execution stops on the server
- Partial results may be returned
- Connection remains active
- Transaction is rolled back (if applicable)
Some queries may continue running on the Oracle server even after cancellation. Check with your DBA if concerned about long-running queries.
Execution History
View Recent Queries
Access query history:- Press
Ctrl+H
or click History icon - Browse executed queries
- Click to reload any query
- Filter by date, status, or connection
History Features
- Free Version: Last 50 queries
- Paid Version: Last 500 queries with search
- SQL text
- Execution time
- Row count
- Timestamp
- Connection used
Performance Optimization
Query Performance Tips
- Use Indexes: Include indexed columns in WHERE clauses
- Limit Rows: Add FETCH FIRST or ROWNUM conditions
- Select Specific Columns: Avoid SELECT *
- Use Bind Variables: Improve query plan caching
Query Performance
Monitor query performance:- Execution time displayed in results
- Row count shown
- Timeout warnings if query runs long
Error Handling
Common Execution Errors
ORA-00942: Table or view does not exist
- Verify table name and schema
- Check user permissions
- Ensure correct connection
ORA-00936: Missing expression
- Check SQL syntax
- Verify all columns exist
- Review JOIN conditions
ORA-01017: Invalid username/password
- Re-authenticate connection
- Update stored credentials
- Check account status
Error Display
Errors appear in:- Inline: Red squiggly lines in editor
- Problems Panel: Detailed error list
- Output Panel: Full error stack trace
Export Results
After query execution, you can export results:- Click Export button in results toolbar
- Choose format (CSV, JSON, or Excel for paid version)
- Select save location
- Results are saved to file
Best Practices
Before Execution
- Review query for errors
- Estimate result size
- Consider adding row limits
- Use explain plan for complex queries
During Execution
- Monitor progress for long queries
- Be ready to cancel if needed
- Watch for timeout warnings
- Check connection stability
After Execution
- Verify result accuracy
- Check execution time
- Save useful queries
- Export important results
Keyboard Shortcuts
Action | Windows/Linux | Mac |
---|---|---|
Execute Query | Ctrl+Enter | Cmd+Enter |
Execute Selection | Ctrl+Shift+Enter | Cmd+Shift+Enter |
Cancel Execution | Ctrl+Alt+C | Cmd+Option+C |
Query History | Ctrl+H | Cmd+H |