Re: Slow COUNT

From: Rodrigo Gonzalez <rjgonzale(at)gmail(dot)com>
To: Poul Møller Hansen <freebsd(at)pbnet(dot)dk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Slow COUNT
Date: 2005-12-02 16:49:42
Message-ID: 43907B26.3020908@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I answer here so each one can help you.

Cannot understand what you mean....index is numbered? Are you talking
about "autoincrement" as called in mysql? use sequences please

Best regards

Rodrigo

Poul Møller Hansen wrote:

> Rodrigo Gonzalez wrote:
>
>> Poul,
>>
>> 2 things....first, why do you think it will have an impact on inserts?
>>
>> And the second one....use InnoDb tables in MySQL, and you will have
>> the same than with PostgreSQL, it's because of MVCC
>>
>> Best regards
>>
>> Rodrigo
>>
>
> If the index is numbered, I assume or rather guessing that the indexes
> must be renumbered at inserts.
>
> I was not trying to favourite MySQL to PostgreSQL, I prefer PostgreSQL
> to MySQL at any time, I was just wondering why it was much faster in
> MySQL and how I can achieve the same result in PostgreSQL ?
>
>
> Regards, Poul
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Frankel 2005-12-02 16:50:17 Re: pg_restore error
Previous Message Bruce Momjian 2005-12-02 16:47:22 Re: Numeric 508 datatype