MariaDB and MySQL performance boost using noatime. Take a peek at
your filesystem mount file on your Linux Box /etc/fstab
/dev/VolGroup01/LogVol01 /data ext3 defaults 0 0
In many cases just like the above you'll see that MySQL data
location is mounted with "defaults" options - in our case MySQL
data files are located in /data partition.
What does it mean? It means that you are taking a performance hit
every time the file is accessed (read or write) on your file
system. There is a record created i.e. physically written to the
file system, that is besides MySQL access.
The issue is that if you do not explicitly specify "noatime"
mount option for your ext3 file system the default "atime" will
be used. This option is constantly writing to the disk bogging
down your io performance. Unless you have a specific need for
"atime" you are wasting io resources especially if you are using
database …
Before getting to the details of how eventual consistency is
implemented, we need to look at epochs. Ndb Cluster maintains an
internal distributed logical clock known as the epoch,
represented as a 64 bit number. This epoch serves a number of
internal functions, and is atomically advanced across all data
nodes.
Epochs and consistent distributed state
Ndb is a parallel database, with multiple internal transaction
coordinator components starting, executing and committing
transactions against rows stored in different data nodes.
Concurrent transactions only interact where they attempt to lock
the same row. This design minimises unnecessary system-wide …
Included in all MySQL commercial editions subscriptions, Oracle Premier Support for MySQL can help you make the most of your MySQL deployments.
Organizations choose to purchase technical support from software vendors for various reasons, many seeing it as an insurance policy. Indeed, much as they would not drive a car without insurance, IT managers consider it good practice to be able to call on the company behind the software they are using should they encounter any issue.
However, Oracle Premier Support for MySQL offers benefits far beyond "insurance", value you can leverage even if you never experience problems.
Get our new white paper “Oracle Premier Support for MySQL: Rely on The Experts, Get Unique Benefits”, to better understand the value …
[Read more]If you were unable to attend the live webinar (or you want to go back and listen to it again) then it’s now available to view on-line here.
Databases are the center of today’s web and enterprise applications, storing and protecting an organization’s most valuable assets and supporting business-critical applications. Just minutes of downtime can result in significant lost revenue and dissatisfied customers. Ensuring database highly availability is therefore a top priority for any organization. Tune into this webcast to learn more.
The session discusses:
- Causes, effect and impact of downtime
- Methodologies to map applications to HA solution
- Overview of MySQL HA solutions …
Included in all MySQL commercial editions subscriptions, Oracle Premier Support for MySQL can help you make the most of your MySQL deployments.
Organizations choose to purchase technical support from software vendors for various reasons, many seeing it as an insurance policy. Indeed, much as they would not drive a car without insurance, IT managers consider it good practice to be able to call on the company behind the software they are using should they encounter any issue.
However, Oracle Premier Support for MySQL offers benefits far beyond "insurance", value you can leverage even if you never experience problems.
Get our new white paper “Oracle Premier Support for MySQL: Rely on The Experts, Get Unique Benefits”, to better understand the value …
[Read more]DrupalDownUnder 2012 will be held in Melbourne Australia 13-15 January. A great event, I’ve been to several of its predecessors. People there don’t care an awful lot for databases, but they do realise that sometimes it’s important to either learn more about it or talk to someone specialised in that field. And when discussing general infrastructure, resilience is quite relevant. Clients want a site to remain up, but keep costs low.
I will teach pre-conference training sessions on the Friday at DDU:
- MySQL Query Design ($220 half-day)
- MySQL Server Tuning ($220 half-day)
The …
[Read more]FromDual has published a great walkthrough on migrating from existing MySQL asynchronous replication to Galera cluster.
BTW, 1.1 will come really soon now.
I’m researching algorithms for automatic fault detection in MySQL (see my previous post for context). I need real-world data samples to test the algorithm. Can you help by sending me a bit of data from your production server?
The end goal is an open-source tool that will be a standard part of a typical MySQL installation. The problem I’m trying to solve for all MySQL users is this: something went wrong, what was it? Most of the time there’s no way to answer that; you have to set up a set of tools and hope you capture enough information to diagnose the problem next time. We need a tool that just runs all the time even when you don’t think anything is going to go wrong.
You can help build this tool. I need samples from a wide variety of healthy and sick servers, both heavily and lightly loaded. I need samples …
[Read more]
Today's topic is deployment. It's called one-click deployment for
a reason: Developers are lazy.
It's hard to do less than clicking on one button, so that's our
goal.
With the growing need for lower time-to-market and faster
response to user feedback it is inevitable to not be limited by
technical factors (there are enough other obstacles already). The
focus lies on reproducible results.
So, what do we need? Actually, not much. Disregarding the tools
and practices that build the foundation of agile software
development, you only need a central build server. But you've
already got that one covered, right?
If you don't, you should get one. It's a huge help to discover
errors quickly and be alerted instantly. This usually leads to a
shorter time frame until a fix is done. Tests are run
continuously and new parts are integrated into the whole code
base.
LVM - or simply Logical Volume Manager, Linux LVM is the
implementation of Logical Volume Manager for the Linix kernel.
Most of the Linux distributions include LVM. Besides obvious
benefits of using Logical Volume Manager there is also a great
feature - LVM snapshot capability that is included in Linux
LVM
LVM snapshot is an awesome tool that is included with your Linux
distribution at no charge to you! LVM snapshot allows you to
create a new block device that is the exact copy of the logical
volume frozen in time.
Why this is such a great capability? Say you have a 500GB
database and need to create a replicated slave or take a database
backup. In order to do that you have to resort to one of the
following:
1. Stop the database (or flush tables with read lock) and copy
the files - that could take several hours.
2. Use INNODB backup tools - still will take quite some time and
that does …