?
Solved

Matlab Database Queries

Posted on 2007-09-28
1
Medium Priority
?
1,351 Views
Last Modified: 2016-02-10
We have Windows XP SP2 computer with a Matlab 7.3.0 (R2006b) application that uses an ODBC connection to query a MySQL database (on the same computer) for large financial time series (about 250,000 records with a 'price' and a 'dateAndTime' fields on each query).

When the query is executed inside Matlab the response time is about 5 to 6 times longer than when the same query is executed directly on MySQL's Query Browser.

Similar results are obtained when moving the database to a different computer.

Is there a way to improve the performance of the Matlab application?
0
Comment
Question by:jmokrauer
1 Comment
 
LVL 22

Accepted Solution

by:
NovaDenizen earned 1500 total points
ID: 19979002
Assuming that you are running the exact same query in both places, my guess is that Matlab just can't pull the result set of out ODBC fast enough.  Maybe Matlab is pulling the result records out one at a time instead of in a more efficient buffered mode.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What we learned in Webroot's webinar on multi-vector protection.
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question