(Przemys³aw Malkowski) In my previous post I pointed out that the existing ARCHIVE storage engine in MySQL may not be the one that will satisfy your needs when it comes to effectively storing large and/or old data. But are there any good alternatives? As the primary purpose of this engine is to stor
Tag: Open Source
Postgres 9.4 feature highlight: LSN datatype
(Michael Paquier) In PostgreSQL terminology, an LSN (Log Sequence Number) is a 64-bit integer used to determine a position in WAL (Write ahead log), used to preserve data integrity. Internally in code, it is managed as XLogRecPtr, a simple 64-bit integer.
The Difference Between UDFs and Stored Functions in MySQL
(Ike Walker) I’ve seen some confusion about the difference between user-defined functions (UDFs) and stored functions in MySQL. In my last post I talked about UDFs, so I figured now is a good time to write about the difference between the two types of functions you can create in MySQL.
Today’s practical use-case for Performance Schema
(Morgan Tocker) Today’s blog post starts with a question:
Why Aren’t All Data Immutable?
(Robert Hodges) Over the last few years there has been an increasing interest in immutable data management. This is a big change from the traditional update-in-place approach many database systems use today, where new values delete old values, which are then lost.
Signal from a procedure
(Michael McLaughlin) As I review with my students, a stored function works like a standalone program, while a stored procedure runs in the scope of another program unit. For example, you can compare the result of a function as an expression in an IF statement, like:
MySQL’s Date Support Is Not Absurd
(Peter Gulutzan) MySQL has unfortunate rules for dates with two-digit years, for the date range, for post-decimal digits, for timestamp defaults … But other DBMSs can be equally bizarre
Faster JSON Parsing Using MySQL JSON UDFs
(Ike Walker) A while back I blogged about JSON parsing in MySQL using Common_schema. Given the number of page views that post continues to get I think it’s worth posting an update about how I solve that problem today. I now use the json_extract() function from MySQL JSON UDFs, which is available at
Partitioning With Custom Time Intervals
(Keith Fiske) This has been something I’ve had in the works since I started on this extension, but it took a while to settle on the best method to use. The pre-determined time ranges for PG Partition Manager were done because it was easy and, as it turns out, provide a very noticeable performance im
Online DDL vs pt-online-schema-change
(abdel-mawla) One of the most expensive database operations is performing Data Definition Language (DDL, e.g. CREATE, DROP, ALTER, etc.) statements, specially, the ALTER statements because MySQL blocks the entire table for both reads and writes while modifying the table.
