Atikh's DBA blog
  • Home
  • Oracle
  • MySQL
  • MongoDB
  • PostgreSQL
  • Snowflake
  • About Me
  • Contact Us

Introduction to PostgreSQL

 Atikh Shaikh     PostgreSQL     1 comment   

techondba-postgreSQL-introduction

PostgreSQL is powerful open source RDBMS. It has gained strong confidence for reliability, data integrity and correctness.
It is known for most advanced open source database system.
It runs on all major operating system like Linux, UNIX, and Windows.

PostgreSQL includes most number of datatypes like INT, NUM, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, TIMESTAMP etc. It also supports binary large objects. One can define his own datatypes.

Total cost of implementation is very less as maintenance efforts are very minimum due to its stability feature.

PostgreSQL features: 
  • User defined types
  • Table inheritance
  • Foreign key referential integrity
  • Views, rules, subqueries
  • Sophisticated locking system
  • Nested transaction.
  • Multi Version concurrently control(MVCC)
  • Tablespaces
  • Point in time recovery
Architectural fundamentals of PostgreSQL

PostgreSQL is first database system that implemented multi-version concurrency control (MVCC)
Recent version comes with support for NoSQL as well.

Useful constraints in PostgreSQL

NOT NULL, UNIQUE, PRIMARY KEY, CHECK, Foreign Key

PostgreSQL is based on client-server architecture

PostgreSQL structure consist of shared memory, few background process and datafiles present in data directory

Shared Memory: shared memory consist of shared buffer and wal buffer, memory used for transaction caching and database caching

PostgreSQL Processes:

techondba-postgreSQL-process structure


Daemon Process: First process starts when we start PostgreSQL. Performs recovery, memory allocation and start background process

Background process: logger, checkpointer, writer, wal writer, archiver, stats collector

Backend Process: backend process performs sorting, query execution and transferring results to user process

Client Process: client process is request coming from user

You may also like to see introduction to mongodb


  • Share This:  
  •  Facebook
  •  Twitter
  •  Instagram
  •  Pin
  •  linkedin
  •  reddit
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • PostgreSQL : How to check parameter values in postgresqlAs part of some basic administration in PostgreSQL databases, we will learn how to check and modify parameters  there are a few ways to do it u… Read More
  • Error: Unable to find a match: postgresql14-server While installing PostgreSQL 14.10 on Linux system, I was getting the below error, so here is the solution [oracle@localhost Desktop]$ sudo yum i… Read More
  • Postgres spooling file and other command line optionsI wanted to drop all the tables in a particular postgres database, there were around 90 tables, dropping individual tables one by one is not a good id… Read More
  • lsb_release: command not found... : Linux/ Database AdminAs Database Admin, Linux Admin, or system admin, you must have come across this error or situation,  Here I was trying to see release detai… Read More
  • To Know details about Linux OS :Oracle, PostgreSQL, MySQL and MongoDBIn this small article, we are going to see different commands to check the OS version in Linux and other details about the operating system Here are … Read More
Newer Post Older Post Home

1 comment:

  1. John22 January 2022 at 17:33

    Thanks for sharing useful information, keep sharing your thoughts like this...
    Unix Training in Chennai
    Unix Courses Online

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Author

Atikh Shaikh
View my complete profile

Categories

  • MongoDB (18)
  • Oracle 12c (30)
  • Oracle12cR2 New Feature (3)
  • PostgreSQL (20)
  • RMAN (10)
  • Snowflake (8)
  • mysql (23)
  • oracle (73)

Blog Archive

  • ▼  2018 (38)
    • ▼  November (25)
      • Introduction On MySQL
      • SQL Modes in MySQL
      • MySQL Version explained
      • MySQL Storage Engines (Part 1)
      • MySQL Storage Engines (Part 2)
      • Login to MySQL Database on Linux
      • Error Code: 1419. You do not have the SUPER privil...
      • Create MySQL database on Linux
      • Create New User in MySQL Database
      • MySQL Default database | MySQL System Database
      • Oracle ASM Basic Commands
      • Oracle Database Schema Refresh
      • Create User in Oracle Database Pre-12c and 12c
      • RMAN Disk backup and List or Report RMAN Backup
      • RMAN Backup of Single Datafile and List Backup
      • Difference Between User, Service account and Schem...
      • Create MySQL Database Backup | mysqldump mysqlbackup
      • Switching between ARCHIVELOG Mode and NOARCHIVELOG...
      • Introduction to MongoDB
      • Introduction to PostgreSQL
      • Installation of PostgreSQL 9.6 on Windows
      • Installation of MongoDB on Windows
      • Oracle DBA Scripts
      • Databases, Collections and Documents in MongoDB
      • CRUD (Create, Read, Update, Delete) Operations in ...
    • ►  December (13)
  • ►  2019 (33)
    • ►  January (15)
    • ►  February (6)
    • ►  March (2)
    • ►  April (5)
    • ►  May (5)
  • ►  2020 (5)
    • ►  April (1)
    • ►  May (2)
    • ►  July (2)
  • ►  2021 (8)
    • ►  June (3)
    • ►  July (3)
    • ►  August (1)
    • ►  December (1)
  • ►  2022 (33)
    • ►  May (3)
    • ►  June (10)
    • ►  July (3)
    • ►  August (4)
    • ►  September (8)
    • ►  October (3)
    • ►  November (2)
  • ►  2023 (14)
    • ►  February (1)
    • ►  April (5)
    • ►  May (2)
    • ►  June (1)
    • ►  September (1)
    • ►  October (1)
    • ►  December (3)
  • ►  2024 (5)
    • ►  January (2)
    • ►  March (3)
  • ►  2025 (5)
    • ►  March (1)
    • ►  April (3)
    • ►  May (1)

Popular Posts

  • ORA-29283: invalid file operation: unexpected "LFI" error (1509)[29437]
    I was trying to export the schema in my windows PC, it got stuck with below error    C:\Users\shaik\Videos\technodba exp>expdp userid...
  • Oracle Dataguard Broker Configuration (DGMGRL)
    Data Guard Broker is a command-line interface that makes managing primary and standby databases easy. DBA can use a single command to switch...
  • PostgreSQL : How to get data directory location for PostgreSQL instance
    Sometimes, you start working on a PostgreSQL instance but forget about the data directory, here we will discuss different methods to know th...
  • Oracle 23ai : The all new Hybrid Read-Only for pluggable databases (PDBs)
      The latest Oracle database version, Oracle 23ai, introduced a new open mode called Hybrid Read-Only for pluggable databases (PDBs). Local ...
  • ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGES
    In previous articles, we have learned about user creation and grants  in MySQL in detail, but there are a few privileges called global priv...

Labels

oracle Oracle 12c mysql PostgreSQL MongoDB oracle 19c Oracle23c oracle19c Orale PDB-CDB oracle12c python AWS Oracle ASM Virtualbox pluggable database storage engine

Pages

  • Disclaimer
  • Privacy Policy

Follow TechnoDBA

Copyright © 2025 Atikh's DBA blog | Powered by Blogger