(Josh Williams) Now that Postgres 9.3 is all the rage, page checksums are starting to see use in production. It’s not enabled by default during initdb, so you may want to double check the options used when you upgraded.
Tag: Open Source
Proposal to simplify SQL_MODE options
(Morgan Tocker) In the MySQL team, we’ve observed that having a large number of possible SQL modes creates confusion amongst users. For example, if you follow my advice on ‘recommended defaults for new applications’, it is:
Monitoring Streaming Slave Lag Effectively
(Keith Fiske) One of the easiest ways to monitor slave lag when using streaming replication is to turn hot standby on your slave and use pg_last_xact_replay_timestamp() and/or the other recovery information functions. Here’s an example query to run on the slave systems to get the number of seconds b
InnoDB adaptive flushing in MySQL 5.6: checkpoint age and io capacity
(Alexey Stroganov) In MySQL 5.6 InnoDB has a dedicated thread (page_cleaner) that’s responsible for performing flushing operations. Page_cleaner performs flushing of the dirty pages from the buffer pool based on two factors:
Locating Instances of a Word or Expression within a MySQL Database
(Rob Gravelle) Ever have one of those times that you need to find a word or phrase in the database, but you have no idea what table it might be in? If not, you are one lucky DBA! Most of us have to take care of a database that we don’t know like the back of our hand at some […]
Changing Postgres pg_dump warnings into errors with sed
(Greg Sabino Mullane) Turning off warnings when loading a PostgreSQL data dump can be a trickier task than it may first appear. One of the goals of a program I was working on was to automatically load the schema of a production database into a development system.
The slow decline of using MySQL read slaves
(Morgan Tocker) Once upon a time, it was a very common MySQL choice to have an application split its queries between two connections, sending reads to a slave and writes directly to the master.
MySQL Security Best Practices
(Celso Crivelaro) If you install a MySQL Database Server with the default options, your data are insecure and your server is in risk of invasion and some performance issues will appear shortly. With some best practices, your MySQL database becomes secure and the performance goes well.
Ten ways to improve the performance of large tables in MySQL
(morgan tocker) Today I wanted to take a look at improving the performance of tables that cause performance problems based largely on their size. Some of this advice also applies to databases that are large in-aggregate over many tables, but I always find the individually large table a special-case
Denormalizing Tags
(Dimitri Fontaine) In our Tour of Extensions today’s article is about advanced tag indexing. We have a great data collection to play with and our goal today is to be able to quickly find data matching a complex set of tags. So, let’s find out those lastfm tracks that are tagged as blues and rhythm a
