X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 84431DB29D for ; Fri, 28 Oct 2005 18:39:09 -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 56353-05 for ; Fri, 28 Oct 2005 21:39:07 +0000 (GMT) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by svr1.postgresql.org (Postfix) with ESMTP id 332DFDB286 for ; Fri, 28 Oct 2005 18:39:08 -0300 (ADT) Received: by xproxy.gmail.com with SMTP id s14so355058wxc for ; Fri, 28 Oct 2005 14:39:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ptlHeae5JiM53Nh1YS8uKlljQlIT2tOLzMtULCO97jMZyGOSrTnQujgaDR3m/D4vO8JMiGOa+3NjXgAffbjQmD9yDf3qikYBXbNATFuq1y5rSZWCsXdc8xxSRXUCXy6/Y5kQ2qHnT3/0LGFj2q75XSdxhIGPGNoeCKpqCig2xqQ= Received: by 10.65.177.1 with SMTP id e1mr408600qbp; Fri, 28 Oct 2005 14:39:10 -0700 (PDT) Received: by 10.65.240.20 with HTTP; Fri, 28 Oct 2005 14:39:10 -0700 (PDT) Message-ID: <3cf983d0510281439s648fac45vbd7af544eeca4fc3@mail.gmail.com> Date: Fri, 28 Oct 2005 18:39:10 -0300 From: Rodrigo Madera To: pgsql-performance@postgresql.org Subject: Best way to check for new data. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6078_19933507.1130535550853" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200510/442 X-Sequence-Number: 15210 ------=_Part_6078_19933507.1130535550853 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have a table that holds entries as in a ficticious table Log(id integer, msg text). Lets say then that I have the program log_tail that has as it=B4s sole purpose to print newly added data elements. What is the best solution in terms of performace? Thank you for your time, Rodrigo ------=_Part_6078_19933507.1130535550853 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I have a table that holds entries as in a ficticious table Log(id inte= ger, msg text).
 
Lets say then that I have the program log_tail that has as it=B4s sole= purpose to print newly added data elements.
 
What is the best solution in terms of performace?
 
Thank you for your time,
Rodrigo
 
------=_Part_6078_19933507.1130535550853--