0% found this document useful (0 votes)
51 views7 pages

Postgresql. Also List Its Installation Steps

Write a brief note on PostgreSQL. List the features of PostgreSQL. Also list its installation steps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views7 pages

Postgresql. Also List Its Installation Steps

Write a brief note on PostgreSQL. List the features of PostgreSQL. Also list its installation steps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Experiment #1

Aim: Write a brief note on PostgreSQL. List the features of


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

o Sophisticated query planner / optimizer, index-only scans, multicolumn


statistics
o Transactions, Nested Transactions (via savepoints)
o Multi-Version concurrency Control (MVCC)
o Parallelization of read queries
o Table partitioning

o All transaction isolation levels defined in the SQL standard, including


Serializable

 Reliability, Disaster Recovery


o Write-ahead Logging (WAL)
o Replication: Asynchronous, Synchronous, Logical
o Point-in-time-recovery (PITR), active standbys
o Tablespaces

 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)

o Foreign data wrappers: connect to other databases or streams with a standard


SQL interface
o Many extensions that provide additional functionality, including PostGIS

 Internationalisation, Text Search


o Support for international character sets, e.g. through ICU collations
o Full-text search

Installing PostgreSQL
1. Start the setup executable

2. Set the installation directory and the data directory


3. Set username and password

4. Set the port number


5. Set the language and begin installation
6. Installation is complete. Now we can use the SQL shell(plsql) to use PostgreSQL.
Viva - Questions:

Q1. What are the different platforms PostgreSQL support?

Q2. Compare PostgreSQL with other DBMSs?

Q3. List features of PostgreSQL.

Q4. What are the key differences between MySQL and PostgreSQL? Which Open Source
Database
to Choose and Why?

Q5. List few limitations of PostgreSQL.

You might also like