I do not think it shuts down the server. It just downs the user doing
the query because session is locked for long time (lots of db io).
Try session.forget() before you start querying and/or try accessing
the app from a different browser ((other session). You will see it is
not locked.

On Jan 11, 5:47 am, LightOfMooN <vladsale...@yandex.ru> wrote:
> 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?

Reply via email to