Hi,
Im using musql on sun system. i have a stand alone java based application running on the same system, which reads the text file and update the database. I need 100 rows/sec updates but mysql is taking too much time. I have used batch update of java with 1000 rows at once. the rows are read by the appication in 10 sec and it takes 40secs by mysql to update the table. I have indexes on the required fields.
the data is of the form:
coulmns: key1, data1, data2, data3, data4, data5
row1: 1,a,b,c,,,
row2: 1,,,c2,d,e
row3: 1,a2,,,d2,e2
row4: 1,,,,,e3
ofcourse in the table i should have the latest information as :
1,a2,b,c2,d2,e3
Thanks for ur time and response.
S
Im using musql on sun system. i have a stand alone java based application running on the same system, which reads the text file and update the database. I need 100 rows/sec updates but mysql is taking too much time. I have used batch update of java with 1000 rows at once. the rows are read by the appication in 10 sec and it takes 40secs by mysql to update the table. I have indexes on the required fields.
the data is of the form:
coulmns: key1, data1, data2, data3, data4, data5
row1: 1,a,b,c,,,
row2: 1,,,c2,d,e
row3: 1,a2,,,d2,e2
row4: 1,,,,,e3
ofcourse in the table i should have the latest information as :
1,a2,b,c2,d2,e3
Thanks for ur time and response.
S