you could optimize the database (creating indexes, putting in memory, using a ssd etc) you can run the process in backgorund
On Mon, Dec 17, 2012 at 1:34 PM, Szabo, Patrick (LNG-VIE) < patrick.sz...@lexisnexis.at> wrote: > Hi, > > I have an operation that takes about 10 minutes to befinished. It takes > that long because our DB is pretty big. > This produces a timeout. > > I have tried so set the timeout in apache higher but it seems that apache > is not taking this directive....just keeps timing out after 300 seconds. > > Is there anything I can to to overcome this within my app ? > > The exception says that a connections was aborted by the software oft he > hostcomputer (translated from german): core_output_filter: writing data to > the network > > This is how i get the entries: > > Datum being a Date and int(str(datestring).split('-')[0]) delivering a > year like 2012 > > Buchung.objects.filter(Datum__year = int(str(datestring).split('-')[0])) > > > Help would be much appreciated. > > > > . . . . . . . . . . . . . . . . . . . . . . . . . . > Ing. Patrick Szabo > Developer > LexisNexis > A-1030 Wien, Marxergasse 25 > > mailto:patrick.sz...@lexisnexis.at > Tel.: +43 1 53452 1573 > Fax.: +43 1 534 52 146 > > . . . . . . . . . . . . . . . . . . . . . . . . . . > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.