{"id":6423,"date":"2015-12-06T17:16:14","date_gmt":"2015-12-06T16:16:14","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/"},"modified":"2015-12-06T17:16:14","modified_gmt":"2015-12-06T16:16:14","slug":"sql-monitoring-in-postgresql-2-pg_stat_statements","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/","title":{"rendered":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements"},"content":{"rendered":"<p>The <a href=\"http:\/\/dbi-services.com\/blog\/sql-monitoring-in-postgresql-1-the-logging-system\/\" target=\"_blank\" rel=\"noopener\">last post<\/a> looked into how you can monitor queries using the logging system. This post will introduce <a href=\"http:\/\/www.postgresql.org\/docs\/current\/static\/pgstatstatements.html\" target=\"_blank\" rel=\"noopener\">pg_stat_statements<\/a>. <\/p>\n<p>pg_stat_statements is a module that needs to be loaded and is not available in the default configuration. Loading it is quite easy. Create the extension as usual:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\npostgres@oel7:\/home\/postgres\/ [PG6] sqh\nNull display is \"NULL\".\nTiming is on.\npsql (9.5alpha2)\nType \"help\" for help.\n\n(postgres@[local]:4448) [postgres] &gt; create extension pg_stat_statements;\nCREATE EXTENSION\nTime: 281.765 ms\n(postgres@[local]:4448) [postgres] &gt; dx\n                                     List of installed extensions\n        Name        | Version |   Schema   |                        Description                        \n--------------------+---------+------------+-----------------------------------------------------------\n btree_gist         | 1.1     | public     | support for indexing common datatypes in GiST\n pg_stat_statements | 1.3     | public     | track execution statistics of all SQL statements executed\n plpgsql            | 1.0     | pg_catalog | PL\/pgSQL procedural language\n postgres_fdw       | 1.0     | public     | foreign-data wrapper for remote PostgreSQL servers\n(4 rows)\n<\/pre>\n<p>After the extension is available we need to adjust the <a href=\"http:\/\/www.postgresql.org\/docs\/current\/static\/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES\" target=\"_blank\" rel=\"noopener\">shared_preload_libraries<\/a> parameter:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n(postgres@[local]:4448) [postgres] &gt; show shared_preload_libraries;\n shared_preload_libraries \n--------------------------\n \n(1 row)\n\n(postgres@[local]:4448) [postgres] &gt; alter system set shared_preload_libraries='pg_stat_statements';\nALTER SYSTEM\nTime: 55.005 ms\n\n(postgres@[local]:4448) [postgres] &gt; select name,pending_restart \n                                       from pg_settings \n                                      where name in ('shared_preload_libraries');\n           name           | pending_restart \n--------------------------+-----------------\n shared_preload_libraries | f\n(1 row)\n\nTime: 1.517 ms\n(postgres@[local]:4448) [postgres] &gt; select pg_reload_conf();\n pg_reload_conf \n----------------\n t\n(1 row)\n<\/pre>\n<p>Basically pg_stat_statements can be used from now own. But there are some parameters to look at if you want to fine tune. Check the <a href=\"http:\/\/www.postgresql.org\/docs\/current\/static\/pgstatstatements.html\" target=\"_blank\" rel=\"noopener\">documentation<\/a> for the description.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n(postgres@[local]:4448) [postgres] &gt; show pg_stat_statements.max;\n-[ RECORD 1 ]----------+-----\npg_stat_statements.max | 5000\n\nTime: 0.230 ms\n(postgres@[local]:4448) [postgres] &gt; show pg_stat_statements.track;\n-[ RECORD 1 ]------------+----\npg_stat_statements.track | top\n\nTime: 0.211 ms\n(postgres@[local]:4448) [postgres] &gt; show pg_stat_statements.track_utility;\n-[ RECORD 1 ]--------------------+---\npg_stat_statements.track_utility | on\n\nTime: 0.215 ms\n(postgres@[local]:4448) [postgres] &gt; show pg_stat_statements.save;\n-[ RECORD 1 ]-----------+---\npg_stat_statements.save | on\n\nTime: 0.212 ms\n<\/pre>\n<p>When we installed the extension a view was created with the <a href=\"http:\/\/www.postgresql.org\/docs\/current\/static\/pgstatstatements.html#PGSTATSTATEMENTS-COLUMNS\" target=\"_blank\" rel=\"noopener\">following columns<\/a>:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n(postgres@[local]:4448) [postgres] &gt; d pg_stat_statements\n          View \"public.pg_stat_statements\"\n       Column        |       Type       | Modifiers \n---------------------+------------------+-----------\n userid              | oid              | \n dbid                | oid              | \n queryid             | bigint           | \n query               | text             | \n calls               | bigint           | \n total_time          | double precision | \n min_time            | double precision | \n max_time            | double precision | \n mean_time           | double precision | \n stddev_time         | double precision | \n rows                | bigint           | \n shared_blks_hit     | bigint           | \n shared_blks_read    | bigint           | \n shared_blks_dirtied | bigint           | \n shared_blks_written | bigint           | \n local_blks_hit      | bigint           | \n local_blks_read     | bigint           | \n local_blks_dirtied  | bigint           | \n local_blks_written  | bigint           | \n temp_blks_read      | bigint           | \n temp_blks_written   | bigint           | \n blk_read_time       | double precision | \n blk_write_time      | double precision | \n<\/pre>\n<p>We can now query the view for information we are interested in, e.g.:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n(postgres@[local]:4448) [postgres] &gt; x\nExpanded display is on.\n(postgres@[local]:4448) [postgres] &gt; select userid,query,calls,total_time from pg_stat_statements;\n-[ RECORD 1 ]\nuserid     | 10\nquery      | alter system set logging_collector=on;\ncalls      | 1\ntotal_time | 30.13\n-[ RECORD 2 ]\nuserid     | 10\nquery      | create extension pg_stat_statements;\ncalls      | 2\ntotal_time | 250.54\n-[ RECORD 3 ]\nuserid     | 10\nquery      | select name,pending_restart from pg_settings where name in (?,?,?,?,?);\ncalls      | 1\ntotal_time | 0.627\n-[ RECORD 4 ]\nuserid     | 10\nquery      | show log_rotation_size;\ncalls      | 1\ntotal_time | 0.006\n<\/pre>\n<p>Additionally we can call a function which is named exactly the same as the view:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n(postgres@[local]:4448) [postgres] &gt; select * from pg_stat_statements(true);\n-[ RECORD 1 ]\nuserid              | 10\ndbid                | 13295\nqueryid             | 780340104\nquery               | alter system set logging_collector=on;\ncalls               | 1\ntotal_time          | 30.13\nmin_time            | 30.13\nmax_time            | 30.13\nmean_time           | 30.13\nstddev_time         | 0\nrows                | 0\nshared_blks_hit     | 0\nshared_blks_read    | 0\nshared_blks_dirtied | 0\nshared_blks_written | 0\nlocal_blks_hit      | 0\nlocal_blks_read     | 0\nlocal_blks_dirtied  | 0\nlocal_blks_written  | 0\ntemp_blks_read      | 0\ntemp_blks_written   | 0\nblk_read_time       | 0\nblk_write_time      | 0\n-[ RECORD 2 ]\nuserid              | 10\ndbid                | 13295\nqueryid             | 1392856018\nquery               | create extension pg_stat_statements;\ncalls               | 2\ntotal_time          | 250.54\nmin_time            | 1.489\nmax_time            | 249.051\nmean_time           | 125.27\nstddev_time         | 123.781\nrows                | 0\nshared_blks_hit     | 1150\nshared_blks_read    | 90\nTime: 0.742 ms\n<\/pre>\n<p>On top of either the view or the function we can now start to troubleshoot issues with the queries the server executes. Hope this helps.<\/p>\n<p>In the next post I&#8217;ll introduce pg_activity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The last post looked into how you can monitor queries using the logging system. This post will introduce pg_stat_statements. pg_stat_statements is a module that needs to be loaded and is not available in the default configuration. Loading it is quite easy. Create the extension as usual: postgres@oel7:\/home\/postgres\/ [PG6] sqh Null display is &#8220;NULL&#8221;. Timing is&hellip;&nbsp;<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133],"tags":[143,98],"class_list":["post-6423","post","type-post","status-publish","format-standard","category-database","tag-monitoring","tag-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements\" \/>\n<meta property=\"og:description\" content=\"The last post looked into how you can monitor queries using the logging system. This post will introduce pg_stat_statements. pg_stat_statements is a module that needs to be loaded and is not available in the default configuration. Loading it is quite easy. Create the extension as usual: postgres@oel7:\/home\/postgres\/ [PG6] sqh Null display is &quot;NULL&quot;. Timing is&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-06T16:16:14+00:00\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0b4548362cac3eeff8b3eaf329e3530a\"},\"headline\":\"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements\",\"datePublished\":\"2015-12-06T16:16:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/\"},\"wordCount\":177,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"Monitoring\",\"SQL\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/\",\"name\":\"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2015-12-06T16:16:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-monitoring-in-postgresql-2-pg_stat_statements\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0b4548362cac3eeff8b3eaf329e3530a\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"caption\":\"Open source Team\"},\"description\":\"Posts published under the Open source Team account are collective contributions by the dbi services open infrastructure consultants. The practice covers open-source databases and platforms, PostgreSQL first of all, along with MySQL, MariaDB, and Linux, from architecture, replication, and high availability to performance tuning and operations under service level agreements, and contributes actively to the PostgreSQL community.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/open-source-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements - dbi services Blog","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:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/","og_locale":"en_US","og_type":"article","og_title":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements","og_description":"The last post looked into how you can monitor queries using the logging system. This post will introduce pg_stat_statements. pg_stat_statements is a module that needs to be loaded and is not available in the default configuration. Loading it is quite easy. Create the extension as usual: postgres@oel7:\/home\/postgres\/ [PG6] sqh Null display is \"NULL\". Timing is&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2015-12-06T16:16:14+00:00","author":"Open source Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Open source Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0b4548362cac3eeff8b3eaf329e3530a"},"headline":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements","datePublished":"2015-12-06T16:16:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/"},"wordCount":177,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["Monitoring","SQL"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/","name":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2015-12-06T16:16:14+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-monitoring-in-postgresql-2-pg_stat_statements\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Monitoring in PostgreSQL (2) \u2013 pg_stat_statements"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0b4548362cac3eeff8b3eaf329e3530a","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","caption":"Open source Team"},"description":"Posts published under the Open source Team account are collective contributions by the dbi services open infrastructure consultants. The practice covers open-source databases and platforms, PostgreSQL first of all, along with MySQL, MariaDB, and Linux, from architecture, replication, and high availability to performance tuning and operations under service level agreements, and contributes actively to the PostgreSQL community.","url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/6423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=6423"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/6423\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=6423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=6423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=6423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}