Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D35C31337B4F for ; Tue, 23 Nov 2010 04:39:37 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 57256-04 for ; Tue, 23 Nov 2010 08:39:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mail.postgresql.org (Postfix) with ESMTP id 0156D1337B58 for ; Tue, 23 Nov 2010 04:39:29 -0400 (AST) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id oAN8dSVw066569; Tue, 23 Nov 2010 10:39:28 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id oAN8dSoC066568; Tue, 23 Nov 2010 10:39:28 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: "Kevin Grittner" , pgsql-admin@postgresql.org Subject: Re: FK disappeared in 8.3.3 Date: Tue, 23 Nov 2010 11:39:27 +0300 User-Agent: KMail/1.9.7 References: <201011221213.32035.achill@matrix.gatewaynet.com> <201011221757.18325.achill@matrix.gatewaynet.com> <4CEA49C80200002500037CF4@gw.wicourts.gov> In-Reply-To: <4CEA49C80200002500037CF4@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201011231039.27966.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.451 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_BRBL_LASTEXT=1.449 X-Spam-Level: X-Archive-Number: 201011/198 X-Sequence-Number: 36164 =CE=A3=CF=84=CE=B9=CF=82 Monday 22 November 2010 18:45:28 =CE=B3=CF=81=CE= =AC=CF=88=CE=B1=CF=84=CE=B5: > Achilleas Mantzios wrote: > =20 > > (imagine having to upgrade 61 installations for which you dont > > have ssh/scp ;) sounds fun right? ) > =20 > I don't have to imagine -- been there, done that. (Not with ships > but large geographical distances and needing to trudge through > secure facilities with big steel doors every so many feet.) It can > be time-consuming and tedious. But then, so can recovering a > corrupted database. What you describe is an entirely different situation. > =20 > If I were in your shoes, I'd consider arranging to have a CD-ROM > mailed to someone on each ship at its next port, with a script which > would automatically perform the update. (Heavily tested in advance, > of course.) This in unrealistic. Many things can go wrong, and in this case the vessel stays offline, which is a very very bad thing. (imagine to be hard to make a telephone call, and after hours of effort to = hear a nice Indian guy with whom you cant communicate due to different accents of English since both we are non native english speakers) btw, we use tsearch2, intarray, which require an upgrade plan by their own, if you have ever done this. In addition, i must say that we have about 290 tables in our schema. Its not the kind of DB you would simply upgrade with a CDROM. The huge improvements between 7.4.* and 8.3.* were about performance and not stability. Lack of stability is not smth PostgreSQL is famous for. So we perform the upgrade to 8.3 only when we send one of our people onboard. > =20 > Of course, none of that helps with your current issue; I would just > hate to see you pop up here in a few months with bigger problems > than this if it can be avoided. > =20 We had bigger problems than this and still survived, dont worry ;) PostgreSQL (be it 7.4.2, 7.4.19 or 8.3.3) in our 60+ vessels, is the last t= hing we have worried about over the last 10 years. Generally PostgreSQL lasts even after hardware/OS h= ave given up. Dont get me wrong, i would love to see all our systems running the latest 9= =2E0.1, and all the rest of software (jboss, java, linux) to be on their latest releases. However this is such a huge project to accomplish and our human resources a= re very limited. (i am the DBA, linux, freebsd sysadm, java j2ee programmer, architect, etc.= =2E...) Also, if there is no explicit upgrade plan (first in the office, second on = vessels), then i prefer sticking=20 to 8.3.3 on the vessels, until we commit to do a serious upgrade. I cannot start an initiative by myself, only to find later, that i just inc= reased my own time spend on managing who has what in the whole fleet. But the real pain is the lack of TCP/IP and remote shell whenever we want i= t. Anyways thanx for helping by sharing your thoughts. > -Kevin >=20 =2D-=20 Achilleas Mantzios