pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo Madera <rodrigo.madera@gmail.com>
To: Nörder-Tuitje, Marcus <noerder-tuitje@technology.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Inefficient escape codes.
Date: Tue, 25 Oct 2005 16:03:19 +0000
Message-ID: <3cf983d0510250903l6eb5b3dfsda46190f3e7fd289@mail.gmail.com> (raw)
In-Reply-To: <16F953410A0F1346848DCB476A989CFE01D56C@swtexchange2.technology.de>
References: <16F953410A0F1346848DCB476A989CFE01D56C@swtexchange2.technology.de>

Ok, thanks for the limits info, but I have that in the manual. Thanks.

But what I really want to know is this:

1) All large objects of all tables inside one DATABASE is kept on only one
table. True or false?

Thanks =o)
Rodrigo

On 10/25/05, Nörder-Tuitje, Marcus <noerder-tuitje@technology.de> wrote:
>
> oh, btw, no harm, but :
>  having 5000 tables only to gain access via city name is a major design
> flaw.
>  you might consider putting all into one table working with a distributed
> index over yer table (city, loc_texdt, blobfield); creating a partitioned
> index over city.
>  best regards
>
> -----Ursprüngliche Nachricht-----
> *Von:* pgsql-performance-owner@postgresql.org [mailto:
> pgsql-performance-owner@postgresql.org]*Im Auftrag von *Rodrigo Madera
> *Gesendet:* Montag, 24. Oktober 2005 21:12
> *An:* pgsql-performance@postgresql.org
> *Betreff:* Re: [PERFORM] Inefficient escape codes.
>
> Now this interests me a lot.
>
> Please clarify this:
>
> I have 5000 tables, one for each city:
>
> City1_Photos, City2_Photos, ... City5000_Photos.
>
> Each of these tables are: CREATE TABLE CityN_Photos (location text, lo_id
> largeobectypeiforgot)
>
> So, what's the limit for these large objects? I heard I could only have 4
> billion records for the whole database (not for each table). Is this true?
> If this isn't true, then would postgres manage to create all the large
> objects I ask him to?
>
> Also, this would be a performance penalty, wouldn't it?
>
> Much thanks for the knowledge shared,
> Rodrigo
>
>
>

view thread (9+ messages)

Message-ID: <3cf983d0510250903l6eb5b3dfsda46190f3e7fd289@mail.gmail.com>
Permalink:  ../3cf983d0510250903l6eb5b3dfsda46190f3e7fd289@mail.gmail.com/
Also on:    postgresql.org/message-id/3cf983d0510250903l6eb5b3dfsda46190f3e7fd289@mail.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: rodrigo.madera@gmail.com, noerder-tuitje@technology.de
  Subject: Re: Inefficient escape codes.
  In-Reply-To: <3cf983d0510250903l6eb5b3dfsda46190f3e7fd289@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