X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E6F61533E0 for ; Tue, 12 Apr 2005 22:37:06 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21589-02 for ; Wed, 13 Apr 2005 01:36:57 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2BFA553976 for ; Tue, 12 Apr 2005 22:36:56 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id DC28B30952; Wed, 13 Apr 2005 03:36:17 +0200 (MET DST) From: "Nico" X-Newsgroups: pgsql.interfaces.jdbc Subject: waiting during transaction Date: Wed, 13 Apr 2005 03:36:48 +0200 Organization: Hub.Org Networking Services Lines: 12 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.359 tagged_above=0 required=5 tests=FORGED_YAHOO_RCVD, PRIORITY_NO_NAME X-Spam-Level: *** X-Archive-Number: 200504/75 X-Sequence-Number: 12682 Hi, I have made a table with statistics of my visitors. Now I have very complex views(query's) based on it. The datarequest takes too long to process(longer than 5 seconds...) for a website. I want to show the user a waiting screen(something like "retrieving data...") in stead of just a blank screen. I probably have to work with threads and some communication between server and client. However, I know very little about the topic. Any pointers or a good website that discusses the topic would be welcome. Kind regards, Nico.