Ale914 Posted January 23, 2006 Report Share Posted January 23, 2006 Hi i'm testing LabSQL with mysql 4 due ODBC driver on Windows XP2 I try different types of simple query but i report poor performance 1000 select of INT about 900ms using Query browser i execute he same query in about 15 ms! i don't know why, maybe a bug in ODBC. Do you have any feedback on performance? Bye, Alessandro. Quote Link to comment
Michael Aivaliotis Posted January 24, 2006 Report Share Posted January 24, 2006 Hii'm testing LabSQL with mysql 4 due ODBC driver on Windows XP2 I try different types of simple query but i report poor performance 1000 select of INT about 900ms using Query browser i execute he same query in about 15 ms! i don't know why, maybe a bug in ODBC. Do you have any feedback on performance? Bye, Alessandro. Yes, well this is a known (to me) bottleneck with the LabSQL stuff. There are changes you have to make to some VI's that may speed things up. Here are the two VI's before: And here are the two VI's after: Quote Link to comment
Ale914 Posted January 25, 2006 Author Report Share Posted January 25, 2006 Thank you Michael i try the modify suggested by you and its work fine. Now i have 600ms for 1000 select and about 400ms for 1000 update. Bye, Alessandro. Quote Link to comment
Michael Aivaliotis Posted January 25, 2006 Report Share Posted January 25, 2006 Thank you Michaeli try the modify suggested by you and its work fine. Now i have 600ms for 1000 select and about 400ms for 1000 update. Bye, Alessandro. That is still slow. What SQL statement are you using? Also, have you indexed your table?I just did a simple test with: SELECT * FROM `databasename`.`tablename` of 1000 records and it takes: 15ms. Quote Link to comment
Ale914 Posted January 25, 2006 Author Report Share Posted January 25, 2006 Michael i don't execute a single select of 1000 rows but 1000 select of one field...sure in the first case i obtain a time of 15 ms similar to your. The actual performance are good for my needs. Now my problem is on ADO callback i need to generate a callback when a commit operetion occur on DB. I wrote this simple VI for register the callback but dosen't work at all (no callback is fire) Do you have experience on this? Thanks, Alessandro. Quote Link to comment
Robinson Posted August 5, 2009 Report Share Posted August 5, 2009 (edited) That is still slow. What SQL statement are you using? Also, have you indexed your table? I just did a simple test with: SELECT * FROM `databasename`.`tablename` of 1000 records and it takes: 15ms. Using the changes mentioned and with the original code when i query for 632 columns i get 4000 rows in about 2-3 mins ....y is that so?? is it bcoz of the number of columns ?? Edited August 5, 2009 by Robinson Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.