{"id":1340,"date":"2013-08-12T11:58:29","date_gmt":"2013-08-12T18:58:29","guid":{"rendered":"http:\/\/blog.light42.com\/wordpress\/?p=1340"},"modified":"2013-09-13T09:38:45","modified_gmt":"2013-09-13T16:38:45","slug":"sizing-up-california-homes","status":"publish","type":"post","link":"http:\/\/blog.light42.com\/wordpress\/?p=1340","title":{"rendered":"Sizing Up California &#8211; Homes"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/blog.light42.com\/wordpress\/wp-content\/uploads\/2012\/06\/PostgreSQL_logo.3colors.120x120.png\" alt=\"pg_logo\" align=\"right\" height=108px width=108px \/><\/p>\n<p>I live in California, and it&#8217;s a big place. I was reviewing some records regarding residential homes. Using some simple stats, I broke the records into <a href=\"http:\/\/www.postgresql.org\/docs\/current\/static\/ddl-partitioning.html\" title=\"partitioned_tables\" target=\"_blank\">partitioned tables<\/a> in PostgreSQL by county, and then let the rest fall into a general bucket. There is no one correct answer for this kind of analysis setup, but here is one possibility. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"361\" src=\"http:\/\/blog.light42.com\/wordpress\/wp-content\/uploads\/2013\/09\/CA_tables0.png\" alt=\"CA_tables0\"  class=\"alignnone size-medium wp-image-1342\" srcset=\"http:\/\/blog.light42.com\/wordpress\/wp-content\/uploads\/2013\/09\/CA_tables0.png 717w, http:\/\/blog.light42.com\/wordpress\/wp-content\/uploads\/2013\/09\/CA_tables0-300x151.png 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I live in California, and it&#8217;s a big place. I was reviewing some records regarding residential homes. Using some simple stats, I broke the records into partitioned tables in PostgreSQL by county, and then let the rest fall into a general bucket. There is no one correct answer for this kind of analysis setup, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,5],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1340"}],"collection":[{"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1340"}],"version-history":[{"count":7,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions"}],"predecessor-version":[{"id":1349,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions\/1349"}],"wp:attachment":[{"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.light42.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}