我使用的是 PG 9.5,我有一个表 Visitor(id, data::json)
例子:
Visitor(id: 1, data: {name: 'Jack', age: 33, is_user: true })
我想执行类似的查询
数据列内的键是用户指定的,因此是动态的。
在这种情况下哪个索引最有意义?
postgresql index json postgresql-9.5
index ×1
json ×1
postgresql ×1
postgresql-9.5 ×1