Caglar's Oracle Blog

Caglar's Oracle Blog

About SQL, PL/SQL and Oracle APEX

  • About Me

Category: DBA

How to list all privileges of a user

Posted on 07/04/202408/04/2024 by Caglar

If you’re looking to learn all the privileges granted to a specific user, you can utilize the following data dictionary tables. Additionally, you have the option to utilize […]

More Details
Posted in DBA1 Comment on How to list all privileges of a user

How to create or alter a job

Posted on 24/03/202415/04/2024 by Caglar

So, basically, you can use the following code to create a job. If you want to modify the REPEAT_INTERVAL attribute of a job, you can use the DBMS_SCHEDULER.SET_ATTRIBUTE […]

More Details
Posted in DBALeave a Comment on How to create or alter a job

How to fix cardinality misestimate?

Posted on 26/05/202308/06/2023 by Caglar

In this post, I am going to explain how to correct the cardinality estimate in 5 different methods. Cardinality estimate is one of the first place to check […]

More Details
Posted in DBALeave a Comment on How to fix cardinality misestimate?

How to get OS environment variables in PL/SQL

Posted on 01/11/202101/11/2021 by Caglar

If you need to find out the value of any OS environment variable, such as ORACLE_HOME, without connecting your remote server. You can use DBMS_SYSTEM.GET_ENV procedure as shown […]

More Details
Posted in DBA, PL/SQLLeave a Comment on How to get OS environment variables in PL/SQL

5 Life Saving Features of Oracle

Posted on 16/06/202117/01/2023 by Caglar

1) Partitioned Outer Join I would like to start with PARTITIONED OUTER JOIN. Because it is one of the least used feature. Suppose that you have two basic […]

More Details
Posted in DBA, SQL2 Comments on 5 Life Saving Features of Oracle

SQL Plan Baselines

Posted on 23/05/202127/05/2021 by Caglar

SQL plan baseline is one of the most used tuning technique in Oracle database. Basically, with SQL plan baseline, you can change the execution plan of a sql […]

More Details
Posted in DBALeave a Comment on SQL Plan Baselines

How to find the SQL_ID of your SQL statement

Posted on 13/05/202127/06/2023 by Caglar

There are different ways to find the SQL_ID of an SQL statement. In this post, I am going to show two different ways of it. First, via dynamic […]

More Details
Posted in DBALeave a Comment on How to find the SQL_ID of your SQL statement

How to run external scripts from DBMS_SCHEDULER

Posted on 18/04/202117/04/2022 by Caglar

In this post, I am going to explain how to run operating system level script files with using DBMS_SCHEDULER. All tests have been done in Oracle 19c. Generally, […]

More Details
Posted in DBALeave a Comment on How to run external scripts from DBMS_SCHEDULER

How to flush a cursor from the shared pool

Posted on 03/04/202104/04/2021 by Caglar

If you want to remove any cursor in the shared pool. You can do it easily via sys.DBMS_SHARED_POOL .PURGE procedure. 1. Get the address and hash_value of the […]

More Details
Posted in DBALeave a Comment on How to flush a cursor from the shared pool

How to view alert log file

Posted on 28/03/202126/09/2023 by Caglar

First of all, in order to find your log files location in the operating system where the database is located, you can query to V$DIAG_INFO view. It contains […]

More Details
Posted in DBA1 Comment on How to view alert log file

Posts navigation

Older posts

Recent Posts

  • How to use LONG column in the WHERE clause
  • How to use XMLTABLE
  • How to implement wait spinner in APEX dynamic action
  • How to list all privileges of a user
  • How to create or alter a job

Recent Comments

  • Alexandre on How to implement wait spinner in APEX dynamic action
  • Maurits Groenenberg on How to view alert log file
  • Caglar on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Anjali Damani on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Caglar on How to implement wait spinner in APEX dynamic action

Categories

  • APEX
  • DBA
  • PL/SQL
  • SQL
  • Uncategorized
  • XQuery

Flag Counter

© Copyright 2025, Çağlar Polat