Hello,
I have a Oracle database with a large dataset, around 200000 rows.
These rows are selected from the database with a QSqlQuery like this:
If one of the fields of tableA is blob type (the size of each blob is less than 5M), to get all the rows in a while loop need about 5 seconds. But if i do a query with the command which select all fields except the fileld of blob type, the speed becomes fast.Qt Code:
while (query.next()) { i++; }To copy to clipboard, switch view to plain text mode
Why? What can i do to make the former as fast as the latter?
Thanks very much!
Bookmarks