{"id":266,"date":"2005-07-13T08:06:10","date_gmt":"2005-07-13T14:06:10","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=266"},"modified":"2007-01-07T23:03:27","modified_gmt":"2007-01-08T05:03:27","slug":"exchanging-postgresql-for-oracle","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/266","title":{"rendered":"Exchanging PostgreSQL for Oracle"},"content":{"rendered":"<p>I have a client who was building some commercial software on top of <a href=\"http:\/\/www.postgresql.org\/\">PostgreSQL<\/a>.  This plans to be a fairly high volume site, 1.8 million views\/hour  500 hits a second.  Most of the software seemed to work just fine, but they had some issues with Postgres.  Specifically, the backup was failing and we couldn&#8217;t figure out why.  Then, a few days ago, we saw this message:<\/p>\n<blockquote><p>ERROR:  could not access status of transaction 1936028719<br \/>\nDETAIL:  could not open file &#8220;\/usr\/local\/postgres\/data\/pg_clog\/0836&#8221;: No such file or directory<\/p><\/blockquote>\n<p>After a bit of searching, I saw two threads <a href=\"http:\/\/dbforums.com\/t924783.html\">suggesting<\/a> <a href=\"http:\/\/archives.postgresql.org\/pgsql-general\/2004-11\/msg01447.php\">fixes<\/a>, which ranged from deleting the offending row to recreating the entire database.<\/p>\n<p>I suggested these to my client, and he thought about it for a couple of days and came up with a solution not suggested on these threads: move to <a href=\"http:\/\/www.oracle.com\/\">Oracle<\/a>.  Oracle, whose licensing and pricing has been famously opaque, now has <a href=\"http:\/\/www.oracle.com\/corporate\/pricing\/eplext.pdf\">a pricing list<\/a> available online, with prices for the <a href=\"http:\/\/www.oracle.com\/database\/Std_One.html\">Standard Edition One<\/a> and <a href=\"http:\/\/www.oracle.com\/database\/Enterprise_Edition.html\">Enterprise Edition<\/a> versions of their database, as well as other software they sell.  And my client decided that he could stomach paying for Oracle, given:<\/p>\n<p>1.  The prices aren&#8217;t too bad.<br \/>\n2.  The amount of support and knowledgeable folks available for Oracle dwarfs the community of Postgres.<br \/>\n3.  He just wants something to work.  The value add of his company is in his service, not in the back end database (as long as it runs).<\/p>\n<p>I can&#8217;t fault him for his decision.  PostgreSQL is full featured, was probably responsible for Oracle becoming more transparent and reasonable in pricing, and <a href=\"http:\/\/www.mooreds.com\/weblog\/archives\/000043.html\">I&#8217;ve used it in the past<\/a>, but he&#8217;d had enough.  It&#8217;s the same reason many folks have Macs or Windows when there is linux, which is a free tank that is <a href=\"http:\/\/artlung.com\/smorgasborg\/C_R_Y_P_T_O_N_O_M_I_C_O_N.shtml\">&#8220;&#8230; invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!&#8221;<\/a>.<\/p>\n<p>I&#8217;ll let you know how the migration goes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a client who was building some commercial software on top of PostgreSQL. This plans to be a fairly high volume site, 1.8 million views\/hour 500 hits a second. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,4],"tags":[],"class_list":["post-266","post","type-post","status-publish","format-standard","hentry","category-oracle","category-technology"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}