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 1i89ol-0008Fi-OC for pgsql-general@arkaria.postgresql.org; Wed, 11 Sep 2019 21:06:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i89ok-0001UV-LA for pgsql-general@arkaria.postgresql.org; Wed, 11 Sep 2019 21:06:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i89oi-0001M7-Kq for pgsql-general@lists.postgresql.org; Wed, 11 Sep 2019 21:06:22 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i89of-0004zV-Ls for pgsql-general@postgresql.org; Wed, 11 Sep 2019 21:06:19 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7A2B22251F; Wed, 11 Sep 2019 17:06:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 11 Sep 2019 17:06:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=4 MlJ0HZneGF9POJknD93Pi4ThYxHUe36XYZki/BI0D8=; b=XSDdi2f/hxx/v9S1k ii56vaK+9La9tZZgCBXIy6TA22mZpsuK3s3k5tYNeoneb+dy9k4mZpvdLoL4d9zA +dILeWJxUoDpChqpqDWecMeI4Y1W4ZADmaGDyoeZbrdzqJgq2q7ReRmasFqqjjNJ 8G3BDOA4KZxXmL5H/z8m0POrtJe26+IsQaXJDpRgz51MW9y7RYgHJb46aZiUjlaD GmmDU5anmCjEqBbq3/j/zcOAzdXtnlQPPsk9huNGX5HGtL/MYWAbVu8OCb5oKyI8 pMEcP+5HepASuUAoLE3UyAW4/H7qpeZnYx9RoiAL4ZGkW2cD/HDG561zxk4BY6OQ abTBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=4MlJ0HZneGF9POJknD93Pi4ThYxHUe36XYZki/BI0 D8=; b=HMhE5J/4mmfITS+zefOiecVVp7LoArKCkmU3qcZIPxHdIFgS0r+I84EI/ qNmzUTwdcVcLPFutjuHDYjPT/AaECr/b+7L++FA9Te+RXscyJUj7U0JgCLMgkHnx tprNHStchqcr4vwDt+FRNotZwHwz5mK1/3+XuyBWlDbyr1OhkManHGAbDThpwchE adiif69f7rMaUfEY+mbr3uNKPnWNIgqq8XkYGu8zFIoj14yaKr1X+xutw2OAJyJe bIWLTtx2YxfBmJ/YPE9H4w/ugmFPZwgY7VGGmU4spEWYLnB6RxRNGKWgs3D5JOVz dsJf2knBbmqq0f9Uc5c7SbihZFClw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrtdefgddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppedujeegrddvuddruddvledrud ejheenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.3] (174-21-129-175.tukw.qwest.net [174.21.129.175]) by mail.messagingengine.com (Postfix) with ESMTPA id C58C4D60062; Wed, 11 Sep 2019 17:06:15 -0400 (EDT) Subject: Re: kind of a bag of attributes in a DB . . . To: Albretch Mueller Cc: "pgsql-general@postgresql.org" References: <9c4ec0b8-11a1-a696-08dc-51f2c4a78019@aklaver.com> From: Adrian Klaver Message-ID: <6d60652c-5d00-caed-bda9-663f354feb51@aklaver.com> Date: Wed, 11 Sep 2019 14:06:14 -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: 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 9/11/19 9:46 AM, Albretch Mueller wrote: > On 9/10/19, Adrian Klaver wrote: >> If there is no rhyme or reason to the metadata I am not sure how you >> could come up with an efficient search strategy. Seems it would be a >> brute search over everything. > > Not exactly. Say some things have colours but now weight. You could > still Group them as being "weighty" and then tell about how heavy they > are, with the colorful ones you could specify the colours and then see > if there is some correlation between weights and colours ... It would help to see some sample data, otherwise any answer would be pure speculation. > > lbrtchx > -- Adrian Klaver adrian.klaver@aklaver.com