pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: enable_seqscan to off -> initial cost 10000000000
Date: Fri, 23 Apr 2021 10:43:51 -0500
Message-ID: <ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com> (raw)
In-Reply-To: <CAKoxK+6LA_w3u3hFeofw=SP6LSR0i6_Zh==GLWJ3y_nEhsRX5A@mail.gmail.com>
References: <CAKoxK+6LA_w3u3hFeofw=SP6LSR0i6_Zh==GLWJ3y_nEhsRX5A@mail.gmail.com>

On 4/23/21 10:39 AM, Luca Ferrari wrote:
> Hi all,
> this could be trivial, but I would like an explaination: if I turn off
> sequential scans on a table without indexes, the same access plan is
> increased by a 10000000000 factor. I suspect this is a warning for me
> to remind that something is misconfigured, or is there anothe reason?

Maybe I'm missing something, but in "a table without indexes", what else is 
there besides sequential scan?

-- 
Angular momentum makes the world go 'round.





view thread (4+ messages)  latest in thread

Message-ID: <ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com>
Permalink:  ../ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com/
Also on:    postgresql.org/message-id/ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: enable_seqscan to off -> initial cost 10000000000
  In-Reply-To: <ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com>
  References: <CAKoxK+6LA_w3u3hFeofw=SP6LSR0i6_Zh==GLWJ3y_nEhsRX5A@mail.gmail.com> <ba232e34-ae0f-716e-67c3-268cdcf146ac@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox