{"provider_name":"Hatena Blog","url":"https://shobon.hatenablog.com/entry/2016/01/10/152419","width":"100%","blog_title":"\u3057\u3087\u307c\u3093\u30e1\u30e2\u30ea \uff08\u00b4\u30fb\u03c9\u30fb\uff40\uff09","provider_url":"https://hatena.blog","author_name":"savakan","height":"190","version":"1.0","image_url":null,"blog_url":"https://shobon.hatenablog.com/","title":"PostgreSQL\u3067\u73fe\u5728\u63a5\u7d9a\u4e2d\u306eDB\u306e\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","author_url":"https://blog.hatena.ne.jp/savakan/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshobon.hatenablog.com%2Fentry%2F2016%2F01%2F10%2F152419\" title=\"PostgreSQL\u3067\u73fe\u5728\u63a5\u7d9a\u4e2d\u306eDB\u306e\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 - \u3057\u3087\u307c\u3093\u30e1\u30e2\u30ea \uff08\u00b4\u30fb\u03c9\u30fb\uff40\uff09\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4ed6\u306b\u3082\u3063\u3068\u7c21\u5358\u306a\u65b9\u6cd5\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3001\u5fc5\u8981\u306a\u5ea6\u306b\u8abf\u3079\u308b\u306e\u304c\u9762\u5012\u306a\u306e\u3067\u30e1\u30e2\u3002 \u63a5\u7d9a\u4e2d\u306eDB\u540d\u3092\u53d6\u5f97 test_db=> SELECT current_database(); current_database ------------------ test_db \u63a5\u7d9a\u4e2d\u306eDB\u30b5\u30a4\u30ba\u306e\u53d6\u5f97 test_db=> SELECT pg_size_pretty(pg_database_size(datname)) FROM pg_database WHERE datname=(SELECT current_database()); pg_size_pretty ---------------- 46 \u2026","categories":["PostgreSQL","SQL"],"published":"2016-01-10 15:24:19","type":"rich"}