{"id":374,"date":"2006-03-01T23:44:46","date_gmt":"2006-03-02T04:44:46","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=374"},"modified":"2006-03-01T23:46:02","modified_gmt":"2006-03-02T04:46:02","slug":"mysql64-bit-and-memory-allocation","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation","title":{"rendered":"MySQL\/64-bit and memory allocation"},"content":{"rendered":"<p>So, earlier today I was playing around with <a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/installing-source-tree.html\">compiling<\/a> MySQL on a 64-bit platform, as there was a <em>bug<\/em> reported that there were problems allocating a large amount of memory to it. I compiled it, and tried running a few tests beyond the usual <code>make test<\/code> to see if I could make it run into problems.<\/p>\n<p>I couldn&#8217;t. From a chat earlier in the morning, Stefan told me to try a really large table, with a stored procedure that repeatedly queried it. I tried that, but never got my out of memory errors. And my test box had 1GB of RAM.<\/p>\n<p>So my question to readers are:<\/p>\n<ol>\n<li>Have you had grief with MySQL 5 (or later, see 5.1 just hit beta) on a 32-bit or 64-bit platform, where you had issues allocating a large amount of memory to the MySQL server?<\/li>\n<li>Do you have useful test harnesses designed to stress test your greatest\/latest\/newest database installation? How do you, the community QA the next release of MySQL?<\/li>\n<\/ol>\n<p>If you answered yes to any of the above, do drop me e-mail at <a href=\"mailto:colin@mysql.com\">colin@mysql.com<\/a>, or comment here. Thanks.<\/p>\n<p>In other interesting news, <a href=\"http:\/\/jpipes.com\/\">Jay<\/a>, my colleague presented a webminar on <a href=\"http:\/\/www.mysql.com\/news-and-events\/web-seminars\/coding-indexing.php\">Coding and Indexing Strategies for Optimal Performance<\/a>. It was well received, I had a really good time attending it (even though it was at 5am!) and I suggest folk going to these <a href=\"http:\/\/www.mysql.com\/news-and-events\/web-seminars\/\">webminars<\/a>. Sure, it requires an icky Java client, but you do learn a lot following presentations and listening to the presentation. Its like a recorded lecture\/podcast, except its all automated :)<\/p>\n<p>Oh, and MySQL 5.1 just hit beta. Seeing my iPod 3G died, maybe its time to make MySQL rock and <a href=\"http:\/\/dev.mysql.com\/mysql_51_contest.html\">win an iPod Nano<\/a>.  File reproducible bug reports, talk about it, and get picked to win an iPod Nano. 1 given away every week!<br \/>\n<small>(yes, yes, I know I can&#8217;t get to win an iPod Nano)<\/small><\/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%20MySQL%2F64-bit%20and%20memory%20allocation&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F03%2F01%2Fmysql64-bit-and-memory-allocation&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=\"f7c3e00083\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-374\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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-374\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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-374\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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>So, earlier today I was playing around with compiling MySQL on a 64-bit platform, as there was a bug reported that there were problems allocating a large amount of memory to it. I compiled it, and tried running a few tests beyond the usual make test to see if I could make it run into [&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%20MySQL%2F64-bit%20and%20memory%20allocation&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F03%2F01%2Fmysql64-bit-and-memory-allocation&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=\"f7c3e00083\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-374\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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-374\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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-374\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/03\/01\/mysql64-bit-and-memory-allocation?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":"open","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":[23],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-62","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2914,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2014\/04\/22\/ubuntu-14-04-some-mysql-ecosystem-notes","url_meta":{"origin":374,"position":0},"title":"Ubuntu 14.04 &#8211; some MySQL ecosystem notes","date":"22\/4\/2014","format":false,"excerpt":"Following my previous post on the launch, I just rolled Ubuntu 14.04 LTS on an Amazon EC2 t1.micro instance (not something you expect to run a database server on, for sure - 1 vCPU, 0.613GiB RAM). If you do an apt-cache search mysql you get 435 return result sets with\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":641,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/10\/11\/building-mysql-from-source","url_meta":{"origin":374,"position":1},"title":"Building MySQL from source","date":"11\/10\/2007","format":false,"excerpt":"So others know how I check out a fresh tree, here are instructions to building MySQL from mysql.bkbits.net, using the free bkf tool. in ~\/code, do bkf clone bk:\/\/mysql.bkbits.net\/mysql-5.0-community mysql-5.0-community to clone to community tree down to your disk wait patiently, while bitkeeper attempts to suck some of your bandwidth\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2673,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/15\/using-mariadb-on-centos-6","url_meta":{"origin":374,"position":2},"title":"Using MariaDB on CentOS 6","date":"15\/3\/2013","format":false,"excerpt":"This is just for testing purposes, but you might want to play around with MariaDB 5.5.29 coming via the CentOS 6 repositories as mentioned in this post. Please test it out and report bugs if required. The process was simple on a fresh install: yum update cd \/etc\/yum.repos.d\/ wget http:\/\/dev.centos.org\/centos\/6\/mariadb\/mariadb.repo\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2985,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2014\/11\/03\/osquery-is-neat","url_meta":{"origin":374,"position":3},"title":"osquery is neat","date":"3\/11\/2014","format":false,"excerpt":"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 & Linux). It is by far the project with the most advanced functionality, linked here in this post. I noticed\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":374,"position":4},"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":674,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/29\/mysql-linux-ppc64-binaries","url_meta":{"origin":374,"position":5},"title":"MySQL Linux PPC64 binaries","date":"29\/11\/2007","format":false,"excerpt":"A while back, I built some PPC64 (powerpc 64-bit) packages for MySQL. They were built on a POWER5 box, running Fedora Core 6, with glibc 2.5, using a Bitkeeper snapshot (public bkbits, 5.0.45 tag). All tests pass on ppc64, for what its worth. I'll do periodic builds for Linux\/PPC64 as\u2026","rel":"","context":"In &quot;MySQL&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\/374"}],"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=374"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/374\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}