Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TK9Vn-0005DZ-He for pgsql-admin@postgresql.org; Fri, 05 Oct 2012 15:08:23 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TK9Vl-0007Oh-BK for pgsql-admin@postgresql.org; Fri, 05 Oct 2012 15:08:22 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TK9Vo-0006fH-Gw for pgsql-admin@postgresql.org; Fri, 05 Oct 2012 17:08:24 +0200 Received: from p5081e38d.dip.t-dialin.net ([80.129.227.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 17:08:24 +0200 Received: from chris by p5081e38d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 17:08:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Christian Ullrich Subject: Re: Creating schema best practices Date: Fri, 05 Oct 2012 17:07:57 +0200 Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1255; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5081e38d.dip.t-dialin.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: X-Pg-Spam-Score: -4.0 (----) X-Archive-Number: 201210/20 X-Sequence-Number: 40136 * Babay Adi, Hava wrote: > On the same regard – Some of the mentioned modules in the mentioned > application use a set of tables which is logically separate (there are > no join statements with tables of other modules). What are the pros\cons > of using a separate database instead of a separate schema for > maintaining such tables? For one thing, with multiple databases you cannot easily take consistent backups using pg_dump, because a transaction is local to a single database. -- Christian