On 2.8.2011 15:54, Anthony wrote:
On Tuesday, August 2, 2011 8:44:52 AM UTC-4, Kenneth wrote:
> Can you run the query directly against the db to compare? Do you
have
the debug tool displaying at the bottom of the page that shows how
long
he query took?
t3=time.time()
testar = db(db.tracker_person_product.id
<http://db.tracker_person_product.id>).select()
What happens if you do:
testar = db(db.tracker_person_product.id
<http://db.tracker_person_product.id/> > 0).select() # Note, added
'> 0'
No difference.
The model for this table contains four reference to other table, can
this affect the speed?
Kenneth