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 1i6f5P-0008OA-9n for pgsql-general@arkaria.postgresql.org; Sat, 07 Sep 2019 18:05:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i6f5N-0002cQ-W1 for pgsql-general@arkaria.postgresql.org; Sat, 07 Sep 2019 18:05:21 +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 1i6f5N-0002Qq-FO for pgsql-general@lists.postgresql.org; Sat, 07 Sep 2019 18:05:21 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i6f5L-0002Mc-Em for pgsql-general@postgresql.org; Sat, 07 Sep 2019 18:05:20 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 018AF483; Sat, 7 Sep 2019 14:05:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 07 Sep 2019 14:05:18 -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=I XhhjFMj9XafeMVGPixcrGRvYV6g/oZDeSdseAhh/9M=; b=IODfwE2ZIu6OtxSyG kemUvS3W4Ma5vHgCYzT7Aj8pltb10bITbms35kLGEYh4Y02tD2fvqFpP1RJPoB94 r8P5FSO+0gowPnKQwQgWOPBEukgBw6QIvC8vGoFex8M572BEAlUJMP/6HvNZWuZY LZ0Bz9rgRwomFny6kxzqzMXIbqSpF0rRc3pEjeqlTLwKy1hE5+P5Dhv/gWYPVaSB Md5f859HfuPEhcQKpVNgvuiQQFE669sqWpTUtp0z0K14dL4lifZ+78rPc8ll0NKS unj/hbaKkHTiNeaUvDw9RLwmpJKR2SbrZaRYYUO7dABj0LQ1RSFmXFE02TQlJpKE lKoEQ== 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=IXhhjFMj9XafeMVGPixcrGRvYV6g/oZDeSdseAhh/ 9M=; b=e5+bIupUg/19sTdQweeDl+6CjaVmx00yYe3CUAQZZSz+jf66kUJa4gX+6 Ejky8bkbmkwAA/XXNAT0Fba2A8BT0qRKHiZZabghU98ruKsaT62ENzZoUT0ZTjVV e6WxqFEgjVhIaVvI6MlHhJnhN6uGGafzzxfPw9+/eJZ9iVwDF/JTSXUqt3AZJg61 +8tp/4a5OO8UZiP2CNAP/ZUuToXbq695kYqIahdmSQ3eFjKRtoycK1HcbzT9eDjz 6dbeEaazoq/xE0DnLdTMt6lcJ5qZkNCqGz02KiPNJXZ6xxM0Fw9onSfN2j/Vv1ye rfRTv74xL+808ll6ck13SUev3vO/A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekuddguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphepjedurddvuddvrdduhedtrd dvtddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegr khhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id E0D5FD6005B; Sat, 7 Sep 2019 14:05:16 -0400 (EDT) Subject: Re: kind of a bag of attributes in a DB . . . To: Albretch Mueller , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: <9c4ec0b8-11a1-a696-08dc-51f2c4a78019@aklaver.com> Date: Sat, 7 Sep 2019 11:05:16 -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/7/19 5:45 AM, Albretch Mueller wrote: > Say, you get lots of data and their corresponding metadata, which in > some cases may be undefined or undeclared (left as an empty string). > Think of youtube json files or the result of the "file" command. > > I need to be able to "instantly" search that metadata and I think DBs > are best for such jobs and get some metrics out of it. Is the metadata uniform or are you dealing with a variety of different data? > > I know this is not exactly a kosher way to deal with data which can't > be represented in a nice tabular form, but I don't find the idea that > half way off either. > > What is the pattern, anti-pattern or whatever relating to such design? > > Do you know of such implementations with such data? > > lbrtchx > > > -- Adrian Klaver adrian.klaver@aklaver.com