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)

Tag: postgres

Postgres

Indexes in PostgreSQL (Btree)

Bulent Soylu October 20, 2021 No Comments b-tree indexindexpostgres

Structure B-tree index type, implemented as “btree” access method, is suitable for data that can be sorted. In other words, “greater”, “greater or equal”, “less”,…

View More Indexes in PostgreSQL (Btree)
Postgres

Indexes in PostgreSQL (Hash)

Bulent Soylu October 20, 2021 No Comments hash indexindexpostgres

Structure General theory Plenty of modern programming languages include hash tables as the base data type. On the outside, a hash table looks like a…

View More Indexes in PostgreSQL (Hash)
Postgres

Postgres Structure of the Access Method Interface.

Bulent Soylu October 20, 2021 No Comments access methodspostgres

Properties All properties of access methods are stored in the “pg_am” table (“am” stands for access method). We can also get a list of available…

View More Postgres Structure of the Access Method Interface.
Postgres

Postgres Indexing Engine

Bulent Soylu October 20, 2021 No Comments access methodsbitmap scanindexindex scanindexing enginepartial indexpostgresquerty plansequential scansorting

The general indexing engine is related to the DBMS core and individual index access methods, which PostgreSQL enables us to add as extensions. Indexes In PostgreSQL, indexes…

View More Postgres Indexing Engine
Postgres

postres \pset columns 100 (oracle~set linesize 100)

Bulent Soylu October 20, 2021 No Comments linesizepostgrespset

If you’re using the psql command line tool, issue this command first: It should then wrap long lines to your terminal window like so: You can also…

View More postres \pset columns 100 (oracle~set linesize 100)
Postgres

PostgreSQL ARRAY_AGG(), STRING_ADD

Bulent Soylu October 20, 2021 No Comments array_aggpostgresstring_agg

The PostgreSQL provides various aggregate functions; the PostgreSQL ARRAY_AGG() aggregate function is used to get an array that will have each value of the input…

View More PostgreSQL ARRAY_AGG(), STRING_ADD
Postgres

Tuples and Rows in Postgres

Bulent Soylu October 17, 2021 No Comments postgrestupple

There’s a difference between the two: a single row might exist on-disk as more than one tuple at any time, with only one of them visible to any single…

View More Tuples and Rows in Postgres
Oracle Postgres

Migration from Oracle to Postgres

Bulent Soylu October 17, 2021 No Comments data typemappingoraclepostgres

Data Type Mapping PostgreSQL has rich set of data types. Some of the important Data type conversion between Oracle and PostgreSQL is as follow. Oracle…

View More Migration from Oracle to Postgres
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

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

Posts navigation

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