memcached (pronunciation: mem-cash-dee.) is a general-purpose distributed memory caching system that was originally developed by Danga Interactive for LiveJournal, but is now used by many other sites. It is often used to speed up dynamic database-driven websites by caching data and objects in memory to reduce the number of times an external data source (such [...]
Posts Tagged ‘MySQL’
Memcached & MySQL
Posted in MySQL, tagged Memcached, MySQL on June 23, 2009 | Leave a Comment »
How to recover root password in MySQL?
Posted in MySQL, tagged MySQL, Recover MySQL Root Password on January 10, 2009 | Leave a Comment »
As Linux system root user stop the database process: /etc/init.d/mysql stop
(or: service mysql stop)
Start MySQL in safe mode and skip the use of the “grant tables”: /usr/bin/mysqld_safe –user=mysql –socket=/var/lib/mysql/mysql.sock –pid-file=/var/run/mysqld/mysqld.pid –datadir=/var/lib/mysql –skip-grant-tables –skip-networking & [...]
MySQL Optimization Tips
Posted in MySQL, tagged MySQL, MySQL Optimization, MySQL Performance & Tuning on March 24, 2008 | 4 Comments »
(for more database related articles)
MYSQL Optimization Tips
The MySQL database server performance depends on the number of factors. The Optimized Query is one of the factors for the MySQL robust performance.
The MySQL performance depends on the below factors.
Hardware (RAM, DISK, CPU etc)
Operating System (i.e. Linux OS will give the more [...]
Pros and Cons of MySQL Table Types
Posted in MySQL, tagged Advantage and Disadvantage of MySQL table types, MySQL, MYSQL Table Types on March 17, 2008 | 2 Comments »
Please visit http://sqldbpool.blogspot.com/
(for more database related articles)
Of all the positive things that MySQL brings to the table, probably the most overlooked is multiple table types. This facet of the application is overlooked as a feature and more importantly is overlooked at design time.
MySQL has six distinct table types.
MyISAM
MERGE
ISAM
HEAP
InnoDB [...]
MySQL Question and Answers
Posted in MySQL, tagged INNODB, Mutiversion Concurrency, MYISAM, MySQL, MySQL Architecture, MySQL Interview Questions on March 17, 2008 | Leave a Comment »
How do you start and stop MySQL on Windows? – net start MySQL, net stop MySQL
How do you start MySQL on Linux? – /etc/init.d/mysql start
Explain the difference between mysql and mysqli interfaces in PHP? – mysqli is the object-oriented version of mysql [...]
How do I reclaim Space from the INNODB (Ibdata) file?
Posted in MySQL, tagged Fragmentation, INNODB, MySQL, Reclaim Space on March 16, 2008 | Leave a Comment »
This is the major issue with the Innodb engine, the bulk delete/truncate operation will deleted the data but it is not reclaiming the space from the Innodb file. There are some techniques to reclaim the space but please make sure you must have the extra space on your servers.
1. Alter Database Set Engine = Innodb
2. [...]