Skip to content
Wednesday, September 03, 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 (45)
  • Postgres (93)
  • postgresql (9)
  • SQL (16)
  • Windows (7)

Category: performance

performance Postgres

Partitioning Existing Tables in Postgres

Bulent Soylu April 4, 2023 partitioningperformancepostgres

So, your database is growing rapidly, as, ideally, is your business. The problem is, its performance is getting worse. You’re starting to wonder whether partitioning…

View More Partitioning Existing Tables in Postgres
Oracle performance

Oracle CBO is ignoring SYS_DL_CURSOR

Bulent Soylu April 4, 2023 append_valueshintsoracleperformancesys_dl_cursor

Some days ago i came across with a pl/sql code where they used (for some reason) an Oracle hint called SYS_DL_CURSOR. I got it when i…

View More Oracle CBO is ignoring SYS_DL_CURSOR
Oracle performance

APPEND_VALUES and SYS_DL_CURSOR Hints with HCC

Bulent Soylu April 4, 2023 append_valueshintsinformaticaoracleperformancesys_dl_cursor

The APPEND_VALUES hint was introduced in 11.2 to allow direct path inserts with variables using the VALUES clause. i.e. INSERT INTO XYZ (COL1, COL2) VALUES…

View More APPEND_VALUES and SYS_DL_CURSOR Hints with HCC
performance Postgres

PostgreSQL “bind variable peeking”

Bulent Soylu March 28, 2023 bind variablescursor sharingperformancepostgresprepare

custom vs. generic plans With my Oracle database background, I know how important it is to balance the pros and cons of using bind variables…

View More PostgreSQL “bind variable peeking”
performance Postgres

Postgresql PREPARE — prepare a statement for execution

Bulent Soylu March 28, 2023 performancepostgresprepare

Synopsis PREPARE name [ ( data_type [, …] ) ] AS statement Description PREPARE creates a prepared statement. A prepared statement is a server-side object that…

View More Postgresql PREPARE — prepare a statement for execution
Oracle performance

Adaptive Cursor Sharing in Oracle Database 11g Release 1

Bulent Soylu March 28, 2023 adaptive cursor sharingbind variablescursor sharingoracle

DBAs are always encouraging developers to use bind variables, but when bind variables are used against columns containing skewed data they sometimes lead to less…

View More Adaptive Cursor Sharing in Oracle Database 11g Release 1
Oracle performance

How to Swap SQL_Profiles?

Bulent Soylu February 2, 2023 11goracleperformancequery optimizersql profiles

The central idea behind “swapping” SQL profiles is simple.  You define a SQL profile that specifies the SQL statement that you want to tune, and an…

View More How to Swap SQL_Profiles?
Oracle performance

SQL Profiles in the Data Dictionary

Bulent Soylu February 2, 2023 oracleperformancequery optimizersql profiles

In the paper SQL Profiles (page 22) I described the data dictionary tables where the hints belonging to SQL profiles are stored. For example, with the following…

View More SQL Profiles in the Data Dictionary
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

Posts navigation

Previous page Page 1 … Page 3 Page 4 Page 5 Next page
Log in

oracle (86)postgres (52)performance (38)postgresql (33)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

  • PostgreSQL® EXPLAIN – What are the Query Costs?
  • 𝗦𝗤𝗟 𝗤𝘂𝗲𝗿𝘆 𝗘𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗢𝗿𝗱𝗲𝗿!
  • TABLE FRAGMENTATION IN ORACLE DATABASE
  • Configuring Huge Pages for MySQL Server on Red Hat Linux
  • HUGE PAGES AND POSTGRESQL

Archives

  • July 2025 (1)
  • 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