Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ho7pK-0007s8-OI for pgsql-general@arkaria.postgresql.org; Thu, 18 Jul 2019 14:56:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ho7pJ-0006K1-IK for pgsql-general@arkaria.postgresql.org; Thu, 18 Jul 2019 14:56:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ho7pJ-0006IG-6V for pgsql-general@lists.postgresql.org; Thu, 18 Jul 2019 14:56:09 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ho7pC-0007Mq-8X for pgsql-general@lists.postgresql.org; Thu, 18 Jul 2019 14:56:08 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A19E8502; Thu, 18 Jul 2019 10:55:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 18 Jul 2019 10:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=h guqjHKvW7x6kGm65TiYRmgBQVNe/F/2OCwROx9aigU=; b=rJjOAJjIqvIHo4MSC G1urWeYAqRm0oobqSChCyJlrGW5QtqRwnq2Ylzn30uOmV/QfrajZyf7kpGs/zW5+ UvlGfnnGvpol9g2abW61S+MaWZajHXXEIiMqMleHfLwG8Vu4lZY+C6mTCowwmZal /zJkqZBow+9J6RWhTQaNftVirZ4/6dV3MAxwsf4psKTn3JNsRx34MwzGs2a5zrRQ a3rn/03cbQ7So5h+wdtPbtxUazR1PptCRjr74KwEZ9nsadrX7EXtispwOcpBERVK 6fiiTuISJ2mHlLDHkEKwMWoRkNQc/OtEzw0B3p1VGXavHVWilxSjrkQf5l7z3wBL 1XIew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=hguqjHKvW7x6kGm65TiYRmgBQVNe/F/2OCwROx9ai gU=; b=S2RIisQx+Bm2w+f/9mPFI6jUwhmnG69eXNX9nj/3U3W9hoVvpjtVZS5in 61isXXLYyXYNkot0bfRm2UMQ24d3NzJqyrBgS/2HqNXcqOCcHHfovBxh+rh+kIfv uoWHfB7bfS8mbs9TPicdn3BgTlQemWlQIaddmg8iJ1ATORIEWH1XfE1ROjQYtVyj CSpZ+3eflVJUUfwMBvdfNZ91PVyImM4JfM/nSXL1qNHZhoZNx3Vp8Dcaavz7PQ6B 5A+rnXSJ6B56VMjD+qcTxLfF1ypmHy31ibYysL1hzf3HFpgSx0pHemOh6s9psYYg y1rMZ0CG0yfPzs2rhU4PMh9d1kG/Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrieehgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpeihuhhgrggshihtvgdrtghomhenucfkphepjedurddvuddvrddu hedtrddvtddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id D958238008E; Thu, 18 Jul 2019 10:55:57 -0400 (EDT) Subject: Re: PostgreSQL as a Service To: Dirk Riehle , pgsql-general@lists.postgresql.org References: <815adfb1-4769-d668-e51c-2733bedac990@riehle.org> From: Adrian Klaver Message-ID: <2c0e5f66-e3b6-c955-c0d0-2139b8ec8e00@aklaver.com> Date: Thu, 18 Jul 2019 07:55:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <815adfb1-4769-d668-e51c-2733bedac990@riehle.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/18/19 7:23 AM, Dirk Riehle wrote: > Hello everyone! > > tl;dr: How well is PostgreSQL positioned to serve as the database of > choice for a DBaaS operator? Specifically, how much open source is (may > be) missing? > > ---- > > Im un-lurking hoping to learn more about PostgreSQL in DBaaS land. > > You may have seen this announcement. > > https://blog.yugabyte.com/why-we-changed-yugabyte-db-licensing-to-100-open-source/ > > > YugaByte bills itself as a PostgreSQL compatible database (yay to at > least the intent) but most importantly, it decided to single-license its > database under a permissive license, including "the enterprise features" > that frequently are held back by single-vendor open source firms who > want to earn a RoI for their VC investment. > > The interesting part (and why I'm posting it here) is the following > staging of functionality implied in that post. > > 1. Core database (permissively licensed) > 2. Enterprise features (permissively licensed) > 3. DBaaS features (trial license, commercial, no open source) > 4. Managed by YugaByte (commercial) > > Point 3. suggests that they want to make money from self-managed DBaaS, > but in the post they also write they really only expect significant > income from 4, i.e. YugaByte (the database) managed by YugaByte (the > company). > > Where is PostgreSQL in relation to this? > > 1. PostgreSQL itself is certainly 1 above, the core database. > > 2. PostgreSQL permissive license allows commercial offerings to build > and not share enterprise features (and I'm sure some companies are > holding back). However, PostgreSQL is true community open source so > whatever enterprise features become relevant, they'll eventually be > commoditized and out in the open. Is there a lot that is missing? And > that some companies have but are not contributing? > > 3. So, PostgreSQL as-a-service. There are several companies (plenty?) > who service PostgreSQL. I wonder how this is being shared back? I don't > have a clear picture here, my impression is that the software to run > these potentially large farms is proprietary? Or, that operators would > argue, this is all configuration and shell scripts and not really > shareable open source? > > One aspect related to as-a-service is scaling out, i.e. not just having > many small customers, but also serving large customers in the cloud. I > looked around for scaling out solutions. There used to be CitusData (not > any longer it seems), there is PostgresXL which seems to be moving > slowly. Is that it? > > 4. Managed DBaaS is not relevant here but always a commercial offering. > > So, back to my main question above. If I wanted to run a DBaaS shop with > only PostgreSQL open source, how far away from being able to compete > with AWS or Azure (or YugaByte for that matter) would I be? The difference in resources available. The pull of DBaaS as I see it is the being able to spin up db's as needed on a scale needed from one or more locations. All with a unified management fronted/API. Being competitive means being able to match that. > > Thanks for any thoughts and opinions! Dirk > -- Adrian Klaver adrian.klaver@aklaver.com