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.92) (envelope-from ) id 1jFl5q-0001in-Mu for pgsql-general@arkaria.postgresql.org; Sat, 21 Mar 2020 20:51:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jFl5o-0008Su-V2 for pgsql-general@arkaria.postgresql.org; Sat, 21 Mar 2020 20:51:40 +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 1jFl5o-0008Sn-JZ for pgsql-general@lists.postgresql.org; Sat, 21 Mar 2020 20:51:40 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFl5m-0004PP-IU for pgsql-general@lists.postgresql.org; Sat, 21 Mar 2020 20:51:40 +0000 Received: by mail-io1-xd31.google.com with SMTP id y24so9993127ioa.8 for ; Sat, 21 Mar 2020 13:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=z26HKki8O5F0KvpnDACinkHTgtidlisLKB5yipF36Rk=; b=TMBwYjLknsG0FsTJ3QXoiwR+Pe0lPdngeHe0X2nAojBfPlVOSpx7I79A2ETGVgZgAb vu/vXXpy09gpClay5POEVWecsjkXak8XQO7Qt0QHqLDBpdUc3iWT0AEdyULztkTBBCBF 6XZmf/OwNpWo7r3/+ZjdEIqYndgX9/nAtY5ihitnM3KCQv51TUG+0OHuFZXd7XVQpYj9 ZuliEpF0xpvi3xqW8sBAkQJuwwwd+lNhUAlUV3LSOhQZV+TsWYbGSSHu+qOv2W9g+nkP cD55HDC3O/aeOujLJbJXXocf7pZhho0UHsA/xiaEBFztAjsoq5uKdh9Lqw65sFvQBGkv VzXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=z26HKki8O5F0KvpnDACinkHTgtidlisLKB5yipF36Rk=; b=oI1ciggCy80tzXwVojwK43pMFtTKPykZNxNeXhsZaTSam7AoIT5MYfzDS/Naf/ecY8 TUsaUxEtcFMzj5zPQ2cJ6ytGGgM5Hs2Nz35GVOn3za7jKneJCKAbx6nORCx/cEeR1QEC 1Cfm/B5MW4DhkJVECZ9AMMo65MzwlTMYrZfGv3OHwfSFReIcry2MjsjvS/doyQnrZ2Q2 akrnVmhC4jlxlujfgo/r/z8dlZd663tUzsD5QYDh/aF3NMgissHCQhIEvBgOLQW/RcUk WxoEHp+/iwaMkBD52py+itgRz9ZSVnnT6XUojPOCzYE/2Wr8tjjQrdlPXQ/YcGqrA50q x9nA== X-Gm-Message-State: ANhLgQ30JWpf1IVwKJ/adGkoAqOzixVxLzPOdBM7XB7E62ZUrTb8QNaj z3yq1whDvqs9KWcMCFhRWuXIighF X-Google-Smtp-Source: ADFU+vslcQiWXCNLJfSS69VgYdZTdZR/6KjtCOr3SnTCynjRSuctaLeWyXVSW3S/d3x+WwJiLDmogA== X-Received: by 2002:a5d:9708:: with SMTP id h8mr13124029iol.141.1584823896739; Sat, 21 Mar 2020 13:51:36 -0700 (PDT) Received: from [192.168.1.108] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id n5sm2901895iop.23.2020.03.21.13.51.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 13:51:36 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Could postgres12 support millions of sequences? (like 10 million) From: Rob Sargent In-Reply-To: <20200321191336.GB5473@hjp.at> Date: Sat, 21 Mar 2020 14:51:35 -0600 Cc: "pgsql-generallists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4830DEFF-4229-4F28-9FFB-AF8186E42CD4@gmail.com> References: <5ECC9E60-C4BF-47F2-AB6D-3782B05B438C@gmail.com> <20200321191336.GB5473@hjp.at> To: "Peter J. Holzer" X-Mailer: Apple Mail (2.3608.60.0.2.5) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 21, 2020, at 1:13 PM, Peter J. Holzer wrote: >=20 > On 2020-03-21 12:55:33 -0600, Rob Sargent wrote: >> To me the description of the ID smacks of database-in-the-name folly. = I >> recognize that OP is likely unable to take another path. I=E2=80=99ll = not push this any >> further.=20 >=20 > Identifiers often have internal structure. In Austria for example, the > social security number contains the birth date. Invoice numbers, = project > numbers or court case numbers often contain the year. >=20 > That's because they are used by *people*, and people like their > identifiers to make some kind of sense. The computer doesn't care. Since OP said this was digital not paper, I see this as a presentation = problem bleeding into database design (assuming your response was an = invitation to push further).