Query : select Meta().id, * from TestDB
DB : TestDB -> has 5,120,000 documents.
Take too much time(almost 5 hrs) to get result.
I think it's problem of fetchsize(Resultset take all dataset at once).
Is there something solution to avoid it?
code spend almost all time in CharArrayBuffer.append and CharArrayBuffer.expand.
at org.apache.http.util.CharArrayBuffer.expand(CharArrayBuffer.java:62)
at org.apache.http.util.CharArrayBuffer.append(CharArrayBuffer.java:92)
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:248)
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:291)
at com.couchbase.jdbc.core.ProtocolImpl.handleResponse(ProtocolImpl.java:412)
at com.couchbase.jdbc.core.ProtocolImpl.query(ProtocolImpl.java:366)
at com.couchbase.jdbc.CBStatement.executeQuery(CBStatement.java:75)
Query : select Meta().id, * from TestDB
DB : TestDB -> has 5,120,000 documents.
Take too much time(almost 5 hrs) to get result.
I think it's problem of fetchsize(Resultset take all dataset at once).
Is there something solution to avoid it?
code spend almost all time in CharArrayBuffer.append and CharArrayBuffer.expand.