Skip to content
Friday, May 09, 2025

DBA Notes

DBA Notes
  • AWS
  • Oracle
  • Postgres
  • Linux
  • Docker
  • MySQL
  • mongodb
DBA Notes

Categories

  • AWS (9)
  • Docker (7)
  • General (4)
  • Linux (14)
  • mongodb (1)
  • MySQL (10)
  • notepad++ (2)
  • Oracle (90)
  • performance (44)
  • Postgres (92)
  • postgresql (8)
  • SQL (16)
  • Windows (7)

Month: January 2023

Oracle performance

Useful Gather Statistics Commands In Oracle

Bulent Soylu January 31, 2023 DBMS_STATSgather_statsoracleperformance

This article contains all the useful gather statistics related commands. 1. Gather dictionary stats: — It gathers statistics for dictionary schemas ‘SYS’, ‘SYSTEM’ and other…

View More Useful Gather Statistics Commands In Oracle
Oracle performance

CURSOR_SHARING=SIMILAR AND FORCE – SOME EXAMPLES

Bulent Soylu January 29, 2023 cursor_sharingoracleperformance

The CURSOR_SHARING parameter basically influences the extent to which SQL statements (or cursors) can be shared.  The possible values are EXACT which is the default…

View More CURSOR_SHARING=SIMILAR AND FORCE – SOME EXAMPLES
Oracle performance

12c: Optimizer_Dynamic_Sampling = 11

Bulent Soylu January 22, 2023 dynamic_samplingoracleoracle 12cperformance

With default sampling level of 2 (from 10g onwards) , dynamic sampling is performed only for the objects for which statistics do not exist. If…

View More 12c: Optimizer_Dynamic_Sampling = 11
Oracle

Viewing the Library Cache Statistics

Bulent Soylu January 22, 2023 library cacheoracleperformanceshared_pool

Add Space to shared pool The library cache miss ratio tells the DBA whether or not to add space to the shared pool, and it represents the…

View More Viewing the Library Cache Statistics
Oracle

Oracle/ SQL Wait Events

Bulent Soylu January 20, 2023 oraclewait events

1. What are wait events? Wait events are characteristic parts of the Oracle kernel source code that can contain Oracle sessions during execution. Oracle provides statistical information…

View More Oracle/ SQL Wait Events
Oracle

Streams Pool

Bulent Soylu January 20, 2023 oraclestreamsstreams_pool

Sometimes conventional wisdom isn’t so conventional, or common. As a case-in-point DBAs may believe that the STREAMS pool is reserved strictly for streams processes. That…

View More Streams Pool
Oracle performance

What is SQL PROFILE in oracle?

Bulent Soylu January 9, 2023 oracleperformance

You might have heard of SQL profile and SQL baselines in performance tuning chapters. Lets today go through details about sql profile. What is SQL…

View More What is SQL PROFILE in oracle?
Oracle performance

Partition Pruning and NLS Settings

Bulent Soylu January 9, 2023 oraclepartition pruning

NLS (National Language Support) parameters are very useful for multilingual applications in an Oracle database. But it is important to understand their impact on query…

View More Partition Pruning and NLS Settings
Oracle performance

How to Lock, Unlock, Transfer Statistics in oracle

Bulent Soylu January 9, 2023 cbooracleperformancestatisticsstats

Locking Stats To prevent statistics being overwritten, you can lock the stats at schema, table or partition level. EXEC DBMS_STATS.lock_schema_stats(‘SCOTT’); EXEC DBMS_STATS.lock_table_stats(‘SCOTT’, ‘EMP’); EXEC DBMS_STATS.lock_partition_stats(‘SCOTT’,…

View More How to Lock, Unlock, Transfer Statistics in oracle
Oracle SQL

Finding Empty Tablespaces in Oracle

Bulent Soylu January 9, 2023 oracleperformancetablespaces

I’m given a task to find the empty tablespaces.I’ve checked dev server and majority of the tables’ stats were locked.This solution takes time but works.…

View More Finding Empty Tablespaces in Oracle

Posts navigation

Page 1 Page 2 Next page
Log in

oracle (86)postgres (51)performance (37)postgresql (32)index (11)upgrade (9)linux (9)multitenant (7)pdb (6)partitioning (6)docker (6)windows (5)memory (5)mysql (5)replication (5)execution plan (5)aws (5)sql profiles (4)tuples (4)SQL (4)

Recent Posts

  • 𝗦𝗤𝗟 𝗤𝘂𝗲𝗿𝘆 𝗘𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗢𝗿𝗱𝗲𝗿!
  • TABLE FRAGMENTATION IN ORACLE DATABASE
  • Configuring Huge Pages for MySQL Server on Red Hat Linux
  • HUGE PAGES AND POSTGRESQL
  • How to configure HugePages for Oracle Database Server

Archives

  • October 2024 (1)
  • August 2024 (1)
  • March 2024 (3)
  • January 2024 (3)
  • December 2023 (7)
  • October 2023 (17)
  • September 2023 (6)
  • August 2023 (23)
  • July 2023 (10)
  • June 2023 (4)
  • May 2023 (11)
  • April 2023 (15)
  • March 2023 (6)
  • February 2023 (2)
  • January 2023 (11)
  • December 2022 (1)
  • August 2022 (3)
  • March 2022 (10)
  • February 2022 (2)
  • January 2022 (6)
  • December 2021 (3)
  • November 2021 (7)
  • October 2021 (51)
  • September 2021 (4)

DBA Notes | Designed by: Theme Freesia | WordPress | © Copyright All right reserved