Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfHKt-0003QO-QU for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 06:20:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jfHKr-0005GW-9W for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 06:20:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfHKq-0005Ei-VL for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 06:20:41 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jfHKm-0001xq-K3 for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 06:20:37 +0000 Received: by mail-ed1-x544.google.com with SMTP id g1so3961090edv.6 for ; Sat, 30 May 2020 23:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=nfDVNVZ+ixbVD9tK86cF8S8+b49xMTaPfX5tfUMIaFE=; b=W7FpRisxqevy51WrtgDpSMEUzKxSm1FMiH91MF6Rnm1SLZUHXfsVfnMS0TlcWk4xzg fNJD6qwhQrtMSDAInVhlAaPNZ0YvH7HYcAT85dIsqTa8FYmon1gvuIH+sYMXkXscCznT c5LaW6SATtEQBMUxyzi6lH1Apx1XOm5j83pS8pfB1lMlyE3kLAAx/yKXMKnsfbkoBOuF Cqd/tfj2XqezLDxDYb53YB45DY/7CckrFClGvFpP4kSB50BUWBKQ0JFL40SOTpSeu7MJ doKvONjxeAFv7tm239UZo0x8/9Qijr9Y2r/tGFGUDYj+NDV8k7Uun3P+9pGbrUWfLpM9 BIUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=nfDVNVZ+ixbVD9tK86cF8S8+b49xMTaPfX5tfUMIaFE=; b=f1hCzCHaoCwrqX9jzAp3IwMusT3NBlVg2L2w85jVxQAW1SPjg425buOCedQ6yV3iRo Q12VQwmixW9wnZXMUdqZQaiC0WZfh3tFCHfpHcxUQi3QTI9cZQIasPPiQw0fTJXfLeOw NXb8525xyUch735vjfJ35gUu0cgH5CbvyTkwBP2kwRLCT9o3bF6drFhYWBhQhQTyl+lX EGiO9dL9N1uK52vT34y/PQIWSjHMfHgc1lQwWnwsUntDrLOADHRRMjkoHfzzuyHn75uq oP6c7aAkcfZKIYZzBZWURzhniEN6a8JgWwiSP4mhAWGHvKJDuRuu8rLiIdkuPaESco0e N9nQ== X-Gm-Message-State: AOAM531NveETEdtw4UpF82roCh43qBxgBZbgagoF2J+m1pkrHLZA3yWT 09hslskkWnWQmE0gJnnngpw= X-Google-Smtp-Source: ABdhPJyFFW+90vCGoZsFmbaVHW3x1QCDtZ8BY8GldKnwe1TkzCeyIKlug3Ho5ZF7XtoAofDuPMMQRg== X-Received: by 2002:a50:e60b:: with SMTP id y11mr753614edm.323.1590906034945; Sat, 30 May 2020 23:20:34 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id dc8sm88130edb.10.2020.05.30.23.20.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 May 2020 23:20:34 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Oracle vs. PostgreSQL - a comment From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <87d06lnn05.fsf@gmail.com> Date: Sun, 31 May 2020 08:20:33 +0200 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <24F7752C-AA89-4EC8-B142-DAD6F6E92048@gmail.com> References: <0959C81A-5B07-4D04-A6B1-57AA78A9A553@gmail.com> <87d06lnn05.fsf@gmail.com> To: Tim Cross X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Tim, > On 30. May, 2020, at 23:14, Tim Cross wrote: > I didn't encounter the bugs you seem to have unless I wondered off = into their 'add-ons'. use Oracle Text for example and you'll sooner or later run into severe = bugs. My current favorite is ORA-20084 which bugs me for almost a year = now. Text index corruption is really painful and Oracle does not feel = inclined to fix it. > Sticking with the base RDBMS, I found it to be pretty solid and = reliable. yes, but who does that? We have loads of third party applications which = do all the stuff we (DBAs) don't want them to do. > The oracle installation process is horrible. that's why I scripted the whole create database thing, including PDBs, = and their parameters, file paths, etc. For example, my script to create = a container database is 782 lines long, whereas PostgreSQL just needs an = "initdb". And my script to create a PDB still has 277 lines whereas in = PostgreSQL, you can do it with a simple "create database" line. Even moving a database to another path is a nightmare as you'd have to = create new controlfiles, etc. With PostgreSQL you just change the PGDATA = variable after moving/copying the whole database cluster and that's it. = Well, if you copy it and want to run both at the same time, you still = have to change the port in postgresql.conf of course. Installing database software and creating a database is pretty easy = compared to other Oracle stuff. Did you ever install an Oracle = Enterprise Manager or Oracle Universal Directory? Don't! That's when the = pain really starts. > Worse still, some of those bugs have been there for 20 years and are = just > 'known' issues experienced DBAs deal with. Their documentation site is > also horrible. sic! :-) > The way they handle indexes and updates is also much faster than = postgres and you have to worry less about the structure of your queries = with respect to performance. and then, some day, a developer approaches a DBA with a query which is = generated and, if printed out in a 11pt. sized font, can fill a = billboard on a street, to optimize it or search for what's wrong with = it, or why it performs so slow... That's usually when I play BOFH = because I'm not willing to debug 10 pages which its creator hasn't even = cared to take a look at first. :-P :-) Same goes for the app guys sending me 10 MB of Java stack trace by email = containing one single line of ORA-xxxxx. They should send only that line = along with a (approximate) time when it occurred. If I get the full = stack trace, I send it back to them telling them they should come back = when they find the line containing the ORA message. They usually don't = come back because they don't know how to grep. :-) Some do, though, and = those are the ones I try to help. > If I'm in an environment where someone else is responsible for all the = DBA stuff, Oracle is nice to work with. yes, leave the cardiac arrest to us DBAs. :-P > apart from this, Oracle licensing is an absolute nightmare. Apart from > the expense, the complexity is unbelievable and it is almost = impossible > to know with any certainty what you will be paying in 12, 24 or more > months. that's why we are migrating more and more to PostgreSQL and why I came = in touch with PostgreSQL at all. There will be some applications which = are bound to Oracle and which we never get rid of but we move as many = applications to PostgreSQL as is possible to reduce license costs. And = it already has payed out! Cheers, Paul