Re: Huge Data

From: Sezai YILMAZ <sezai(dot)yilmaz(at)pro-g(dot)com(dot)tr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Huge Data
Date: 2004-01-14 13:45:05
Message-ID: 400547E1.40908@pro-g.com.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shridhar Daithankar wrote:

>On Wednesday 14 January 2004 18:22, Matthew Lunnon wrote:
>
>
>> select logid, agentid, logbody from log where logid=3000000;
>>
>> this query also returns after about 120 seconds. The table log has about
>> 7 million records, and logid is the primary key of log table. What about
>> that? Why is it too slow?
>>
>>
>
>How about
>
>select logid, agentid, logbody from log where logid='3000000';
>
>
Oh my god. It is unbelievable. The result is great. Thanks for all guys
who helped me.

-sezai

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nick Barr 2004-01-14 13:46:16 Re: Using regular expressions in LIKE
Previous Message Franco Bruno Borghesi 2004-01-14 13:40:27 Re: Huge Data