Re: MySQL insert performance

2005-11-12 Thread Gleb Paharenko
Please, sorry for a delayed reply. In my previous mail I've asked you include the output of 'show variables' statement, so please do it in your next message. I'd like (and probably others on the list) to see your settings. Also, perform the 'show status' just after t

Re: MySQL insert performance

2005-11-11 Thread Matthew Lenz
what does the JDBC code look like that your using to do the inserts? On Fri, 2005-11-11 at 13:56 -0800, Dhiren Bhatia wrote: > Any ideas on how I can optimize this? Thanks. > > On 11/9/05, Dhiren Bhatia <[EMAIL PROTECTED]> wrote: > > > > This is on a development box, 1.5 GB RAM, 1CPU (1.6GHz) wi

Re: MySQL insert performance

2005-11-11 Thread Dhiren Bhatia
Any ideas on how I can optimize this? Thanks. On 11/9/05, Dhiren Bhatia <[EMAIL PROTECTED]> wrote: > > This is on a development box, 1.5 GB RAM, 1CPU (1.6GHz) with the app > server & database server running on the same box. I'm using the Tomcat > Database Connection Pool to get a JDBC connection

Re: MySQL insert performance

2005-11-09 Thread Dhiren Bhatia
This is on a development box, 1.5 GB RAM, 1CPU (1.6GHz) with the app server & database server running on the same box. I'm using the Tomcat Database Connection Pool to get a JDBC connection and insert the data. I dont have too much free disk space on this machine (approx 2GB). At the time of the in

Re: MySQL insert performance

2005-11-09 Thread Gleb Paharenko
Hello. As others suggest send the 'CREATE' statement for your table, and, please, include the output of : 'show status'; 'show variables'; > How long should it take to insert approx 30,000 rows into MySQL. It > takes me > about 30 mins. I'm using version 4.1.10-nt. Any ideas?

Re: MySQL insert performance

2005-11-09 Thread Brent Baisley
That seems like a long time. Although I don't know how much data you are importing, how many indexes you have on the database, memory, etc. How you are going about importing can affect your speed dramatically. If you are importing a tab delimited (or other delimination) file, you should get

Re: MySQL insert performance

2005-11-09 Thread Scott Noyes
> How long should it take to insert approx 30,000 rows into MySQL. Depends on the data and field structure. Do you have lots of indexes on the table? >It takes me about 30 mins. There are some tips at http://dev.mysql.com/doc/refman/4.1/en/insert-speed.html -- Scott Noyes [EMAIL PROTECTED] --

MySQL insert performance

2005-11-09 Thread Dhiren Bhatia
How long should it take to insert approx 30,000 rows into MySQL. It takes me about 30 mins. I'm using version 4.1.10-nt. Any ideas? Thanks, Dhiren