sql - Exporting Large MySql Table -


i have table in mysql manage using phpmyadmin. it's sitting @ around 960,000 rows.

i have boss likes @ data in excel, means weekly, have export data excel.

i looking more efficient way this. since can't entire table @ once, because times out. have been stuck 'chunking' table smaller queries , exporting that.

i have tried connecting excel (and access) directly database, same problem; times out. there way extend connection limit?

honestly size of data, suggest doing mysqldump importing table copy of mysql installed somewhere else, maybe on virtual machine dedicated task. there, can set timeouts , such high want , not worry resource limitations blowing production database. using nice on unix-based oses or process priorities on windows-based system, should able without impact production system.

alternatively, can set replica of production database , pull data there. having so-called "reporting database" replicates various tables or entire databases production system common practice in large environments ensure don't accidentally kill production database pulling numbers someone. added advantage, don't have wait mysqldump backup complete before start pulling data boss; can right away.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -