Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2934EB5DCE5 for ; Fri, 2 Sep 2011 10:20:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 47851-04 for ; Fri, 2 Sep 2011 13:20:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm22.bullet.mail.sp2.yahoo.com (nm22.bullet.mail.sp2.yahoo.com [98.139.91.92]) by mail.postgresql.org (Postfix) with SMTP id 8B0EBB5DCE3 for ; Fri, 2 Sep 2011 10:20:05 -0300 (ADT) Received: from [98.139.91.61] by nm22.bullet.mail.sp2.yahoo.com with NNFMP; 02 Sep 2011 13:20:05 -0000 Received: from [98.139.91.54] by tm1.bullet.mail.sp2.yahoo.com with NNFMP; 02 Sep 2011 13:20:05 -0000 Received: from [127.0.0.1] by omp1054.mail.sp2.yahoo.com with NNFMP; 02 Sep 2011 13:20:05 -0000 X-Yahoo-Newman-Id: 244148.51784.bm@omp1054.mail.sp2.yahoo.com Received: (qmail 31264 invoked from network); 2 Sep 2011 13:20:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:Mime-Version:In-Reply-To:X-Apple-Yahoo-Original-Message-Folder:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:X-Apple-Yahoo-Replied-Msgid:Subject:Date:To; b=ET8LHeo7J7oOl6w0Gqvvul/cNI6ZJRMPBplcUflrQT8vaOHMcflgaj1fvUg3fQgf6FZcspPtg0+eSokYkMOxiR7XbHLcnY2UrLh8DKe3boE7uiRfOwjeqOVl321aA9xoIhrpax1N6OqCgZXz49dRqa4KiDcJ0BBlj2oPbjw6H50= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1314969604; bh=ngKjFXCOk9UDjYgmENkh7bpwAmcSJMItSu4YaeqlVRQ=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:Mime-Version:In-Reply-To:X-Apple-Yahoo-Original-Message-Folder:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:X-Apple-Yahoo-Replied-Msgid:Subject:Date:To; b=u8ZGNN1mdRRIggHGOzbuYfpK0sbRKtGNGxWqNmajnuhOqfr7SmCEU9ryd/JV1yKkuJX3lbUhtEoOdsvHye7Gat3Ow2TEFayoMCR0zLzuHBhKoGjq+qQg+FM950wPqXJ1gC4vk4mYlGEcM2VsVYIacu2nNfKXgw1u3ZbrIqHtBjI= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: uoMFwWIVM1lX63y7K83eZFeN4gWaeggUtNJfwir6jo2JFR5 n39Q_HLgmC2pIzjsGdSZ6kvmTwRVZ24p5hoJa4fMgSHSr5kinIdR0TaRVtxm WIkfb.5niWhGMGOpybdMXE8Z5M3xMqtFZyJkVsn3qwTXJKfLo8vwIdQ27typ tYbT99H1irT_8_H253lzng37rYayRmH3ujH5dIaBRXI6shgvuaFhlYASoRf8 OjmVcOqA7p4Vm.C3P6esZMymMUcuDo5uw6sazKTbOTGbQxvYQv3vlNSezD6W SHFgTeO9cJzO8r3NUklBSkzpnWRJxZ07Ca8RY0gilqC9E8oat6ay62KWReyl dLIqPqBX4D8AOa.H2zi3DPu.fdk4ZuVtziQqCmZupV0BUtCZ0cmz5yilNDSP SXa6y_A-- X-Yahoo-SMTP: mpGJl6eswBD2IBufoVEg0Pa8gg-- Received: from [192.12.17.102] (polobo@66.67.24.143 with xymcookie) by smtp110-mob.biz.mail.gq1.yahoo.com with SMTP; 02 Sep 2011 06:20:04 -0700 PDT References: Mime-Version: 1.0 (iPad Mail 8J2) In-Reply-To: X-Apple-Yahoo-Original-Message-Folder: Inbox Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "pgsql-sql@postgresql.org" X-Mailer: iPad Mail (8J2) From: David Johnston X-Apple-Yahoo-Replied-Msgid: 1_432759_AO2kiGIAAPkXTmDH0Qkr0l/c3vE Subject: Re: Schema partitioning Date: Fri, 2 Sep 2011 09:20:03 -0400 To: Charlie X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.402 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/9 X-Sequence-Number: 35809 On Sep 1, 2011, at 14:13, Charlie wrote: > Could I get feedback from the community on schema partitioning? >=20 > I'm doing maintenance on my ddl and I'm noticing that my tables are all in= 1 schema, but they have prefixes on their names like table_app1_sometable, t= able_app1_secondtable, table_app2_anothertable, table_priviledged_restricte= dtable1, etc. The table_app1 tables seem to want to go in their own schema "= app1", etc, and drop the prefixes. Except they'll still be there, as in app= 1.sometable. >=20 > Is this just style? Or are there concrete benefits to partitioning? >=20 >=20 Mostly style but some ease-of-use when it comes to permissions as well. It'= s really no different than why you'd use sub-directories in your OS instead o= f putting everything in C/root. It does give you namespaces features as well (I.e., duplicate names but in d= ifferent contexts). David J.=