SQL query limits on matlab database toolbox

1 次查看(过去 30 天)
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

回答(1 个)

the cyclist
the cyclist 2013-9-10
编辑:the cyclist 2013-9-10
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 个评论
Adam
Adam 2013-9-10
I increased the Java Heap Memory on the virtual machine. Your link definitely explained the problem. Thanks for pointing that out.
the cyclist
the cyclist 2013-9-11
It might be nice to "accept" this answer, which may help a future user seeking similar help.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by