(Kristian Nielsen) For the replication project that I am currently working on in MariaDB, I wanted to understand exactly what information is needed to do full replication of all MySQL/MariaDB statements on the level of completeness that existing replication does. So I went through the code, and this
Tag: Open Source
MySQL Timestamp to Date?
(Michael McLaughlin) One of my ex-students asked for an example of converting a DATETIME column into a DATE data type in MySQL. He’d tried a few approaches and hadn’t been successful. It’s best to use the DATE function to convert a DATETIME to a DATE in MySQL.
Encrypting data with pgcrypto
(Leo Hsu and Regina Obe) PostgreSQL has various levels of encryption to choose from. In this article we’ll go over the basics built-in and the more advanced provided by the contrib module pgcrypto. When encrypting data, as a general rule the harder you make it to keep people out of your data, the ea
What does Handler_read_rnd mean?
(Baron Schwartz) MySQL’s SHOW STATUS command has two counters that are often confusing and result in “what does that mean?” questions: Handler_read_rnd Handler_read_rnd_next
How to: Create many-to-many relationships between tables
Many-to-many relationships between tables are accommodated in databases by means of junction tables. A junction table contains the primary key columns of the two tables you want to relate.
EXPLAIN EXTENDED can tell you all kinds of interesting things
(Justin Swanhart) While many people are familiar with the MySQL EXPLAIN command, fewer people are familiar with “extended explain” which was added in MySQL 4.1
Even More Maatkit for MySQL
(Sean Hull) As MySQL has evolved and added sophisticated and newer features, there are some areas that remain a bit rough around the edges. Maatkit offers a whole slew of tools for doing backup and restore, finding tables, monitoring your database server and many other database administration tasks
Autocommit, Implicit Commit and Open Transactions
(Venu Anuganti) If you have any open transaction(s); and if there is any statement that causes implicit commit, especially DDL statements; then the current active transaction will be committed and transaction will be closed automatically. Here is the list of statements that causes implicit commit in
Automate MySQL Dumps using Linux CRON Job
(Anirudh Tamsekar) If you are a database administrator who would like to automate you tasks. Here is a simple and very basic task that can be automated.
Verifying GROUP_CONCAT limit without using variables
(Shlomi Noach) I have a case where I must know if group_concat_max_len is at its default value (1024), which means there are some operation I cannot work out. I’ve ranted on this here.
