Load data local infile - query is sloooow
Posted: Mon 18 Jun 2007 09:18
I have an app where I create a reasonably large text file (about 0.5GB) and then load it into MySQL.
Whne the query is executed - the file loads, this takes a few minutes but the myQuery component a) freezes the app and b) once the file has loaded (i.e. task mamanger shows that the file is no longer being read) seems to habeg for about 5 minutes.
Any idea :
how i can speed this up?
how i can at least stop my application from freezing and disaply a progress message
Thanks.
Whne the query is executed - the file loads, this takes a few minutes but the myQuery component a) freezes the app and b) once the file has loaded (i.e. task mamanger shows that the file is no longer being read) seems to habeg for about 5 minutes.
Any idea :
how i can speed this up?
how i can at least stop my application from freezing and disaply a progress message
Thanks.