From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Oli Sennhauser <oli(dot)sennhauser(at)bluewin(dot)ch> |
Cc: | ow <oneway_111(at)Yahoo(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Hannu Krosing <hannu(at)tm(dot)ee>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_restore and create FK without verification check |
Date: | 2003-11-28 14:04:45 |
Message-ID: | 3FC755FD.1030309@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Oli Sennhauser wrote:
>>>> People might be more interested in debating this topic with you if we
>>>> hadn't discussed it at length just a couple months back. There wasn't
>>>> consensus then that we had to offer an escape hatch, and you've not
>>>> offered any argument that wasn't made before.
>>>
>>>
>>> I'm simply presenting a problem for which I currently do not see any
>>> solution
>>> (it's very important for us to be able to restore db within a
>>> reasonable amount
>>> of time). If there's no solution and none is planned, then we cannot
>>> use pgsql,
>>> can we?
>>
>>
>> You're simply presenting a problem that isn't there in the first
>> place. If you really feel the need to shoot yourself in the foot, use
>> separate schema and data dumps and do the latter with "-X
>> disable-triggers".
>>
>> And now will you please put it to rest?
>
> If this is not a prio 1 problem, what are then the prio one problems???
Did you read my mail or only that last sentence?
> You are a developer, right? Did you ever manage a big database in
> production? What shoul I tell to my customers when they want to have a
> not that big database (100 GB) in PostgreSQL: "I am sorry, but we are
> not able to do performant backups, I recommend you to choos ORACLE
> instead???". Is it this we/you recommend?
Among many other things I am a developer too, and I have managed
customer databases up to 1.2 TB. But I wonder what you are.
You should tell your customers that they have to dump their databases as
pg_dump -d swisscheese >swisscheese.schema.dump
pg_dump -a -X disable-triggers swisscheese >swisscheese.data.dump
This is what I recommended in my previous mail. Is that an unacceptable
solution for your customers or what is the problem?
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-11-28 16:38:31 | Re: timestamp convert function |
Previous Message | Karel Zak | 2003-11-28 13:57:43 | Re: PL/SQL packages |