As per redis home
page,
"Redis is an open source (BSD licensed), in-memory data structure
store, used as database, cache and message broker. It supports
data structures such as strings, hashes, lists, sets, sorted sets
with range queries, bitmaps, hyperloglogs and geospatial indexes
with radius queries."
Redis Installation Steps:
I am trying the below steps in an ubuntu 14.04 system. Open the
terminal and issue the below commands:
1. Get the latest tar zip for redis (http://redis.io/download)
$ cd /path/to/download/directory/
$ wget
http://download.redis.io/releases/redis-3.0.7.tar.gz
2. Untar it and issue below commands:
$ tar xf redis-3.0.7.tar.gz$ cd redis-3.0.7$
make$ sudo …
Many of you have already heard about NoSQL databases and one of the the most used tool is Memcached, where you add a cache layer between the application and database. Since MySQL version 5.6, a new plugin is available to do the integration between MySQL and Memcached. On this article, we will learn how to install it on linux, and some basic configurations of it.
Pre-requirements:
Install libevent
Installation:
To install memcached support we will need to create a few tables
responsible for MySQL and memcached integration. MySQL already
includes the file which creates those tables
(innodb_memcached_config.sql), you can find this file in a sub
folder of your basedir. To discover where is your basedir, run
the bellow command:
mysql> SHOW VARIABLES LIKE 'basedir'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | basedir | /usr | …[Read more]
A bit of history
The latest version of Red Hat Enterprise Linux, one of the most popular and respected Linux distributions in the server market, was released in June 2014, followed by CentOS 7 and Oracle Linux releases in July of the same year.
There are very interesting changes for database administrators in these new releases, among which I would like to highlight the fact that installer now chooses XFS as its filesystem by default, which substitutes ext4 as the preferred format for local data storage. Red …
[Read more]
MySQL Fabric is a tool included on MySQL Utilities that helps you
to manage your MySQL instances.
It works by basically adding a new layer between your application
and MySQL instances, which can provide an easy way to use
sharding and build a high available system.
For More information about what is MySQL Fabric, please follow the documentation.
To install our Fabric environment, we will have to configure 4 servers, I will use the follow names and IP on this tutorial:
fabric1 (192.168.0.200) - fabric mysql1 (192.168.0.201) - mysql master mysql2 (192.168.0.202) - mysql slave mysql3 (192.168.0.203) - mysql slave
Note: I’m running CentOS 6.5 on all servers.
1. Add mysql repo on all 4 machines, please read …
[Read more]
Well, we have all heard about the fastest php framework out
there. But how do we install it in a Ubuntu Linux machine.
Default process for any linux setup.
Steps:
1. First, we need a few packages
previously installed. To install them, issue the distro specific
command in your linux terminal.
For Ubuntu:
sudo apt-get install php5-dev php5-mysql gcc
libpcre3-dev
For Fedora:
sudo yum install php-devel php-mysqlnd gcc libtool
For RHEL:
sudo yum install php-devel php-mysql gcc libtool
For Suse:
yast2 -i php5-pear php5-devel php5-mysql gcc
Basically, here we are installing the dev tools we require to
compile and setup the Phalcon extension.
2. Get the Phalcon build using git
git …
Hi there, today we will learn about an amazing tool that every single MySQL dba must know, I’m talking about MySQL Sandbox.
MySQL Sandbox is developed by Giuseppe Maxia (The Data Charmer), it’s a tool that make the installation of MySQL servers very easy. If you need to quickly create a MySQL instance for test or a replication setup(it supports master slave, circular and master master replication), this it the tool.
INSTALLATION:
Go to http://mysqlsandbox.net/ and get the latest version (I got from launchpad):
yum install perl perl-ExtUtils-MakeMaker perl-Test-Simple wget https://launchpad.net/mysql-sandbox/mysql-sandbox-3/mysql-sandbox-3/+download/MySQL-Sandbox-3.0.44.tar.gz tar -zxvf MySQL-Sandbox-3.0.44.tar.gz cd MySQL-Sandbox-3.0.44 perl Makefile.PL make make test make install
CREATING A SINGLE …
[Read more]
This is a follow up to the : WebScaleSQL Installation attempted... part
1
So being a typical geek, developer, idiot or whatever.. I failed
to RTFM or in this case the FAQ.
So once I paid attention and didn't just rush into it, I
installed WebScaleSQL correctly.
The biggest problem was that I was using the Linux OS (Oracle
Linux VM) which is just too old and the Oracle repositories
did little to help get it upgraded. While I wanted to start with
something that everyone could use easily, that just was not
it.
I downloaded …
MariaDB 10.0 comes with ~50 engines and plugins; and it comes in 35 package sets (34 binary ones and a source tarball).
Every day people come asking on #maria IRC whether a package X contains an engine Y, or saying that it doesn’t, or wondering if it should. Remembering all combinations isn’t easy, and it became impractical to study build logs or package contents every time, so I ended up with a cheat sheet for 10.0.10 GA. At the very least it should help me to answer those questions; even better if somebody else finds it useful.
The tables below refer to contents of packages provided at downloads.mariadb.org or at MariaDB repository mirrors. Packages built by distributions might have different contents and are not covered here.
Legend
— built-in (also known as static):
the plugin comes as a part of the server binary. It can be
disabled or enabled by default, but even when it is disabled, it
is …