pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Miroslav Šulc <miroslav.sulc@startnet.cz>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: John Arbash Meinel <john@arbash-meinel.com>
Cc: PGSQL mailing list <pgsql-performance@postgresql.org>
Subject: Re: How to read query plan
Date: Mon, 14 Mar 2005 10:09:38 +0100
Message-ID: <423554D2.9000207@startnet.cz> (raw)
In-Reply-To: <4235533E.8040100@familyhealth.com.au>
References: <42345D24.8070104@startnet.cz>
	<4234692E.3050802@arbash-meinel.com>
	<42347407.2000202@startnet.cz>
	<42347D5E.9000900@arbash-meinel.com>
	<42348F54.1000408@startnet.cz>
	<423493E5.6040203@arbash-meinel.com>
	<42355249.8090101@startnet.cz>
	<4235533E.8040100@familyhealth.com.au>

Christopher Kings-Lynne wrote:

>> 1) in PostgreSQL I use 'varchar(1)' for a lot of fields and in MySQL 
>> I use 'enum'
>> 2) in PostgreSQL in some cases I use connection fields that are not 
>> of the same type (smallint <-> integer (SERIAL)), in MySQL I use the 
>> same types
>
>
> Well both those things will make PostgreSQL slower...

I think so. I'll change the varchar(1) fields to char(1) where possible 
and will think out what I will do with the smallint <-> integer JOINs. 
Something like SMALLSERIAL would be pleasant :-) I thought I will wait 
for Tom Lane's reaction to my improvement suggestions I have posted in 
other mail but maybe he has a deep night because of different time zone.

>
> Chris

Miroslav

Attachments:

miroslav.sulc.vcf (text/x-vcard, 385B) download begin:vcard fn;quoted-printable:Miroslav =C5=A0ulc n;quoted-printable:=C5=A0ulc;Miroslav org:StartNet s.r.o. adr;quoted-printable;quoted-printable:;;Vrchlick=C3=A9ho 161/5;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika email;internet:miroslav.sulc@startnet.cz title:CEO tel;work:+420 257 225 602 tel;cell:+420 603 711 413 x-mozilla-html:TRUE url:http://www.startnet.cz version:2.1 end:vcard

view thread (37+ messages)  latest in thread

Message-ID: <423554D2.9000207@startnet.cz>
Permalink:  ../423554D2.9000207@startnet.cz/
Also on:    postgresql.org/message-id/423554D2.9000207@startnet.cz

 · 

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: miroslav.sulc@startnet.cz, chriskl@familyhealth.com.au, john@arbash-meinel.com
  Subject: Re: How to read query plan
  In-Reply-To: <423554D2.9000207@startnet.cz>

* 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