Re: Large index

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Yambu <hyambu(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Large index
Date: 2020-11-05 14:15:02
Message-ID: CAHOFxGrSH8hAwA8qPhoR1K7xaHBBxAU1Ra8GXKVJrd1JfRrBfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 5, 2020, 6:52 AM Yambu <hyambu(at)gmail(dot)com> wrote:

> What disadvantage does a large table (30mil records) has over a small
> table about 20k records when it comes to querying using an indexed column?
>

Table with 20k rows will likely fit entirely into shared_buffers and not
involve any disk i/o for its use.

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yambu 2020-11-05 14:49:21 greater than vs between in where clause
Previous Message luis.roberto 2020-11-05 14:04:42 Analyze and Statistics