I just want to know,
Is there any size limit of SQLiteDataReader for holding records that mapped from Database?
Is there any difference between SQLiteDataReader and SqlDataReader about size limit for holding records?
Thanks in advance.
I just want to know,
Is there any size limit of SQLiteDataReader for holding records that mapped from Database?
Is there any difference between SQLiteDataReader and SqlDataReader about size limit for holding records?
Thanks in advance.
Logically, a data reader is like a forward-only cursor - it fetches data from the database when it needs to, and yields data for one result at a time. Implementations may well fetch batches of results at a time, but that's largely hidden from clients: you see one result at a time, and you should be able to stream through very large data sets, without ever actually having very much data in memory on the client at any one time.
(Realistically, I'd suggest that it's usually not a great idea to stream billions of rows in a single query, but it depends on your context.)