Skip to content
Friday, May 27, 2022

DBA Notes

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

Categories

  • AWS (2)
    • EC2 (1)
  • Docker (7)
  • General (2)
  • Linux (7)
  • MySQL (3)
  • notepad++ (2)
  • Oracle (19)
  • Postgres (53)
    • Index (9)
      • Bloom (1)
      • BRIN (1)
      • BTree (1)
      • GIN (1)
      • GIST (1)
      • Hash (1)
      • RUM (1)
      • SP-Gist (1)
    • pgpool (1)
  • SQL (8)
  • WSL (2)

Category: SQL

Oracle SQL

Throughput, latency, concurrency

Bulent Soylu January 21, 2022 concurrencylatencythroughput

The difference between making a good and a bad decisions often comes down to the quality of the pre-defined metrics. If the metric is poor…

View More Throughput, latency, concurrency
Postgres SQL

How Consistent Data Snapshots Obtained from Tuples in PostgreSQL-4

Bulent Soylu October 25, 2021 postgressnapshottuple

What is a data snapshot? Data pages can physically contain several versions of the same row. But each transaction must see only one (or none)…

View More How Consistent Data Snapshots Obtained from Tuples in PostgreSQL-4
Postgres SQL

Row Versions in PostgreSQL-3

Bulent Soylu October 25, 2021 commitnested transactionpostgresrollbacksave pointtuplevirtual transaction

Tuple header As already mentioned, several versions of each row can be simultaneously available in the database. And we need to somehow distinguish one version…

View More Row Versions in PostgreSQL-3
Postgres SQL

Snapshot Isolation and Multi Version Concurrency Control in PostgreSQL-2

Bulent Soylu October 25, 2021 filesforksfree space mapmvccrelationsSnaphot isolationtoasttuplesvisibility map

Relations If you look inside tables and indexes, it turns out that they are organized in a similar way. Both are database objects that contain…

View More Snapshot Isolation and Multi Version Concurrency Control in PostgreSQL-2
Postgres SQL

Transaction Isolation in Postgres-1

Bulent Soylu October 25, 2021 ACIDisolationpostgres

Probably, everyone is at least aware of the existence of transactions, has come across the abbreviation ACID, and has heard about isolation levels. But we…

View More Transaction Isolation in Postgres-1
Postgres SQL

WITH Queries (Common Table Expressions)

Bulent Soylu October 16, 2021 No Comments CTEpostgreswith clause

SELECT in a WITH Clause The subqueries, which are often referred to as Common Table Expressions or CTEs, can be thought of as defining temporary…

View More WITH Queries (Common Table Expressions)
Postgres SQL

set operators in Postgres

Bulent Soylu October 13, 2021 No Comments exceptintersectSQLunionunion all

Postgres offers set operators that make it easy to query and filter the results of searches from your database. Set operators are used to join…

View More set operators in Postgres
SQL

Left [Outer] Join and Right [Outer] Join

Bulent Soylu October 12, 2021 No Comments OUTER JOINSQL

LEFT OUTER JOIN / LEFT JOIN returns all the rows from the LEFT table and the corresponding matching rows from the right table. If right…

View More Left [Outer] Join and Right [Outer] Join
Log in

postgres (44)index (10)linux (6)docker (6)oracle (5)tuples (4)vacuum (3)aws (2)notepad++ (2)wsl (2)vim (2)SQL (2)CTE (2)access methods (2)sequential scan (2)concurrency (2)mvcc (2)isolation (2)performance (2)tuple (2)

Recent Posts

  • Export Import statistics with dbms_stats in Oracle
  • Oracle Version Numbers
  • Find password for database link (<= 11.2.0.2)!
  • How to check progress of a long running statistics gathering job
  • Gather Schema Stats using DBMS_STATS.GATHER_SCHEMA_STATS

Archives

  • March 2022 (10)
  • February 2022 (2)
  • January 2022 (6)
  • December 2021 (3)
  • November 2021 (7)
  • October 2021 (51)
  • September 2021 (4)

[s2Member-Security-Badge v="2" /]

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