pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: Manfred Koizar <mkoi-pg@aon.at>
To: pgsql-hackers@postgresql.org, pgsql-general <pgsql-general@postgresql.org>
To: pgsql-performance@postgresql.org
Subject: Re: Large databases, performance
Date: Wed, 09 Oct 2002 13:55:28 +0530
Message-ID: <3DA43550.21288.1989824B@localhost> (raw)
In-Reply-To: <a2n7qu0qen2ne1chalomdgt5n1etgb4uk3@4ax.com>
References: <3DA1A331.21316.F7E742B@localhost>

On 9 Oct 2002 at 10:00, Manfred Koizar wrote:

> On Mon, 07 Oct 2002 15:07:29 +0530, "Shridhar Daithankar"
> <shridhar_daithankar@persistent.co.in> wrote:
> >Only worry is database size. Postgresql is 111GB v/s 87 GB for mysql.
> 
> Shridhar,
> 
> here is an implementation of a set of user types: char3, char4,
> char10.  Put the attached files into a new directory contrib/fixchar,
> make, make install, and run fixchar.sql through psql.  Then create
> your table as

I had a quick look in things. I think it's a great learning material for pg 
internals..;-)

I have a suggestion. In README, it should be worth mentioning that, new types 
can be added just by changin Makefile. e.g. Changing line

OBJS = char3.o char4.o char10.o

to

OBJS = char3.o char4.o char5.o char10.o 

would add the datatype char5 as well. 

Obviously this is for those who might not take efforts to read the source. ( 
Personally I wouldn't have, had it been part of entire postgres source dump. 
Just would have done ./configure;make;make install)

Thanks for the solution. It wouldn't have occurred to me in ages to create a 
type for this. I guess that's partly because never used postgresql beyond 
select/insert/update/delete. Anyway should have been awake..

Thanks once again


Bye
 Shridhar

--
But it's real.  And if it's real it can be affected ...  we may not be ableto 
break it, but, I'll bet you credits to Navy Beans we can put a dent in it.		-- 
deSalle, "Catspaw", stardate 3018.2




view thread (48+ messages)  latest in thread

Message-ID: <3DA43550.21288.1989824B@localhost>
Permalink:  ../3DA43550.21288.1989824B@localhost/
Also on:    postgresql.org/message-id/3DA43550.21288.1989824B@localhost

 · 

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-sql@postgresql.org
  Cc: shridhar_daithankar@persistent.co.in, mkoi-pg@aon.at, pgsql-general@postgresql.org, pgsql-performance@postgresql.org
  Subject: Re: Large databases, performance
  In-Reply-To: <3DA43550.21288.1989824B@localhost>

* 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