Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Use mysql++, get a resultset with 10000 rows and iterate the resultset (no replies)

$
0
0
I use mysql++, get a resultset and iterate it like this:

Query qr = conn->query(sql);
UseQueryResult res = qr.use();

while(Row row = res.fetch_row())
{
}

The resultset has 10000 rows,this "While" Loop took 3.5 seconds.
is this situation normal? I thought it should completed much faster!

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>