(David Wheeler) Let’s say that you’ve been following the latest research in key/value data storage and are interested in managing such data in a PostgreSQL database. You want to have functions to store and retrieve pairs, but there is no natural way to represent pairs in SQL. Many languages have has
Tag: Open Source
Storing MySQL Binary logs on NFS Volume
(Peter Zaitsev) There is a lot of discussions whenever running MySQL storing data on NFS is a good idea. There is a lot of things for and against this and this post is not about them.
Explain Plans PostgreSQL 9.0 Text, JSON, XML, YAML – Part 1: You Choose
(Leo Hsu and Regina Obe) One of the new features of PostgreSQL 9.0 is the ability to specify the format of an explain plan. In prior versions your only choice was text (and graphic explain with tools like PgAdmin III and other GUIS), but in 9.0 on, you have the additional options of Javascript Objec
How To: Import Data to MySQL from Text File
When working with databases it is always necessary to import data or schemas. In this article we describe the process of importing data from a text file into a MySQL database, and also we discuss questions concerning problems with MySQL import and the ways of solving these problems. We will give a d
Of Camels and People: Converting back and forth from Camel Case, Pascal Case to underscore lower case
(Leo Hsu and Regina Obe) When it comes to naming things in databases and languages, there are various common standards. For many languages the camel family of namings is very popular. For unix based databases usually UPPER or lower _ is the choice and for databases such as SQL Server and MySQL which
MySQL Cluster Local Checkpoint (LCP) and Global Checkpoint (GCP)
(Shinguz) MySQL Cluster is mainly an in-memory database. Nevertheless it requires a good I/O system for writing various different information to disk.
A better backup with PostgreSQL using pg_dump
(Joshua Drake) The standard for portable backups with PostgreSQL is pg_dump and pg_dumpall. When used properly pg_dump will create a portable and highly customizable backup file that can be used to restore all or part of a single database.
Using MySQL Partitioning Instead of MERGE Tables
(Sheeri K. Cabral) One common question I get is how to use partitioning instead of MERGE tables. The process I use involves using stored procedures to create and drop partitions.
Fuzzy string matching with Trigram and Trigraphs
(Leo Hsu and Regina Obe) In an earlier article Where is Soundex and other Fuzzy string things we covered the PostgreSQL contrib module fuzzstrmatch which contains the very popular function soundex that is found in other popular relational databases. We also covered the more powerful levenshtein dist
Installing MySQL on Oracle Enterprise Linux
(Ronald Bradford) One of the significant benefits of MySQL is it’s ease of use. Generally already installed on most Linux systems, MySQL can be installed by a single command if not yet present. On Oracle Enterprise Linux 5.4 you can use the following commands to check for MySQL, configure your yum r
