Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 82B212E0166 for ; Fri, 14 Mar 2008 17:30:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 85656-01 for ; Fri, 14 Mar 2008 17:30:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sn.sai.msu.ru (sn.sai.msu.ru [195.208.220.215]) by postgresql.org (Postfix) with ESMTP id 46FF82E031C for ; Fri, 14 Mar 2008 17:30:53 -0300 (ADT) Received: from sn.sai.msu.ru (localhost [127.0.0.1]) by sn.sai.msu.ru (8.14.1/8.12.8) with ESMTP id m2EKUkrS027307; Fri, 14 Mar 2008 23:30:46 +0300 Received: from localhost (megera@localhost) by sn.sai.msu.ru (8.14.1/8.12.8/Submit) with ESMTP id m2EKUkqk027304; Fri, 14 Mar 2008 23:30:46 +0300 X-Authentication-Warning: sn.sai.msu.ru: megera owned process doing -bs Date: Fri, 14 Mar 2008 23:30:46 +0300 (MSK) From: Oleg Bartunov X-X-Sender: megera@sn.sai.msu.ru To: Kynn Jones cc: pgsql-performance@postgresql.org Subject: Re: The "many nulls" problem In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.57 tagged_above=0 required=5 tests=AWL=-1.555, DNS_FROM_RFC_BOGUSMX=2.125 X-Spam-Level: X-Archive-Number: 200803/318 X-Sequence-Number: 29272 On Fri, 14 Mar 2008, Kynn Jones wrote: > On Fri, Mar 14, 2008 at 2:59 PM, Oleg Bartunov wrote: > >> have you seen contrib/hstore ? You can have one table with common >> attributes >> and hide others in hstore >> > > That's interesting. I'll check it out. Thanks! actually, hstore was designed specially for this kind of problems. > > Kynn > Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83