{"id":3289,"date":"2013-04-18T10:24:40","date_gmt":"2013-04-18T00:24:40","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=3289"},"modified":"2013-04-18T10:24:40","modified_gmt":"2013-04-18T00:24:40","slug":"30-configuration-options-and-counting","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2013\/04\/18\/30-configuration-options-and-counting\/","title":{"rendered":"30 configuration options and counting"},"content":{"rendered":"<p>While Domas may have rather effictively trolled the discussion with his post on<a href=\"http:\/\/dom.as\/2013\/04\/17\/on-performance-schemas\/\"> howto configure table\/user statistics<\/a>\u00c2\u00a0(which gave me a good chuckle I do have to say), it&#8217;s at least incorrect for Percona Server as you have to enable the &#8220;userstat&#8221; server option :)<\/p>\n<p>That being said, once enabled there are no extra configuration variables to think about. This is a huge advantage over <a href=\"http:\/\/marcalff.blogspot.se\/2013\/04\/on-configuring-performance-schema.html\">configuring PERFORMANCE_SCHEMA<\/a>\u00c2\u00a0&#8211; which has a total of THIRTY configuration options (31 if you include the global enable\/disable option).<\/p>\n<p>Some of these thirty odd configuration variables are only going to matter if you&#8217;re loading your own plugins, and even then, it&#8217;s probably only going to matter if they use the MySQL mutex implementations rather than, say, the standard pthread ones or even other\u00c2\u00a0synchronization\u00c2\u00a0primitives. It helps that the vast majority of non-InnoDB storage engines are dead. Go on &#8211; name one that&#8217;s in any form of usage (MyISAM doesn&#8217;t count &#8211; it&#8217;s effectively on death row).<\/p>\n<p>This really makes me want to go and resurrect and finish the perf integration with Drizzle. The operating system provides a whole bunch of performance monitoring tools already, just expose them via SQL and be done with it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While Domas may have rather effictively trolled the discussion with his post on howto configure table\/user statistics\u00c2\u00a0(which gave me a good chuckle I do have to say), it&#8217;s at least incorrect for Percona Server as you have to enable the &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2013\/04\/18\/30-configuration-options-and-counting\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"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":[76,75,14],"tags":[70,628,88],"class_list":["post-3289","post","type-post","status-publish","format-standard","hentry","category-code","category-drizzle-work-et-al","category-mysql","tag-drizzle","tag-mysql","tag-performance_schema"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-R3","jetpack-related-posts":[{"id":1324,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/12\/19\/speaker-mysql-conference-expo-2009-oreilly-conferences-april-20-23-2009-santa-clara-ca\/","url_meta":{"origin":3289,"position":0},"title":"Speaker: MySQL Conference &#038; Expo 2009 &#8211; O&#8217;Reilly Conferences, April 20 &#8211; 23, 2009, Santa Clara, CA","author":"Stewart Smith","date":"2008-12-19","format":false,"excerpt":"Yes, I'm speaking at\u00c2\u00a0 the upcoming MySQL Conference & Expo 2009 - on April 20 - 23 (and yes, it's in Santa Clara again). I have three sessions: MySQL Cluster Tutorial: this time with 6.4 feature goodness. Very hands-on, very interactive. MySQL Cluster on Windows:\u00c2\u00a0 (insert witty text about hating\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3302,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/04\/20\/the-memory-storage-engine\/","url_meta":{"origin":3289,"position":1},"title":"The MEMORY storage engine","author":"Stewart Smith","date":"2013-04-20","format":false,"excerpt":"I recently wrote about\u00c2\u00a0Where are they now: MySQL Storage Engines\u00c2\u00a0and\u00c2\u00a0The MERGE storage engine: not dead, just resting\u00e2\u20ac\u00a6. or forgotten.\u00c2\u00a0Today, it's the turn of the MEMORY storage engine - otherwise known as HEAP. This is yet another piece of the MySQL server that sits largely unmaintained and unloved. The MySQL Manual\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3741,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/05\/25\/caring-about-stack-usage\/","url_meta":{"origin":3289,"position":2},"title":"Caring about stack usage","author":"Stewart Smith","date":"2014-05-25","format":false,"excerpt":"It may not be surprising that there's been a few projects over the years that I've worked on where we've had to care about stack usage (to varying degrees). For threaded userspace applications (e.g. MySQL, Drizzle) you get a certain amount of stack per thread - and you really don't\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3237,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/03\/08\/mysql-modularity-are-we-there-yet\/","url_meta":{"origin":3289,"position":3},"title":"MySQL modularity, are we there yet?","author":"Stewart Smith","date":"2013-03-08","format":false,"excerpt":"MySQL is now over four times the size than it was with MySQL 3.23. This has not come in the shape of plugins. Have we improved modularity over time? I decided to take LoC count for plugins and storage engines (in the case of Drizzle, memory, myisam and innobase are\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":767,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/12\/11\/online-online-online-or-restarts-are-for-wusses\/","url_meta":{"origin":3289,"position":4},"title":"online online online! (or restarts are for wusses)","author":"Stewart Smith","date":"2006-12-11","format":false,"excerpt":"I often see things go past my eyes where customers (and users - i.e. those that don't send wads of cash our way and hence are not financially supporting my beer, curry and photography habits) have amazing uptime and reliability requirements. When talking to businesses that use MySQL, it's not\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1849,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/03\/16\/embedded-innodb-querying-the-configuration\/","url_meta":{"origin":3289,"position":5},"title":"Embedded InnoDB: querying the configuration","author":"Stewart Smith","date":"2010-03-16","format":false,"excerpt":"I am rather excited about being able to do awesome things such as this to get the current configuration of your server: drizzle> SELECT NAME,VALUE -> FROM DATA_DICTIONARY.INNODB_CONFIGURATION -> WHERE NAME IN (\"data_file_path\", \"data_home_dir\"); +----------------+-------+ | NAME | VALUE | +----------------+-------+ | data_file_path | NULL | | data_home_dir | .\/\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=3289"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3289\/revisions"}],"predecessor-version":[{"id":3290,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3289\/revisions\/3290"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=3289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=3289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=3289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}