Skip to content
Friday, July 04, 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)

Tag: postgres

Postgres

How a single PostgreSQL config change improved slow query performance by 50x

Bulent Soylu October 15, 2021 No Comments enable_hashjoinhash_joinperformancepostgresquery_planrandom_page_costseq_page_cost

At Amplitude, our goal is to provide easy-to-use interactive product analytics, so everyone can find answers to their product questions. In order to provide a…

View More How a single PostgreSQL config change improved slow query performance by 50x
Postgres

Recursive Queries, CTE (Common Table Expression) or Self Join, Recursive Views

Bulent Soylu October 15, 2021 No Comments connect byCTEhierarchical_queryoraclepostgresrecursive

The CTEs are like temporary tables that exist only during the execution of the query. a simple example: Another example using a function Getting “manager tree” for…

View More Recursive Queries, CTE (Common Table Expression) or Self Join, Recursive Views
Postgres

How To Delete Duplicate Rows in PostgreSQL

Bulent Soylu October 11, 2021 No Comments duplicatepostgres

Preparing sample data First, create a new table named carsthat stores fruits: CREATE TABLE cars( id SERIAL PRIMARY KEY, make VARCHAR(50) NOT NULL, model VARCHAR(50) NOT NULL );…

View More How To Delete Duplicate Rows in PostgreSQL
Postgres

Indexes in Postgresql

Bulent Soylu October 11, 2021 No Comments indexpostgres

PostgreSQL Basic Index Terminology Before describing the types of indexes in PostgreSQL and their use, let’s take a look at some terminology that any DBA…

View More Indexes in Postgresql
Postgres

Query Performance in Postgres

Bulent Soylu October 11, 2021 No Comments analyzeexecution planexplainperformancepgbenchpostgresquery

What is Explain? EXPLAIN is a keyword that gets prepended to a query to show a user how the query planner plans to execute the…

View More Query Performance in Postgres
Postgres

Scaling in Postgresql

Bulent Soylu October 11, 2021 No Comments postgresscaling

Horizontal Scaling vs Vertical Scaling There are two main ways to scale our database… Horizontal Scaling (scale-out): It’s performed by adding more database nodes creating…

View More Scaling in Postgresql
Postgres

Postgres EXCLUSION Constraint

Bulent Soylu October 11, 2021 No Comments constraintspostgres

Exclusion constraints ensure that if any two rows are compared on the specified columns or expressions using the specified operators, at least one of these…

View More Postgres EXCLUSION Constraint
Postgres

Postgres Data Types

Bulent Soylu October 10, 2021 No Comments data typespostgres

PostgreSQL supports the following data types: Boolean Character types such as char, varchar, and text. Numeric types such as integer and floating-point number. Temporal types such as date, time, timestamp, and interval UUID for…

View More Postgres Data Types
Docker Postgres

Docker Postgres data from windows location

Bulent Soylu October 9, 2021 No Comments dockerpostgreswsl

We can reach out postgres docker image volumes location windows: \wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\

View More Docker Postgres data from windows location
Postgres

postgres random data generation

Bulent Soylu October 9, 2021 No Comments postgresrandomwords.list

add words from linux.words.backup.fedora.standard Then, you can easily create a ton of no sense description BUT searchable using dictionary words with the following steps: 1)…

View More postgres random data generation

Posts navigation

Previous page Page 1 … Page 4 Page 5 Page 6 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