Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #424

Re: Best way to do recursive query for tree like records ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!reversiblemaps.ath.cx!not-for-mail
From Jasen Betts <jasen@xnet.co.nz>
Newsgroups comp.databases.postgresql
Subject Re: Best way to do recursive query for tree like records ?
Date 23 Nov 2012 09:50:54 GMT
Organization Dis (not Dat) Organisation
Lines 15
Message-ID <k8ngtu$3oa$1@reversiblemaps.ath.cx> (permalink)
References <8d44d8a0-8c8b-4a40-bb70-15f6a430d8ee@googlegroups.com>
NNTP-Posting-Host 118.90.107.182
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace adenine.netfront.net 1353664839 97383 118.90.107.182 (23 Nov 2012 10:00:39 GMT)
X-Complaints-To news@netfront.net
NNTP-Posting-Date Fri, 23 Nov 2012 10:00:39 +0000 (UTC)
X-Face ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^
User-Agent slrn/pre1.0.0-18 (Linux)
Xref csiph.com comp.databases.postgresql:424

Show key headers only | View raw


On 2012-11-23, Ziliang Chen <zlchen.ken@gmail.com> wrote:
> Hi Guys,
>
> I have billions of tree like records in PostgreSQL 9.2 database on
> RHEL 5 X64, what is the best way to do the query in PostgreSQL, like :
> "find out all records (grand records ...) under one (several) specific
> parent node(s) ? or find out all parent nodes (grandparent nodes...)
> for one (several) specific child node(s) ?"      

Not clear. parentheses mean what? 

-- 
⚂⚃ 100% natural

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Best way to do recursive query for tree like records ? Ziliang Chen <zlchen.ken@gmail.com> - 2012-11-22 20:32 -0800
  Re: Best way to do recursive query for tree like records ? Jasen Betts <jasen@xnet.co.nz> - 2012-11-23 09:50 +0000
  Re: Best way to do recursive query for tree like records ? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-11-23 11:05 +0100
    Re: Best way to do recursive query for tree like records ? Ziliang Chen <zlchen.ken@gmail.com> - 2012-11-23 05:47 -0800

csiph-web