X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 54F8F3A5A06 for ; Wed, 26 Jan 2005 03:51:18 +0000 (GMT) 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 53160-01 for ; Wed, 26 Jan 2005 03:51:11 +0000 (GMT) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by svr1.postgresql.org (Postfix) with ESMTP id 65ED53A5A04 for ; Wed, 26 Jan 2005 03:51:14 +0000 (GMT) Received: from jfradkin ([66.15.127.235]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050126035114.FDHI28388.out014.verizon.net@jfradkin> for ; Tue, 25 Jan 2005 21:51:14 -0600 From: "Joel Fradkin" To: Subject: Sorry I see my first question did not get posted (maybe because of the attatchments) Date: Tue, 25 Jan 2005 22:54:22 -0500 Message-ID: <000e01c5035a$b989c140$797ba8c0@jfradkin> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [66.15.127.235] at Tue, 25 Jan 2005 21:51:14 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.078 tagged_above=0 required=5 tests=AWL, MSGID_DOLLARS X-Spam-Level: *** X-Archive-Number: 200501/242 X-Sequence-Number: 20030 Basically the question was why would a view use an indexed search on one result set but a seq search on a larger result set. Same view only difference is how many rows are returned. The large result set was doing = a seq search and did not return after several minutes. The same sql ran in = 135 seconds on my MSSQL system. Joel Fradkin =A0 Wazagua, Inc. 2520 Trailmate Dr Sarasota, Florida 34243 Tel.=A0 941-753-7111 ext 305 =A0 jfradkin@wazagua.com www.wazagua.com Powered by Wazagua Providing you with the latest Web-based technology & advanced tools. =A9 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA,=A0Inc =A0This email message is for the use of the intended recipient(s) and = may contain confidential and privileged information.=A0 Any unauthorized = review, use, disclosure or distribution is prohibited.=A0 If you are not the = intended recipient, please contact the sender by reply email and delete and = destroy all copies of the original message, including attachments. =A0 =A0