There are several types of indexes are available in MySQL: B-Tree Indexes: Normal Indexes – Normal indexes are the most basic indexes, and have no restraints such as uniqueness. It can contain duplicate value. Unique Indexes – Unique indexes are the same as “Normal” indexes with one difference: all values of the indexed column(s) must … Continue Reading
Monthly Archives: July 2011
How heartbeat helpful for MySQL Replication
Heartbeat is a project from Linux-HA. http://www.linux-ha.org/wiki/Heartbeat. Heartbeat will be helpful when we would have pair and/or more servers which are configured to replicate in circular fashion. I.e In MySQL Replication, if master will be fail we have to do manually failover or we have to make script which will manage this thing. But if … Continue Reading
How to install MySQL 5.1 on Ubuntu 10.10
Its easy to install MySQL on ubuntu but you must have updated your repository for apt-get utility. If you haven’t than run below command to update it. shell> apt-get update After that, to install MySQL 5.1 on ubuntu run below command. shell>sudo apt-get install mysql-server-5.1 you’ll have to give your password so it will start … Continue Reading
How to enable compositing in ubuntu 10.10
Some time after installing of ubuntu, we are getting errors with visual effects/any dock tools like docky or AWN/ubuntu themes. i.e “You need to unable Desktop Effects (Compositer) to apply and customise themes. Following are the simple steps to get rid out of that error. Press Alt-F2 to open the “Run Application” box / Open … Continue Reading
