Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU7uB-000dld-1Q for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 16:53:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sU7u9-0039G6-4B for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 16:53:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU7u8-0039Fy-Pe for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 16:53:25 +0000 Received: from smtp113.iad3b.emailsrvr.com ([146.20.161.113]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU7u6-0003JO-Jq for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 16:53:23 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp7.relay.iad3b.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 06EFA6011F; Wed, 17 Jul 2024 12:53:20 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Semantic cache capability for Postgresql db From: Christophe Pettus In-Reply-To: Date: Wed, 17 Jul 2024 09:52:56 -0700 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <780CAA1B-35B8-4B7D-9D12-3786B2FB264D@thebuild.com> References: To: pradeep t X-Mailer: Apple Mail (2.3774.600.62) X-Classification-ID: 49c53a88-181c-4a0c-aad5-b280f98a346c-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jul 12, 2024, at 06:18, pradeep t wrote: > Shall I use the Postgresql database for a semantic cache like the = Redis semantic cache? If you mean this feature: = https://redis.io/docs/latest/integrate/redisvl/user-guide/semantic-caching= / ... there is no direct equivalent in PostgreSQL. This is something = you'd have to implement on top of PostgreSQL's existing extensions, such = as pgvector: https://github.com/pgvector/pgvector=