mysql Archives - 7-Views

Defragment to Recover Space in MYSQL

Posted by
August 24, 2018

If our application is performing a lot of update delete operations on a certain table then there is high possibility that it contains fragmented space. The OPTIMIZE TABLE statement allows MySQL DBAs to reorganize physical table storage in order to achieve three main goals: Shrinks the data pages Shrinks index pages Computes Fresh Index Statistics […]

read more

Row Level Locking in MySql

Posted by
August 22, 2018

We need row level locking to handle the concurrent or simultaneous requests in proper way. MyISAM does not supports row level locking. Why we need row level locking? Suppose two bank clerks attempting to update the same bank account for two different transactions. Clerks 1 and 2 both retrieve (i.e., copy) the account’s record. Clerk […]

read more