On 3 oct, 06:38, dan90 <[EMAIL PROTECTED]> wrote: > I'm picking through some nasty problems with postgres connections on > my django install. Bascially, if I do "a lot" of rapid selects and > inserts on some models with "a lot" of mutual foreign key constraints, > the database connection hangs indefinitely - and quite nastily - it > acquires locks such that other django processes trying to access a > given record will also hang. > > That's all too indefinite I know, but it's going to take a fair bit of > labour to reduce this bug to anything more precise --- unless anyone > can kindly offer me a couple of handy tips to speed up the process, or > has run into the same thing themselves...
Just for the record : how do you handle db transactions ? autocommit mode - the default - is possibly not the more efficient performances- wise if you have lot of queries in a same view. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---