X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 49B7DD1B50C for ; Mon, 17 Nov 2003 18:22:03 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25694-03 for ; Mon, 17 Nov 2003 14:21:33 -0400 (AST) Received: from web21403.mail.yahoo.com (web21403.mail.yahoo.com [216.136.232.73]) by svr1.postgresql.org (Postfix) with SMTP id 72581D1B538 for ; Mon, 17 Nov 2003 14:21:31 -0400 (AST) Message-ID: <20031117182131.9679.qmail@web21403.mail.yahoo.com> Received: from [64.81.205.234] by web21403.mail.yahoo.com via HTTP; Mon, 17 Nov 2003 10:21:31 PST Date: Mon, 17 Nov 2003 10:21:31 -0800 (PST) From: ow Subject: Re: pg_restore and FK constraints with large dbs To: pgsql-admin@postgresql.org In-Reply-To: <20031116111958.W65813@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/314 X-Sequence-Number: 11301 --- Rudi Starcevic wrote: > I'm not trying to upset anyone just trying to help you get an answer for your > issues. Who knows what you're trying to do? You did not provide any answers and why you decided to quote the *same* email *twice* if it was sent only *once* I may never know. Anyway, that's not important. What important is that there's no way to suspend FK checks when restoring a database. Depending on the size of the database, FK checks alone may add hours or maybe even days to the time that's otherwise would be necessary to run pg_restore. People with large dbs should be aware of that. If one needs to suspend FK checks during db import one may have to consider another RDBMS ... like mySql, for example. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree