Skip to content
Saturday, May 10, 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: October 2021

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
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
Oracle

Display big numbers in SQLPLUS

Bulent Soylu October 14, 2021 No Comments oraclesqlplus

NUMWIDTH setting which is by default 10 and hence you can display only 10 numbers without conversion but anything beyond that becomes exponential format. SHOW…

View More Display big numbers in SQLPLUS
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
Oracle

Oracle database Patch on windows platform

Bulent Soylu October 12, 2021 No Comments oraclepatch

Apply Oracle Patch on windows platform NOTE:412160.1 – Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches 1. Set…

View More Oracle database Patch on windows platform
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

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