Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Db2 的 MQT(物化查询表)上创建索引?我没有在文档中找到此信息?索引创建语法是否与普通表相同?
创建 MQT 后,您必须先刷新表,然后才能创建索引。但是,此时它与在普通表上创建索引完全相同。
您可以在 MQT 上创建的索引类型存在一些限制。例如,它不能是唯一索引。