我即将创建一个包含 15 亿行的 Postgres 表。该表将只有一个 TEXT 列。
该表实际上是一个黑名单。当我的软件用户保存某些数据时,会查找该表以确保他们保存的值不存在于其中。
我可以做些什么来优化 Postgres 或该表以尽可能快地“读取”?该表将仅被写入大约一年一次。
postgresql performance partitioning
partitioning ×1
performance ×1
postgresql ×1