{"id":1720,"date":"2010-03-07T10:59:50","date_gmt":"2010-03-07T15:59:50","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=1720"},"modified":"2010-03-07T10:59:50","modified_gmt":"2010-03-07T15:59:50","slug":"abusing-mysql-thoughts-on-nosql","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2010\/03\/07\/abusing-mysql-thoughts-on-nosql","title":{"rendered":"Abusing MySQL (&#038; thoughts on NoSQL)"},"content":{"rendered":"<p>The NoSQL\/relational database debate has been going on for quite some time. <a href=\"http:\/\/askmonty.org\/wiki\/index.php\/MariaDB:Download\">MariaDB<\/a>, like MySQL is relational. And if you read these series of blog posts, you&#8217;ll realise that if you use MySQL correctly, you can achieve quite a lot.<\/p>\n<ol>\n<li>It all starts with <a href=\"http:\/\/twitter.com\/kellan\">Kellan Elliott-McCrea<\/a> with his introductory post on <a href=\"http:\/\/code.flickr.com\/blog\/2010\/02\/08\/using-abusing-and-scaling-mysql-at-flickr\/\">Using, Abusing and Scaling MySQL at Flickr<\/a>. Follow the entire <a href=\"http:\/\/code.flickr.com\/blog\/tag\/using-and-abusing-mysql\/\">series<\/a>.<\/li>\n<li>He starts of the series with <a href=\"http:\/\/code.flickr.com\/blog\/2010\/02\/08\/ticket-servers-distributed-unique-primary-keys-on-the-cheap\/\">Ticket Servers: Distributed Unique Primary Keys on the Cheap<\/a>. Flickr scales using shards, and ticket servers give unique integers to serve as PKs.<\/li>\n<li>Richard Crowley talks about <a href=\"http:\/\/rcrowley.org\/articles\/opendns-mysql-abuses.html\">OpenDNS MySQL abuses<\/a>. Nothing too out of the ordinary, but it shows MySQL getting the job done.<\/li>\n<li>Mikhail Panchenko talks about using <a href=\"http:\/\/mihasya.com\/blog\/abusing-mysql-the-federated-engine\/\">The Federated engine<\/a> for his series.<\/li>\n<\/ol>\n<p>If you&#8217;re using the Federated engine, know that <a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/federated-storage-engine.html\">MySQL disables FEDERATED by default<\/a>. In <a href=\"http:\/\/askmonty.org\/wiki\/index.php\/MariaDB:Download\">MariaDB 5.1.42<\/a>, you get <a href=\"http:\/\/askmonty.org\/wiki\/index.php\/Manual:FederatedX_storage_engine\">FederatedX<\/a>, which is a maintained fork of FEDERATED, by the author himself! Bugs are fixed, and this is a supported engine, so if you&#8217;re using the FEDERATED engine, it might be wise to try out FederatedX.<\/p>\n<p>I&#8217;d also like to bring to attention, an interesting essay by Dennis Forbes: <a href=\"http:\/\/www.yafla.com\/dforbes\/Getting_Real_about_NoSQL_and_the_SQL_Isnt_Scalable_Lie\/\">Getting Real about NoSQL and the SQL-Isn&#8217;t-Scalable Lie<\/a>. <a href=\"http:\/\/monty-says.blogspot.com\/\">Monty says<\/a>: <em>&#8220;NoSQL is for very smart people who need a very sharp knife. People who are not capable of mastering SQL should not even attempt to try out NoSQL.&#8221;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The NoSQL\/relational database debate has been going on for quite some time. MariaDB, like MySQL is relational. And if you read these series of blog posts, you&#8217;ll realise that if you use MySQL correctly, you can achieve quite a lot. It all starts with Kellan Elliott-McCrea with his introductory post on Using, Abusing and Scaling [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[44,1064,23],"tags":[1105,1104,600,1052,1775,1103,1106,116],"class_list":["post-1720","post","type-post","status-publish","format-standard","hentry","category-databases","category-mariadb-databases","category-mysql","tag-federated","tag-federatedx","tag-flickr","tag-mariadb","tag-mysql","tag-nosql","tag-opendns","tag-storage-engine"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-rK","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=1720"}],"version-history":[{"count":4,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1720\/revisions"}],"predecessor-version":[{"id":1724,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1720\/revisions\/1724"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=1720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=1720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=1720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}