Postgresql. Also List Its Installation Steps
Postgresql. Also List Its Installation Steps
PostgreSQL is a powerful, open source object-relational database system that uses and extends
the SQL language combined with many features that safely store and scale the most
complicated data workloads. The origins of PostgreSQL date back to 1986 as part of
the POSTGRES project at the University of California at Berkeley and has more than 30 years of
active development on the core platform.
PostgreSQL has earned a strong reputation for its proven architecture, reliability, data integrity,
robust feature set, extensibility, and the dedication of the open source community behind the
software to consistently deliver performant and innovative solutions. PostgreSQL runs on all
major operating systems, has been ACID-compliant since 2001, and has powerful add-ons such
as the popular PostGIS geospatial database extender. It is no surprise that PostgreSQL has
become the open source relational database of choice for many people and organisations.
Features of PostgreSQL
Below is an inexhaustive of various features found in PostgreSQL, with more being added in
every major release:
Data Types
o Primitives: Integer, Numeric, String, Boolean
o Structured: Date/Time, Array, Range, UUID
o Document: JSON/JSONB, XML, Key-value (Hstore)
o Geometry: Point, Line, Circle, Polygon
o Customizations: Composite, Custom Types
Data Integrity
o UNIQUE, NOT NULL
o Primary Keys
o Foreign Keys
o Exclusion Constraints
o Explicit Locks, Advisory Locks
Concurrency, Performance
o Indexing: B-tree, Multicolumn, Expressions, Partial
o Advanced Indexing: GiST, SP-Gist, KNN Gist, GIN, BRIN, Bloom filters
Security
o Authentication: GSSAPI, SSPI, LDAP, SCRAM-SHA-256, Certificate, and
more
o Robust access-control system
o Column and row-level security
Extensibility
o Stored procedures
o Procedural Languages: PL/PGSQL, Perl, Python (and many more)
Installing PostgreSQL
1. Start the setup executable
Q4. What are the key differences between MySQL and PostgreSQL? Which Open Source
Database
to Choose and Why?