Tue, 2014-08-12 19:25anderskarlsson
We all know that in general it's a bad idea to have columns values contain too much "hidden" information, and in particular for primary keys, this is a big no-no, although I know that not everybody agrees here. In some cases though, there is data that at it's heart contains several aspects and we just cannot avoid this, the prime example being data and time values. What I mean here is that a single datetime value has aspects that aren't always obvious from the datetime value itself. Examples include leap year information and weekday. Sometimes datetime value also contain the timezone, in which case you might want to ask if this is the timezone of the server or the client.
Can you make a datetime unique? Let's assume you know that every row that contains a datetime value are at least 5 ms apart, from which you can determine that if the datetime is stored with ms precision, you will always get …
[Read more]MariaDB 10.0.13 was recently released, and is available for download here:
https://downloads.mariadb.org/mariadb/10.0.13/
This is the fourth GA release of MariaDB 10.0, and 14th overall release of MariaDB 10.0.
This is primarily a bug-fix release.
Here are the main items of note:
- InnoDB upgraded to 5.6.19.
- XtraDB upgraded to 5.6.19-67.0. …
August 12, 2014 By Severalnines
Moodle is an open-source e-learning platform (aka Learning Management System) that is widely adopted by educational institutions to create and administer online courses. For larger student bodies and higher volumes of instruction, moodle must be robust enough to serve thousands of learners, administrators, content builders and instructors simultaneously. Availability and scalability are key requirements as moodle becomes a critical application for course providers. In this blog, we will show you how to deploy and cluster moodle/web, database and file-system components on multiple servers to achieve both high availability and scalability.
We are going to deploy moodle on top of GlusterFS clustered file system and MariaDB Galera Cluster 10. To eliminate any single point of failure, we will use three nodes to serve the application and database while the remaining two are used for …
[Read more]Diablo Technologies engaged Percona to benchmark IBM eXFlash™ DIMMs in various aspects. An eXFlash™ DIMM itself is quite an interesting piece of technology. In a nutshell, it’s flash storage, which you can put in the memory DIMM slots. Enabled by Diablo’s Memory Channel Storage™ technology, this practically means low latency and some unique performance characteristics.
These devices are special, because their full performance potential is unlocked by using multiple devices to leverage the parallelism of the memory subsystem. In a modern CPU there is more than one memory controller (4 is typical nowadays) and spreading eXFlash™ DIMMs across them will provide maximum performance. There are quite some details about the device that are omitted in this post, they can be found in this redbook.
Diablo technologies also provided us a …
[Read more]
MySQL Central @ OpenWorld is less than 7 weeks
away, have you registered?
The event represents a unique opportunity to boost your MySQL
skills and hear from Oracle's MySQL engineers along with
customers, partners and MySQL community members.
Here are the top 10 reasons why you should join us:
- Better understand Oracle's MySQL strategy. Hear straight from the source how Oracle is driving MySQL innovation, and what are the latest news and plans.
- Meet the engineers developing and supporting the MySQL products. You'll have the opportunity to ask them all your questions, which can save you significant time and money.
- Learn about real-world experiences from other …
Recently, I came through with this error. It was weird because I have never seen this error earlier.
[root@percona-pxc55-1 nilnandan]# sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=dbtest --mysql-user=msandbox --mysql-password=msandbox --mysql-socket=/tmp/mysql_sandbox5537.sock prepare sysbench 0.4.12: multi-threaded system evaluation benchmark FATAL: no database driver specified FATAL: failed to initialize database driver! [root@percona-pxc55-1 nilnandan]#
After some research, found that with Sysbench 0.4.x, we have to use option –db-driver to make it work. So I have used it and it worked.
[root@percona-pxc55-1 nilnandan]# sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=dbtest --mysql-user=msandbox --mysql-password=msandbox --mysql-socket=/tmp/mysql_sandbox5537.sock --db-driver=mysql --oltp-auto-inc=off prepare sysbench 0.4.12: multi-threaded system evaluation benchmark Creating table 'sbtest'... Creating …[Read more]
Some tips for MySQL architecture