Vertica:如何知道 table 有哪些索引?

Vertica: how to know what indexes a table has?

假设我在名为 "my_table" 的 Vertica 数据库中有一个 table,我想 运行 一个查询,它会告诉我这个 table 上存在哪些索引。我该怎么做?

Vertica 中没有索引之类的东西。每个 table 都有投影 (Physical Schema, Working with Projections).

要查看 table 有哪些投影,运行 以下查询:

SELECT *
FROM projections
WHERE anchor_table_name = 'my_table';