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
댓글 수: 0
답변 (1개)
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
the cyclist
2013년 9월 11일
It might be nice to "accept" this answer, which may help a future user seeking similar help.
참고 항목
카테고리
Help Center 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!