MyIsam engine transaction support

MyISAM effectively works in auto-commit mode (as it’s not a transactional engine), and it just ignores the commit/rollback. Actually storage engine is a different layer in the MySQL architecture, separated from the SQL parser, the SQL layer communicates to the storage engine with lower-level API, and that’s the reason there is a common SQL and … Read more

MySQL – SQL_BIG_SELECTS

MySQL determines whether or not a query is a ‘big select’ based on the value of ‘max_join_size’. If the query is likely to have to examine more than this number of rows, it will consider it a ‘big select’. Use ‘show variables’ to view the value of the max join size. I believe that indexing … Read more

Drop Column from Large Table

Anything that you do is going to require reading and writing 38m rows, so nothing is going to be real fast. Probably the fastest method is to put the data into a new table: create table newTable as select id1, id2 from oldTable; Or, if you want to be sure that you preserve types and … Read more

update command is denied for user

For everyone who have tried answering this question here is my sincere thanks. I have found the problem and solution. my sql query is like this UPDATE `dblayer`.`test` SET `title` = ‘hello a’ WHERE `test`.`id` =1; which I got from phpmyadmin and it works perfectly on my system. But when I work on the servers … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)