for i in range(1,10000):
print db.rolic[i]
or
for i in range(1,1000):
rolics = db(db.rolic).select(db.rolic.ALL, orderby=~db.rolic.rate)
It shuts down the server for 20 seconds
Is the problem in a big count of queries, or something else?
for i in range(1,10000):
print db.rolic[i]
or
for i in range(1,1000):
rolics = db(db.rolic).select(db.rolic.ALL, orderby=~db.rolic.rate)
It shuts down the server for 20 seconds
Is the problem in a big count of queries, or something else?