mal advice in FAQ 4.1. - Mailing list pgsql-hackers

From Pavel Stehule
Subject mal advice in FAQ 4.1.
Date
Msg-id 162867790710090315h7a3ae50boc4e423c8dd519313@mail.gmail.com
Whole thread Raw
Responses Re: mal advice in FAQ 4.1.
List pgsql-hackers
Hello

I found lot of slow queries in some databases which I checked based on
advice 4.1. from FAQ,
To SELECT a random row, use:   SELECT col   FROM tab   ORDER BY random()   LIMIT 1;

It's robust and slow on bigger tables. Can we add some better solutions?

Regards
Pavel Stehule


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: the best format of FAQ for you
Next
From: "Trevor Talbot"
Date:
Subject: Re: Timezone database changes