{"id":2985,"date":"2014-11-03T03:59:12","date_gmt":"2014-11-03T08:59:12","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=2985"},"modified":"2014-11-03T03:59:12","modified_gmt":"2014-11-03T08:59:12","slug":"osquery-is-neat","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat","title":{"rendered":"osquery is neat"},"content":{"rendered":"<p>Facebook recently made opensource, <a href=\"https:\/\/github.com\/facebook\/osquery\">osquery<\/a>. It gives you operating system data via SQL queries! Its very neat, and you can test this even on MacOSX (it works on that platform &amp; Linux). It is by far the project with the most advanced functionality, linked here in this post.<\/p>\n<p>I noticed that rather quickly, there was a PostgreSQL project, called <a href=\"https:\/\/github.com\/shish\/pgosquery\">pgosquery<\/a>, based on <a href=\"https:\/\/wiki.postgresql.org\/wiki\/Foreign_data_wrappers\">Foreign Data Wrappers<\/a>\u00a0with a similar idea. (apparently it was written in less than 15 minutes; so a much lower learning curve than the regular MySQL storage engine interface)<\/p>\n<p>I immediately thought about an older MySQL project, by <a href=\"http:\/\/pattern.net\/\">Chip Turner<\/a> (then at Google, now at Facebook), called <a href=\"https:\/\/code.google.com\/p\/mysql-filesystem-engine\/\">mysql-filesystem-engine<\/a>. This idea was kicking around in 2008. I was intrigued by hearing about this at a talk (probably at the MySQL Conference &amp; Expo); it\u2019s a pity no one took this further.<\/p>\n<p>On a similar tangent, did you also know that there is the option to use MySQL as storage via FUSE (see: <a href=\"http:\/\/sourceforge.net\/projects\/mysqlfs\/\">mysqlfs<\/a>)? An <a href=\"http:\/\/archive09.linux.com\/feature\/127055\">article<\/a> by Ben Martin shows some practical examples.<\/p>\n<p>At its heyday, MySQL had many storage engines (maybe around 50). Wikipedia has an <a href=\"https:\/\/en.wikipedia.org\/wiki\/Comparison_of_MySQL_database_engines\">incomplete list<\/a>. I see some engines on that list, and think that some of these folk are also creating MongoDB backends \u2013 competition. At MariaDB we are probably <a href=\"https:\/\/mariadb.com\/kb\/en\/mariadb\/documentation\/storage-engines\/\">shipping the most storage engines<\/a> of any MySQL-based distribution, however I think we could be doing an even better job at working with upstream vendors, and figuring out how to support &amp; augment business around it.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20osquery%20is%20neat&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2014%2F11%2F03%2Fosquery-is-neat&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"849880e89d\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2985\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2985\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2985\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Facebook recently made opensource, osquery. It gives you operating system data via SQL queries! Its very neat, and you can test this even on MacOSX (it works on that platform &amp; Linux). It is by far the project with the most advanced functionality, linked here in this post. I noticed that rather quickly, there was [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20osquery%20is%20neat&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2014%2F11%2F03%2Fosquery-is-neat&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"849880e89d\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2985\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2985\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2985\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1064,23],"tags":[297,4,1052,1775,283,45,116],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-M9","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2739,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/06\/07\/mariadb-in-red-hat-software-collections","url_meta":{"origin":2985,"position":0},"title":"MariaDB in Red Hat Software Collections","date":"7\/6\/2013","format":false,"excerpt":"Towards the end of last year, I was asked to investigate the Red Hat Software Collections by someone that popped by one of my talks. SkySQL has been working heavily with Red Hat, and with Fedora 19 shipping MariaDB as a default, it seems like MariaDB is getting even more\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2699,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/04\/23\/biggest-mysql-related-news-in-the-last-24-hours","url_meta":{"origin":2985,"position":1},"title":"Biggest MySQL related news in the last 24 hours","date":"23\/4\/2013","format":false,"excerpt":"For me, the biggest news in the last 24 hours so far has been: SkySQL merges with Monty Program, developers of MariaDB. This of course affects me directly and leads to a change in affiliation in a few months. TokuDB goes opensource. I think this is really big news. Beyond\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3199,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2016\/04\/08\/tweet-summary-of-percona-live-2015","url_meta":{"origin":2985,"position":2},"title":"(tweet) Summary of Percona Live 2015","date":"8\/4\/2016","format":false,"excerpt":"The problem with Twitter is that we talk about something and before you know it, people forget. (e.g. does WebScaleSQL have an async client library?) How many blog posts are there about Percona Live Santa Clara 2015? This time (2016), I'm going to endeavour to write more than to just\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2832,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/11\/30\/groonga-fulltext-search-library-for-cloud-web","url_meta":{"origin":2985,"position":3},"title":"groonga &#8211; fulltext search library for cloud &#038; web","date":"30\/11\/2013","format":false,"excerpt":"This is an incomplete fragment from 2011. Figure its worth publishing this now, considering MariaDB is likely to get groonga in the near future. The groonga team have released MariaDB 10.0.6 binaries as well. This is all part of the mroonga\u00a0project. These were my quick notes from the groonga talk\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3156,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2016\/01\/12\/scale14x-lots-of-mysql-content-there","url_meta":{"origin":2985,"position":4},"title":"SCALE14x &#8211; lots of MySQL content there","date":"12\/1\/2016","format":false,"excerpt":"One of my favourite events run by a grassroots organisation is SCALE, and they are now doing their 14th edition, SCALE14x. If you\u2019re into opensource software as well as all things open, this is the place to be from January 21-24 2016. It is at a new location in Pasadena\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2122,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2011\/04\/15\/plugins-storage-engines-summit-for-mysqlmariadb","url_meta":{"origin":2985,"position":5},"title":"Plugins &#038; Storage Engines Summit for MySQL\/MariaDB","date":"15\/4\/2011","format":false,"excerpt":"As is tradition after the O'Reilly MySQL Conference & Expo, there tends to be a storage engine summit right afterwards. This year it was expanded to also include plugins. I must graciously thank Facebook for hosting us at their campus, and giving us a rather healthy lunch, plus fueling us\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2985"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2985"}],"version-history":[{"count":1,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2985\/revisions"}],"predecessor-version":[{"id":2986,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2985\/revisions\/2986"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2985"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}