{"id":11209,"date":"2019-03-29T20:42:32","date_gmt":"2019-03-29T20:42:32","guid":{"rendered":"https:\/\/dbtut.com\/?p=11209"},"modified":"2020-10-02T08:41:23","modified_gmt":"2020-10-02T08:41:23","slug":"postgresql-awr","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/","title":{"rendered":"PostgreSQL AWR"},"content":{"rendered":"<p>In PostgreSQL, you may need to review more than one thing to analyze database or whole cluster when you encounter a problem.<\/p>\n<p>For example, a performance problem has occurred. We may examine indexes, I\/O, CPU etc.<\/p>\n<p>We need to write different queries and review them one by one. Instead of doing these operations, we can use the <strong>pg_profile<\/strong> extension, which collects them all together and outputs them in HTML format.<\/p>\n<p>The pg_profile extension is based on the standard statistical views of PostgreSQL. It is similar to Oracle AWR architecture. Like Oracle, it takes snapshot at specified times and it gives you html format to interpret the statistical data between snapshots.<\/p>\n\n<h2>Configure postgresql.conf<\/h2>\n<p>Before starting the installation, we need to make some configurations in postgresql.conf.<\/p>\n<p>To collect statistics, we need to modify the following parameters via postgresql.conf.<\/p>\n<pre class=\"lang:default decode:true\">track_activities = on\ntrack_counts = on\ntrack_io_timing = on\ntrack_functions = on<\/pre>\n<p>After the above steps are done, we are changing the pg_stat_statements parameters.<\/p>\n<pre class=\"lang:default decode:true\">shared_preload_libraries = 'pg_stat_statements'\npg_stat_statements.max = 1000\npg_stat_statements.track = 'top'\npg_stat_statements.save = off<\/pre>\n<h2>Download and Install pg_profile<\/h2>\n<p>First, we need to download the pg_profile extension from github.<\/p>\n<p><a href=\"https:\/\/github.com\/zubkov-andrei\/pg_profile\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/zubkov-andrei\/pg_profile<\/a><\/p>\n<p>After downloading the file to the server, go the directory you downloaded and follow the steps below.<\/p>\n<p>We&#8217;re running the Make command.<\/p>\n<pre class=\"lang:default decode:true \">make install<\/pre>\n<p id=\"kYQhwSE\"><img loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"58\" class=\"size-full wp-image-11210  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/img_5c9dfb2de213d.png\" alt=\"\" \/><\/p>\n<p>If you receive the below error while running this command, you can run this command at the end of the path parameter as follows.<\/p>\n<pre class=\"lang:default decode:true \">PATH=\/usr\/pgsql-10\/bin:$PATH\u00a0 make install<\/pre>\n\n<h2>CREATE EXTENSION<\/h2>\n<p>If we run Make install and make the necessary configurations, we can connect to the Postgresql by using psql client to create extensions as follows.<\/p>\n<pre class=\"lang:default decode:true\">CREATE EXTENSION dblink;\nCREATE EXTENSION pg_stat_statements;\nCREATE SCHEMA profile;<\/pre>\n<p>Some objects will be created when we create the pg_profile extension. In order to create these objects in the schema we just created, we specify the schema as below when creating the extension.<\/p>\n<pre class=\"lang:default decode:true \">CREATE EXTENSION pg_profile SCHEMA profile;<\/pre>\n<p>You can use the following command to update the Extension.<\/p>\n<pre class=\"lang:default decode:true\">alter extension pg_profile update;<\/pre>\n<h2>Create Crontab Job To Take Snapshot at Specified Intervals<\/h2>\n<p>I mentioned that pg_profile takes snapshot at specified times and interprets the statistical data between these snapshots and produces html outputs. Therefore, we need to add the snapshot functions to the crontab as follows. I&#8217;ve arranged to get a snapshot in half an hour. But you can do it for a shorter period. We open the crontab by using the command &#8220;crontab -e&#8221;, and add the following commands.<\/p>\n<pre class=\"lang:default decode:true \">*\/30 * * * *\u00a0\u00a0 psql -c 'SELECT profile.snapshot()' &gt; \/var\/log\u00a0 2&gt;&amp;1\n\n*\/30 * * * *\u00a0\u00a0 psql -c 'SELECT snapshot()' &gt; \/var\/log\u00a0 2&gt;&amp;1<\/pre>\n<p>In the command above I specified that the logs will be written in the var\/ log directory. You can change it if you want. With the help of the command below, you can get snapshot before the specified time.<\/p>\n<pre class=\"lang:default decode:true \">psql -c 'SELECT profile.snapshot()'<\/pre>\n<p>You can view snapshots with the help of the following command.<\/p>\n<pre class=\"lang:default decode:true  \">select * from snapshot_show();<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11216 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-9.png\" alt=\"\" width=\"439\" height=\"107\" \/><\/p>\n<p>We can list snapshots taken with the help of the following command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11217 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-10.png\" alt=\"\" width=\"344\" height=\"196\" \/><\/p>\n\n<h2>Create a HTML Output<\/h2>\n<p>We can use the following command to create a html output. You can specify a path to create the html output in. If you do not specify a path, it creates in the directory you are in.<\/p>\n<pre class=\"lang:default decode:true\">\u00a0psql -qtc \"SELECT profile.report(1,8)\" --output awr_report_postgres_1_8.html<\/pre>\n<p>The output of the above script will be as follows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11218 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-11.png\" alt=\"\" width=\"782\" height=\"659\" \/><\/p>\n<p>\u00a0<\/p>\n\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_11209\" class=\"pvc_stats all  \" data-element-id=\"11209\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>In PostgreSQL, you may need to review more than one thing to analyze database or whole cluster when you encounter a problem. For example, a performance problem has occurred. We may examine indexes, I\/O, CPU etc. We need to write different queries and review them one by one. Instead of doing these operations, we can &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_11209\" class=\"pvc_stats all  \" data-element-id=\"11209\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":366,"featured_media":11219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[2961,2958,2960,2962,2959],"class_list":["post-11209","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-postgres","tag-awr-report-in-postgres","tag-awr-report-in-postgresql","tag-pg_profile-postgresql","tag-postgres-awr-report","tag-postgresql-awr-report"],"aioseo_notices":[],"a3_pvc":{"activated":true,"total_views":11208,"today_views":0},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PostgreSQL AWR - Database Tutorials<\/title>\n<meta name=\"description\" content=\"AWR Reports in PostgreSQL\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL AWR - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"AWR Reports in PostgreSQL\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-29T20:42:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-02T08:41:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png\" \/>\n\t<meta property=\"og:image:width\" content=\"770\" \/>\n\t<meta property=\"og:image:height\" content=\"393\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Faruk Erdem\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Faruk Erdem\" \/>\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:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\"},\"author\":{\"name\":\"Faruk Erdem\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\"},\"headline\":\"PostgreSQL AWR\",\"datePublished\":\"2019-03-29T20:42:32+00:00\",\"dateModified\":\"2020-10-02T08:41:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\"},\"wordCount\":497,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png\",\"keywords\":[\"awr report in postgres\",\"awr report in postgresql\",\"pg_profile postgresql\",\"postgres awr report\",\"postgresql awr report\"],\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\",\"name\":\"PostgreSQL AWR - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png\",\"datePublished\":\"2019-03-29T20:42:32+00:00\",\"dateModified\":\"2020-10-02T08:41:23+00:00\",\"description\":\"AWR Reports in PostgreSQL\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png\",\"width\":770,\"height\":393},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL AWR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\",\"name\":\"Faruk Erdem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"caption\":\"Faruk Erdem\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PostgreSQL AWR - Database Tutorials","description":"AWR Reports in PostgreSQL","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:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL AWR - Database Tutorials","og_description":"AWR Reports in PostgreSQL","og_url":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/","og_site_name":"Database Tutorials","article_published_time":"2019-03-29T20:42:32+00:00","article_modified_time":"2020-10-02T08:41:23+00:00","og_image":[{"width":770,"height":393,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png","type":"image\/png"}],"author":"Faruk Erdem","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Faruk Erdem","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/"},"author":{"name":"Faruk Erdem","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb"},"headline":"PostgreSQL AWR","datePublished":"2019-03-29T20:42:32+00:00","dateModified":"2020-10-02T08:41:23+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/"},"wordCount":497,"commentCount":3,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png","keywords":["awr report in postgres","awr report in postgresql","pg_profile postgresql","postgres awr report","postgresql awr report"],"articleSection":["PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/","url":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/","name":"PostgreSQL AWR - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png","datePublished":"2019-03-29T20:42:32+00:00","dateModified":"2020-10-02T08:41:23+00:00","description":"AWR Reports in PostgreSQL","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/03\/Ads\u0131z-12.png","width":770,"height":393},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2019\/03\/29\/postgresql-awr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL AWR"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb","name":"Faruk Erdem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","caption":"Faruk Erdem"},"url":"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/11209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=11209"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/11209\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/11219"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=11209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=11209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=11209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}