avatarWei Kang

Summary

The article provides a step-by-step guide on how to use Oracle SQL Developer for real-time SQL monitoring in Oracle databases, emphasizing the importance of this feature for developers to optimize query performance.

Abstract

The web content is a technical guide aimed at developers and database administrators who work with Oracle SQL. It outlines the necessary prerequisites, such as having a database user with DBA access and Oracle SQL Developer installed, and then proceeds to detail the process of setting up a new connection and accessing the DBA view within the application. The core of the article focuses on enabling real-time SQL monitoring to enhance application performance by providing insights into query execution. The guide concludes with an invitation for readers to follow the author for further updates and to join Medium for full access to similar content.

Opinions

  • The author, a developer, expresses that real-time SQL monitoring is a highly beneficial feature for improving application performance.
  • The guide is presented as user-friendly, with visual aids and direct commands provided for setting up the necessary database user permissions and configuring Oracle SQL Developer.
  • The article implies that the reader is likely to be a developer or a DBA who is interested in optimizing SQL query performance.
  • By encouraging readers to follow the author and join Medium, the author suggests that there is additional valuable content available on the platform for individuals interested in Oracle databases and SQL development.

Oracle: Real time SQL Monitoring using Oracle SQL Developer

A guide to using Oracle SQL Developer to monitor your Oracle SQL in real time.

Photo by Jan Antonin Kolar on Unsplash

In this article, I will be sharing the steps to set up an account in your Oracle and use Oracle SQL Developer to monitor your Oracle SQL in real time. As a developer, I find this feature very useful to allow me to monitor the query performance and quickly improve the performance of my applications.

Things you will need:

1. A database user with DBA access

If you do not have a database user with a DBA role, you may follow the following commands (note: please check with your DBA on how to ):

-- create a user with username (c##testuser) and password (mypassword)
create user c##testuser identified by mypassword;
-- grant dba access to the new user
grant dba to c##testuser;

2. Oracle SQL Developer

If you do not have an Oracle SQL Developer installed, you may visit this link to download it.

3. Oracle Database running

And of course, you will need an Oracle Database running.

Once you have the above items, you may follow the steps below to start monitoring your Oracle SQL in real-time.

1. Open the Oracle SQL Developer

Oracle SQL Developer

2. Click on + (green icon from the Connections view) to add a new connection

Add a new database connection

3. Open the DBA view

If you don’t see the DBA view, you may click View -> DBA

How to open the DBA view
DBA view

4. Click on + (green icon from the DBA view) to add a new connection

5. Click on Tuning > Real Time SQL Monitor

And there we have it. I hope you have found this useful. Thank you for reading. If you enjoyed this article, remember to follow me for more updates!

If you are not a Medium member yet and want to become one, click here.

Oracle
Dba
Oracle Sql Developer
Sql
Programming
Recommended from ReadMedium