SQL query limits on matlab database toolbox
1 view (last 30 days)
Show older comments
Hello, I have an instance where I suspect Matlab might be not allowing a large SQL Select query to be processed.
Are there any settings in setdbpref or elsewhere that constrains matlab to small queries?
Thanks, AMK
0 Comments
Answers (1)
the cyclist
on 10 Sep 2013
Edited: the cyclist
on 10 Sep 2013
This page
discusses Java heap memory issues with importing large query results.
I personally have not had success in processing queries in batches via the method described there. For my large queries (~millions of rows), I have needed to wrap the query in a for loop, and use SQL's "offset" and "limit" clauses to do the batching within SQL.
4 Comments
the cyclist
on 11 Sep 2013
It might be nice to "accept" this answer, which may help a future user seeking similar help.
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!