Meek Consulting Websites
Meek Consulting Websites
November 2026 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Tags
- My ramblings will go here
-
Recent Posts
Tag Archives: mysql
Analyzing mysql slow query logs
The mysql servers we use are configured to log slow queries ( those that take over 5 seconds to run or queries that do not use any index). The output is put in /var/log/mysqld.slow.logĀ ( on the dbhost server! ) … Continue reading
Faster MYSQL Index creation
Creating indexes in mysql on large tables can take a long time. Because it makes a temporary copy of the entire DB file first then creates the indexes. So be sure you have enough free space for the complete DB … Continue reading
Generate SQL to create indexes in mysql
If you have a mysql database table with indexes and you want to get the alter tableĀ commands to “create” the same indexes on another db You can run this sql — replacing the tablename with your table. Just add … Continue reading