{"id":570,"date":"2022-05-19T18:32:47","date_gmt":"2022-05-19T17:32:47","guid":{"rendered":"https:\/\/codetopology.com\/?p=570"},"modified":"2022-05-19T18:32:49","modified_gmt":"2022-05-19T17:32:49","slug":"what-is-postgresql","status":"publish","type":"post","link":"https:\/\/codetopology.com\/database\/what-is-postgresql\/","title":{"rendered":"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"1024\" src=\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg\" alt=\"postgreSQL\" class=\"wp-image-576\" srcset=\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg 724w, https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-212x300.jpg 212w, https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-768x1086.jpg 768w, https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-1086x1536.jpg 1086w, https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg 1414w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<p>PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4th position in terms of demand as per <a href=\"https:\/\/www.statista.com\/statistics\/809750\/worldwide-popularity-ranking-database-management-systems\/\" target=\"_blank\" rel=\"noreferrer noopener\">statista<\/a> report. It extends SQL language and adds features to efficiently handle complex data operations and storage. <\/p>\n\n\n\n<p>As it is open-source, it&#8217;s not controlled by any company or entity and its source code is available on git. It has more than <strong><em>52000<\/em><\/strong>   commits which adds more stability and features since its inception! <\/p>\n\n\n\n<p>From this number of commits, you can guess how actively the PostgreSQL community contributes to its growth.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PostgreSQL Feautres<\/h2>\n\n\n\n<p>Postgres supports nearly all major platforms like Linux, Unix, Windows, Mac, etc. Following are some features which make it a robust and enterprise-class database system.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It provides programming interfaces for the most popular languages like  Java, Python, C#, C\/C++, etc.<\/li><li>It supports User-defined custom datatypes.<\/li><li>From the data integrity standpoint, it supports an explicit locking mechanism along with advisory locks.<\/li><li>To improve performance, it supports advanced Indexing like GiST, SP-Gist, KNN Gist, GIN, BRIN, Covering indexes, Bloom filters<\/li><li>It has Multi-Version Concurrency Control (MVCC).<\/li><li>From a security point of view, it supports column and row-level security.<\/li><li>Multi-factor authentication with certificates and an additional method.<\/li><li>Support for international character sets, e.g. through ICU collations.<\/li><li>It has Case-insensitive and accent-insensitive collations which are useful in the case of internationalization.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Its Advantages!<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>It&#8217;s an Open Source DBMS System.<\/li><li>Reduces Cost of Ownership as there is no license fees!<\/li><li>It offers great scalability.<\/li><li>Provides flexible full-text search.<\/li><li>It supports different kinds of techniques for geographic data storage.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Difference Between PostgreSQL and SQL <\/h2>\n\n\n\n<p>PostgreSQL has certain extra functionalities that are not there in SQL which are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Support many advanced types such as&nbsp;an array,&nbsp;hstore, and user-defined type.<\/li><li>PostgreSQL has  IP Address Data type.<\/li><li>Supports partial and bitmap indexes.<\/li><li>Wide range of options to set up triggers.<\/li><li>It Supports extensions and custom modules.<\/li><li>It supports Unicode characters.<\/li><li>Supports JSON by default.<\/li><li>Works on almost every OS.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Disadvantages<\/h2>\n\n\n\n<p>Although its a robust and enterprise-class DBMS, it has few disadvantages<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Making replication is more complex.<\/li><li>PostgreSQL installation is fairly difficult for beginners.<\/li><li>Has lack of skilled professionals.<\/li><li>Its performance is slower as compared to MySQL.<\/li><li>Many open-source tools support MySQL but not PostgreSQL.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Use Cases<\/h2>\n\n\n\n<p><strong>Geometric Data storage-related applications: <\/strong> It has a powerful extension called \u201cPostGIS\u201d which provides hundreds of functions to process geometric data in various formats.<\/p>\n\n\n\n<p><strong>Manufacturing Industries:<\/strong> It can be configured for automatic failover, full redundancy, and almost zero downtime upgrades so it&#8217;s ideal for industries that expect 0 or no downtime.<\/p>\n\n\n\n<p><strong>Scientific Applications:<\/strong> Scientific apps generate huge data. PostgreSQL provides excellent analytics capabilities. You can write your own aggregation functions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4th position in terms of&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[20],"class_list":["post-570","post","type-post","status-publish","format-standard","hentry","category-database","tag-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages - &lt; Code Topology \/&gt;<\/title>\n<meta name=\"description\" content=\"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL Tutorials | What is PostgreSQL, Advantages, Disadvantages\" \/>\n<meta property=\"og:description\" content=\"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\" \/>\n<meta property=\"og:site_name\" content=\"&lt; Code Topology \/&gt;\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-19T17:32:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-19T17:32:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1414\" \/>\n\t<meta property=\"og:image:height\" content=\"2000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"PostgreSQL Tutorials | What is PostgreSQL, Advantages, Disadvantages\" \/>\n<meta name=\"twitter:description\" content=\"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\"},\"author\":{\"name\":\"author\",\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1\"},\"headline\":\"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages\",\"datePublished\":\"2022-05-19T17:32:47+00:00\",\"dateModified\":\"2022-05-19T17:32:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\"},\"wordCount\":460,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1\"},\"image\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg\",\"keywords\":[\"database\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\",\"url\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\",\"name\":\"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages - &lt; Code Topology \/&gt;\",\"isPartOf\":{\"@id\":\"https:\/\/codetopology.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg\",\"datePublished\":\"2022-05-19T17:32:47+00:00\",\"dateModified\":\"2022-05-19T17:32:49+00:00\",\"description\":\"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4\",\"breadcrumb\":{\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codetopology.com\/database\/what-is-postgresql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage\",\"url\":\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg\",\"contentUrl\":\"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg\",\"width\":1414,\"height\":2000,\"caption\":\"PostgreSQL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codetopology.com\/database\/what-is-postgresql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codetopology.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database\",\"item\":\"https:\/\/codetopology.com\/category\/database\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codetopology.com\/#website\",\"url\":\"https:\/\/codetopology.com\/\",\"name\":\"&lt; Code Topology \/&gt;\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codetopology.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1\",\"name\":\"author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bdbb3965858c4dc88faa09e5c57c06449c56405cb5f640ab09c6a8e30ecbb42?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bdbb3965858c4dc88faa09e5c57c06449c56405cb5f640ab09c6a8e30ecbb42?s=96&d=mm&r=g\",\"caption\":\"author\"},\"logo\":{\"@id\":\"https:\/\/codetopology.com\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages - &lt; Code Topology \/&gt;","description":"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codetopology.com\/database\/what-is-postgresql\/","og_locale":"en_GB","og_type":"article","og_title":"PostgreSQL Tutorials | What is PostgreSQL, Advantages, Disadvantages","og_description":"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4","og_url":"https:\/\/codetopology.com\/database\/what-is-postgresql\/","og_site_name":"&lt; Code Topology \/&gt;","article_published_time":"2022-05-19T17:32:47+00:00","article_modified_time":"2022-05-19T17:32:49+00:00","og_image":[{"width":1414,"height":2000,"url":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg","type":"image\/jpeg"}],"author":"author","twitter_card":"summary_large_image","twitter_title":"PostgreSQL Tutorials | What is PostgreSQL, Advantages, Disadvantages","twitter_description":"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4","twitter_image":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg","twitter_misc":{"Written by":"author","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#article","isPartOf":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/"},"author":{"name":"author","@id":"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1"},"headline":"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages","datePublished":"2022-05-19T17:32:47+00:00","dateModified":"2022-05-19T17:32:49+00:00","mainEntityOfPage":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/"},"wordCount":460,"commentCount":0,"publisher":{"@id":"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1"},"image":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage"},"thumbnailUrl":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg","keywords":["database"],"articleSection":["Database"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codetopology.com\/database\/what-is-postgresql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/","url":"https:\/\/codetopology.com\/database\/what-is-postgresql\/","name":"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages - &lt; Code Topology \/&gt;","isPartOf":{"@id":"https:\/\/codetopology.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage"},"image":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage"},"thumbnailUrl":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3-724x1024.jpg","datePublished":"2022-05-19T17:32:47+00:00","dateModified":"2022-05-19T17:32:49+00:00","description":"PostgreSQL is powerful, open-source, object-relational database system. It is one of the most widely used database systems standing at the 4","breadcrumb":{"@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codetopology.com\/database\/what-is-postgresql\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#primaryimage","url":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg","contentUrl":"https:\/\/codetopology.com\/wp-content\/uploads\/2022\/05\/PostgreSQL-3.jpg","width":1414,"height":2000,"caption":"PostgreSQL"},{"@type":"BreadcrumbList","@id":"https:\/\/codetopology.com\/database\/what-is-postgresql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codetopology.com\/"},{"@type":"ListItem","position":2,"name":"Database","item":"https:\/\/codetopology.com\/category\/database\/"},{"@type":"ListItem","position":3,"name":"Learning PostgreSQL | What is PostgreSQL, Advantages, Disadvantages"}]},{"@type":"WebSite","@id":"https:\/\/codetopology.com\/#website","url":"https:\/\/codetopology.com\/","name":"&lt; Code Topology \/&gt;","description":"","publisher":{"@id":"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codetopology.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/codetopology.com\/#\/schema\/person\/e82a9125be2d13e62c9409c44fadedf1","name":"author","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/codetopology.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bdbb3965858c4dc88faa09e5c57c06449c56405cb5f640ab09c6a8e30ecbb42?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bdbb3965858c4dc88faa09e5c57c06449c56405cb5f640ab09c6a8e30ecbb42?s=96&d=mm&r=g","caption":"author"},"logo":{"@id":"https:\/\/codetopology.com\/#\/schema\/person\/image\/"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/posts\/570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/comments?post=570"}],"version-history":[{"count":12,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/posts\/570\/revisions"}],"predecessor-version":[{"id":586,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/posts\/570\/revisions\/586"}],"wp:attachment":[{"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/media?parent=570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/categories?post=570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codetopology.com\/wp-json\/wp\/v2\/tags?post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}