SlideShare a Scribd company logo
2
Most read
4
Most read
7
Most read
PostgreSQL
INTRODUCTION
• PostgreSQL is an object-relational database management
system (ORDBMS).
• PostgreSQL was developed by the PostgreSQL Global
Development Group.
• PostgreSQL Global Development Group is a worldwide
team of volunteers, and thus PostgreSQL is not controlled
by any corporation or any other private entity.
• open source and free to use.
Features of PostgreSQL
• Runs on all major operating systems
including Linux, UNIX and Windows.
• Supports text, images, sounds, and video.
• Includes programming interfaces for C /
C++, Java, Perl, Python, Ruby, Tcl and
Open Database Connectivity (ODBC).
• A table in PostgreSQL can be set to inherit
their characteristics from a “parent” table.
COMPARISON WITH OTHER DATABASES
Features not
in others
User-defined types
Inheritance rules
Multi-version
concurrency control
to reduce lock
contention
Performance
Faster for some
things
Usually +10%
compared to other
databases
Reliability
Stable code that has
minimum of bugs
Release has atleast
one month of beta
testing
Support
Mailing lists
Direct access to
developers, the users
community, manual
and source code
Commercial per
incident support
Price
Free for all use
Proprietary and open
source
TOOLS DESCRIPTION
psql
● Command line tool.
● Primary tool to manage PostgreSQL.
pgAdmin ● Free and open source graphical user interface administration tool for PostgreSQL.
phpPgAdmin
● Web-based administration tool for PostgreSQL written in PHP. Based on phpMyAdmin tool.
● Manages MySQL.OpenOffice.org Base.
● Can be used as a front end tool to PostgreSQL.
pgFouine
● Log analyzer.
● Creates reports from PostgreSQL log files.
pgAdmin
A graphical tool for managing and
developing the databases.
Psql Console
Query Tool
Datatypes
Name Aliases Description
bigint int8 signed eight-byte integer
bigserial serial8 autoincrementing eight-byte integer
bit [ (n) ] fixed-length bit string
bit varying [ (n) ] varbit [ (n) ] variable-length bit string
boolean bool logical Boolean (true/false)
box rectangular box on a plane
bytea binary data (“byte array”)
Name Aliases Description
character [ (n) ] char [ (n) ] fixed-length character string
character varying [ (n) ] varchar [ (n) ] variable-length character string
cidr IPv4 or IPv6 network address
circle circle on a plane
date calendar date (year, month, day)
double precision float8 double precision floating-point
number (8 bytes)
inet IPv4 or IPv6 host address
integer int, int4 signed four-byte integer
interval [ fields ] [ (p) ] time span
json textual JSON data
jsonb binary JSON data, decomposed
line infinite line on a plane
lseg line segment on a plane
macaddr MAC (Media Access Control)
address
macaddr8 MAC (Media Access Control)
address (EUI-64 format)
Name Aliases Description
polygon closed geometric path on a plane
real float4 single precision floating-point
number (4 bytes)
smallint int2 signed two-byte integer
smallserial serial2 autoincrementing two-byte integer
serial serial4 autoincrementing four-byte integer
text variable-length character string
time [ (p) ] [ without time zone ] time of day (no time zone)
time [ (p) ] with time zone timetz time of day, including time zone
timestamp [ (p) ] [ without time
zone ]
date and time (no time zone)
timestamp [ (p) ] with time zone timestamptz date and time, including time zone
tsquery text search query
tsvector text search document
txid_snapshot user-level transaction ID snapshot
(deprecated; see pg_snapshot)
uuid universally unique identifier
xml XML data

More Related Content

KEY
Introduction to memcached
PDF
Presto on Apache Spark: A Tale of Two Computation Engines
PDF
Cassandra Introduction & Features
PDF
PostgreSQL Performance Tuning
PDF
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
PDF
The InnoDB Storage Engine for MySQL
PDF
Same plan different performance
PDF
Oracle database performance tuning
Introduction to memcached
Presto on Apache Spark: A Tale of Two Computation Engines
Cassandra Introduction & Features
PostgreSQL Performance Tuning
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
The InnoDB Storage Engine for MySQL
Same plan different performance
Oracle database performance tuning

What's hot (20)

PDF
Linux tuning to improve PostgreSQL performance
PDF
MySQL 8.0 EXPLAIN ANALYZE
PDF
Deep dive into PostgreSQL statistics.
PDF
PostgreSQL High Availability in a Containerized World
PPTX
Airflow - a data flow engine
PDF
A Deep Dive into Query Execution Engine of Spark SQL
PDF
Mastering PostgreSQL Administration
 
PPTX
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
PDF
Introduction to Spark with Python
PDF
Introduction to Redis
PDF
PostgreSQL WAL for DBAs
PDF
Parquet performance tuning: the missing guide
PDF
Fundamentals of Apache Kafka
PDF
Practical Partitioning in Production with Postgres
 
PDF
Introduction to Apache Calcite
PPTX
Mongodb basics and architecture
PPTX
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
PDF
InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...
PDF
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
PDF
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Linux tuning to improve PostgreSQL performance
MySQL 8.0 EXPLAIN ANALYZE
Deep dive into PostgreSQL statistics.
PostgreSQL High Availability in a Containerized World
Airflow - a data flow engine
A Deep Dive into Query Execution Engine of Spark SQL
Mastering PostgreSQL Administration
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Introduction to Spark with Python
Introduction to Redis
PostgreSQL WAL for DBAs
Parquet performance tuning: the missing guide
Fundamentals of Apache Kafka
Practical Partitioning in Production with Postgres
 
Introduction to Apache Calcite
Mongodb basics and architecture
A Deep Dive into Spark SQL's Catalyst Optimizer with Yin Huai
InfluxDB IOx Tech Talks: Query Engine Design and the Rust-Based DataFusion in...
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Ad

Similar to PostgreSQL.pptx (20)

ODP
Introduction to PostgreSQL
PDF
Postgres database Ibrahem Batta
PDF
0292-introduction-postgresql.pdf
PDF
Heroku Postgres SQL Tips, Tricks, Hacks
PDF
Postgres demystified
PDF
PostgreSQL - Case Study
PDF
PGDay.Amsterdam 2018 - Bruce Momjian - Will postgres live forever
PDF
Postgres Vision 2018: Will Postgres Live Forever?
 
PDF
PyData Texas 2015 Keynote
PDF
Letters from the open source trenches - Postgres community
PPTX
Relational RDBMS : MySQL, PostgreSQL and SQL SERVER
PDF
The Accidental DBA
PDF
Icsm2009 bettenburg presentation
PDF
String Comparison Surprises: Did Postgres lose my data?
PPTX
Apache Cassandra introduction
PPTX
PDF
Postgresql 9.3 overview
KEY
Building and Distributing PostgreSQL Extensions Without Learning C
PDF
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
PDF
🐬 The future of MySQL is Postgres 🐘
Introduction to PostgreSQL
Postgres database Ibrahem Batta
0292-introduction-postgresql.pdf
Heroku Postgres SQL Tips, Tricks, Hacks
Postgres demystified
PostgreSQL - Case Study
PGDay.Amsterdam 2018 - Bruce Momjian - Will postgres live forever
Postgres Vision 2018: Will Postgres Live Forever?
 
PyData Texas 2015 Keynote
Letters from the open source trenches - Postgres community
Relational RDBMS : MySQL, PostgreSQL and SQL SERVER
The Accidental DBA
Icsm2009 bettenburg presentation
String Comparison Surprises: Did Postgres lose my data?
Apache Cassandra introduction
Postgresql 9.3 overview
Building and Distributing PostgreSQL Extensions Without Learning C
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
🐬 The future of MySQL is Postgres 🐘
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25 Week I
Chapter 3 Spatial Domain Image Processing.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
MYSQL Presentation for SQL database connectivity

PostgreSQL.pptx

  • 2. INTRODUCTION • PostgreSQL is an object-relational database management system (ORDBMS). • PostgreSQL was developed by the PostgreSQL Global Development Group. • PostgreSQL Global Development Group is a worldwide team of volunteers, and thus PostgreSQL is not controlled by any corporation or any other private entity. • open source and free to use.
  • 3. Features of PostgreSQL • Runs on all major operating systems including Linux, UNIX and Windows. • Supports text, images, sounds, and video. • Includes programming interfaces for C / C++, Java, Perl, Python, Ruby, Tcl and Open Database Connectivity (ODBC). • A table in PostgreSQL can be set to inherit their characteristics from a “parent” table.
  • 4. COMPARISON WITH OTHER DATABASES Features not in others User-defined types Inheritance rules Multi-version concurrency control to reduce lock contention Performance Faster for some things Usually +10% compared to other databases Reliability Stable code that has minimum of bugs Release has atleast one month of beta testing Support Mailing lists Direct access to developers, the users community, manual and source code Commercial per incident support Price Free for all use Proprietary and open source
  • 5. TOOLS DESCRIPTION psql ● Command line tool. ● Primary tool to manage PostgreSQL. pgAdmin ● Free and open source graphical user interface administration tool for PostgreSQL. phpPgAdmin ● Web-based administration tool for PostgreSQL written in PHP. Based on phpMyAdmin tool. ● Manages MySQL.OpenOffice.org Base. ● Can be used as a front end tool to PostgreSQL. pgFouine ● Log analyzer. ● Creates reports from PostgreSQL log files.
  • 6. pgAdmin A graphical tool for managing and developing the databases.
  • 9. Datatypes Name Aliases Description bigint int8 signed eight-byte integer bigserial serial8 autoincrementing eight-byte integer bit [ (n) ] fixed-length bit string bit varying [ (n) ] varbit [ (n) ] variable-length bit string boolean bool logical Boolean (true/false) box rectangular box on a plane bytea binary data (“byte array”)
  • 10. Name Aliases Description character [ (n) ] char [ (n) ] fixed-length character string character varying [ (n) ] varchar [ (n) ] variable-length character string cidr IPv4 or IPv6 network address circle circle on a plane date calendar date (year, month, day) double precision float8 double precision floating-point number (8 bytes) inet IPv4 or IPv6 host address integer int, int4 signed four-byte integer interval [ fields ] [ (p) ] time span json textual JSON data jsonb binary JSON data, decomposed line infinite line on a plane lseg line segment on a plane macaddr MAC (Media Access Control) address macaddr8 MAC (Media Access Control) address (EUI-64 format)
  • 11. Name Aliases Description polygon closed geometric path on a plane real float4 single precision floating-point number (4 bytes) smallint int2 signed two-byte integer smallserial serial2 autoincrementing two-byte integer serial serial4 autoincrementing four-byte integer text variable-length character string time [ (p) ] [ without time zone ] time of day (no time zone) time [ (p) ] with time zone timetz time of day, including time zone timestamp [ (p) ] [ without time zone ] date and time (no time zone) timestamp [ (p) ] with time zone timestamptz date and time, including time zone tsquery text search query tsvector text search document txid_snapshot user-level transaction ID snapshot (deprecated; see pg_snapshot) uuid universally unique identifier xml XML data