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 1mgTKD-0000uB-Fs for pgsql-general@arkaria.postgresql.org; Fri, 29 Oct 2021 14:57:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mgTKC-00071o-A8 for pgsql-general@arkaria.postgresql.org; Fri, 29 Oct 2021 14:57:44 +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 1mgTKC-00071f-0g for pgsql-general@lists.postgresql.org; Fri, 29 Oct 2021 14:57:44 +0000 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mgTK9-00040D-A9 for pgsql-general@lists.postgresql.org; Fri, 29 Oct 2021 14:57:43 +0000 Received: by mail-qv1-xf31.google.com with SMTP id v2so6458274qve.11 for ; Fri, 29 Oct 2021 07:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=TZFefBnWqNAYFbbkSa6JiwwA9x1thz1Z2J1VCw7YVfA=; b=jdxeW8O/+LX1jKvoOs/hBF8tHXKCCzYxNNEVIpXkxahNxJZkR+l8C6htDQdufM2jb/ q1R2AGhc6HIuUDy5rkzvYV2xIX28y91D5YJPt0qwuRmr10crZnafa9uIb43Me+Bp96Rh gExIkv5GchnxAjZBZ6gE4SdcvAF3rtvTIJQQLI+7OpXllD+hLU1sGzbO5twmBkNwNgTx 5MyWiR+SE5pgn6vrT1sNkCDz3k3WdXgtRkZYQePO/o2DFQCcdkzT9sbZWdd8X2kND0aT 0lDwL6zsw2yPy1ba6JNt5ls+KSLj52YhEN4JVKCLupjMzNDYMrBMb0zU0kgrUGr/i3MH 0vOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=TZFefBnWqNAYFbbkSa6JiwwA9x1thz1Z2J1VCw7YVfA=; b=IuDFB9TPxOxakXOdo31xhd/5goJf4vHLN+7WixQF2s3pk8B2p4DEBv4BTk3gU8yblK NYHYi+RuN6Eal6SMQNrEDmzs4Zc8xdLa0LZA/5XPk4DW9OGH2z5XGrqi/zUY5ZiuHp5q G4b/eEFGpPAjbhn+YKxgi8QnY/9kIS1Fh39NMDXBVV5yapl8vKH0whe5pSZWRsjdo/w9 798pBa2I04SshaMhlI5glKmjzFj25pFmBunVCKL82IIFGYVjPESF8aC1kUG+3HuFp3XU j9oNoDiKKYOQji9KsqKHhob8dvyz3AF400NRoIqGhEcMy9gIyv72qo1hBDqrpO6dnIW2 Nvig== X-Gm-Message-State: AOAM531OJ4289RwzRKRtVWvKRylGctPErQgD8qY6I3LbwF64ZYKcMLty 8nf76ItO6krdtUomaQRCXqVmG189TmQ= X-Google-Smtp-Source: ABdhPJwExOAfEUmVMhyX4oq1yJgREN+vBKzVPFSwBGb/AWR5R0kOzSc7a2ufukqdMcfr8HIJqEGDjg== X-Received: by 2002:ad4:49cd:: with SMTP id j13mr1251391qvy.20.1635519458574; Fri, 29 Oct 2021 07:57:38 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id z6sm4449210qta.31.2021.10.29.07.57.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Oct 2021 07:57:38 -0700 (PDT) Message-ID: Date: Fri, 29 Oct 2021 10:57:37 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: Incremental backup Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <20211028200853.GA1020@momjian.us> <3d5f2552-c819-c423-cb37-e190f74ea37f@gmail.com> <8492ed78-facd-649f-7daf-ab0f989633f9@gmail.com> From: Mladen Gogala In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/29/21 09:43, Peter J. Holzer wrote: > On 2021-10-29 09:03:04 -0400, Mladen Gogala wrote: >> On 10/29/21 08:49, Peter J. Holzer wrote: >>> I don't think that's equivalent. An Oracle instance is a runtime concept >>> (the collection of server processes on a single machine serving a single >>> database (the collection of files on the disk)) whereas a PostgreSQL cluster is >>> both a data and a runtime concept (config + data files for several >>> databases with some shared data + the processes serving them). Also >>> instance:database is n:1 while cluster to database is 1:n. Very >>> different. >> Peter, Oracle instance manages collection of the databases and is ensuring >> recoverabilty using redo logs, which are completely analogous to WAL logs, >> if managed a bit differently. Let's not be nitpicking here. Oracle instance >> is completely analogous to Postgres cluster. If you ask me, the word cluster >> was picked to avoid the word "instance" > I'm quoting Tom Kyte here: > > | In fact, it is true to say that an instance will mount and open at > | most a single database in its entire lifetime! > > While that article is originally from 2009, it was last changed in 2021, > and I'd trust Tom to change something as fundamental if it wasn't true > anymore. > > hp > Few days ago, in july 2013, Oracle has introduced version 12c with multi-tenant option. http://appstech.com/2013/08/oracle-announces-general-availability-of-oracle-database-12c-the-first-database-designed-for-the-cloud/ Each Oracle instance can now manage up to 255 pluggable databases which are, for all intents and purposes, equivalent to Postgres databases, if somewhat more awkward. The "unplug" and "plug in" operations leave a lot of room for improvement. That makes Oracle instance functionally equivalent to the Postgres cluster. Current Oracle version, 21c no longer supports flat architecture, without pluggable databases. -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com