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 1q7lS8-0007dK-1V for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2023 23:23:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q7lS6-0006L5-Rk for pgsql-general@arkaria.postgresql.org; Fri, 09 Jun 2023 23:23:30 +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 1q7lS5-0006Jd-IX for pgsql-general@lists.postgresql.org; Fri, 09 Jun 2023 23:23:30 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7lS1-001Iqm-0C for pgsql-general@lists.postgresql.org; Fri, 09 Jun 2023 23:23:29 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 871985C00FB; Fri, 9 Jun 2023 19:23:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 09 Jun 2023 19:23:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1686353002; x=1686439402; bh=cDyuxUXR6Qb2WsrDonInS1BuvreiwRVpvXA 9Tv7Y0U8=; b=MpuWbEKNqIcbeZg5PbWE0usWnN0ZgAeU8UZmEbDQtmc6layBzae MFmqO3+WyJMm8AS0slwb2N9iZ5mml2hQNZFGmyW9IBJSe/o/pU7KAFqk+MrEphkh v7n5GP+GxAJrnfJt17KR5nCfr9N+vTOTxyXt9m/HWKOwKtAQ8z+rjNpH4hgn/edo iNzO/P96TA361TqrmIRKfk43Exj4PlFFCAFxilRZpsSFgNrGlpNHaKx7D+LWM2Hz 4UAcvoNeHxXyuV0sD77ytMB555rqa0E2VTQuriiyye+jViBRLdxLDVVPkPFDtKc0 ScPlR2TKTWbsSNXh+wm2LMpMqwwmnltGPCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1686353002; x=1686439402; bh=cDyuxUXR6Qb2WsrDonInS1BuvreiwRVpvXA 9Tv7Y0U8=; b=A+bafzrcmtc7uwjP7FY4p0dGm2j8/I3DpWc6EyYASVljGFXWR6R 0eBbuYgBKXBfzTkK4/9lQkFiBCiAFAhgy8Ak53T+rK5iF6id704+nxtIp5BWF0Ep 7R7RJgvj7lUTAgB5r4ko2dmgLpowcRvNbbSmMa7fRBClSTdZZkN1hbm58eTiL8la 4Obe9Fi7oDthVpFCeEJq5Kg9iem+ggVVCJRN+cV6OGTqI21mcr6W1TWoUgAfdp+9 qkJzUVppkFybjdsYvSfYbJfJjHJXzhUqELYkvyUf5Cl2Uupk4C66k1w17czd8EHf B5Ima1u3vQnLOvOZGSXNMEMWXzPqomyP+NQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtledgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepkfffgggfuffvvehfhfgj tgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurh hirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhep vddvgedvhfehfeffffeuuedvffekvddtheejleetudelveehhffhleeivdffudfgnecuff homhgrihhnpehphigurghtrgdrohhrghdpughutghkuggsrdhorhhgpdhgihhthhhusgdr ihhonecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg gurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Jun 2023 19:23:21 -0400 (EDT) Message-ID: Date: Fri, 9 Jun 2023 16:23:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: Question about where to deploy the business logics for data processing To: Nim Li , Lorusso Domenico Cc: pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/9/23 11:36, Nim Li wrote: > Hello, > > Thank you so so much for all the feedback so far.  :D > > About this comment: > > > "... an application that requires changing the data model does not > seem to be well designed...don't allow model change by the business > logic..." > > I work in a science research faculity.  When researchers start a > project, they don't necessary get the full picture of what they are > hoping to achive (yet they may get some ideas about the starting point > that allow them to move forward)  By the time they see 40% percent of > what they have done, they may start to have a different thought and move > towards a different direction, or in some cases, they may spin it off to > something different after a certain period of time  Coming with my Agile > Development mindset in the research area, it is common for me to see > users changing their requirement and expectation, with the same buckets > for the data.  Yes, there is quite a lot of work to keep the researchers > happy.  ;-) > > I suppose when there is a specific end-goal to achive for a project, a > more specific design can be more feasible based on the goal.  But when > the end-goal is not necessary clear, and/or change-able, I am not > exactly clear how we may draw a black-and-white line to determine a > design is good or not (.. and for how long...) > Seems to me you are looking for a two part set up: 1) A experiment play ground where ideas and processes can be tested out in a more free form manner. Some example software I have used or experimented with that can fill that role: Pandas https://pandas.pydata.org/ Duckdb https://duckdb.org/ Polars https://pola-rs.github.io/polars-book/ 2) Once something that resembles a solid plan has been developed then move to Postgres or not. -- Adrian Klaver adrian.klaver@aklaver.com