pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: raghavendra t <raagavendra.rao@gmail.com>
To: Matthew Wakeling <matthew@flymine.org>
Cc: Tadipathri Raghu <traghu.dba@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeremy Harris <jgh@wizmail.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Optimizer showing wrong rows in plan
Date: Mon, 29 Mar 2010 17:54:43 +0530
Message-ID: <bc7de5a31003290524k42878045ree4ef4f0333731e7@mail.gmail.com> (raw )
In-Reply-To: <alpine.DEB.2.00.1003291210060.9798@aragorn.flymine.org >
References: <645d9d71003272351x766707c7sadde9aa77bc1c0d3@mail.gmail.com >
<e4edc9361003280002o627b710dhe89c98c18b5d1db3@mail.gmail.com >
<645d9d71003280011q6cf2c6d6p7279605e6e0b4235@mail.gmail.com >
<e4edc9361003280029v7174f84bo72d073aced772206@mail.gmail.com >
<645d9d71003280033l16069edcp45d9bbb0e7ed5517@mail.gmail.com >
<22618.1269793661@sss.pgh.pa.us >
<4BAF8D1D.2050109@wizmail.org >
<24446.1269797854@sss.pgh.pa.us >
<645d9d71003282156n5ec025bbgd49283c14ea968b6@mail.gmail.com >
<alpine.DEB.2.00.1003291210060.9798@aragorn.flymine.org >
Hi Mattew,
Thank you for the information.
Once again, I like to thank each and everyone in this thread for there
ultimate support.
Regards
Raghavendra
On Mon, Mar 29, 2010 at 4:47 PM, Matthew Wakeling <matthew@flymine.org>wrote:
> On Mon, 29 Mar 2010, Tadipathri Raghu wrote:
>
>> As per the documentation, one page is 8kb, when i create a table with int
>> as
>> one column its 4 bytes. If i insert 2000 rows, it should be in one page
>> only
>> as its 8kb, but its extending vastly as expected. Example shown below,
>> taking the previous example table test with one column.
>>
>
> There is more to a row than just the single int column. The space used by a
> column will include a column start marker (data length), transaction ids,
> hint bits, an oid, a description of the types of the columns, and finally
> your data columns. That takes a bit more space.
>
> Matthew
>
> --
> If you let your happiness depend upon how somebody else feels about you,
> now you have to control how somebody else feels about you. -- Abraham Hicks
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>
view thread (15+ messages) latest in thread
Message-ID: <bc7de5a31003290524k42878045ree4ef4f0333731e7@mail.gmail.com>
Permalink: ../bc7de5a31003290524k42878045ree4ef4f0333731e7@mail.gmail.com/
Also on: postgresql.org/message-id/bc7de5a31003290524k42878045ree4ef4f0333731e7@mail.gmail.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: raagavendra.rao@gmail.com, matthew@flymine.org, traghu.dba@gmail.com, tgl@sss.pgh.pa.us, jgh@wizmail.org
Subject: Re: Optimizer showing wrong rows in plan
In-Reply-To: <bc7de5a31003290524k42878045ree4ef4f0333731e7@mail.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