Re: Fetching results of a query set

2010-12-12 Thread Ivan Sagalaev
On 12/12/2010 06:45 AM, Alex Gaynor wrote: Yes, if you're using iterator you'll have Django storing 100 items at a time. That being said I believe I read that some of the database wrappers do their own caching (it's either mysqldb or psycopg2, I dont' remember which). They both do. They have t

Re: Fetching results of a query set

2010-12-11 Thread Alex Gaynor
On Sat, Dec 11, 2010 at 10:43 PM, Christophe Pettus wrote: > Hi, > > I've been spelunking through the 1.2.3 Model code, and wanted to see if > someone more familiar with that code than I could answer a question. > > In the case of returning the results of a query set, it appears that for > most ba

Fetching results of a query set

2010-12-11 Thread Christophe Pettus
Hi, I've been spelunking through the 1.2.3 Model code, and wanted to see if someone more familiar with that code than I could answer a question. In the case of returning the results of a query set, it appears that for most back ends Django reads the results from the cursor in units of GET_ITER