Is it possible to have an indexed view in MySQL?

后端 未结 4 892
谎友^
谎友^ 2020-11-27 21:08

I found a posting on the MySQL forums from 2005, but nothing more recent than that. Based on that, it\'s not possible. But a lot can change in 3-4 years.

What I\'m l

4条回答
  •  一整个雨季
    2020-11-27 21:26

    Flexviews supports materialized views in MySQL by tracking changes to underlying tables and updating the table which functions as a materialized view. This approach means that SQL supported by the view is a bit restricted (as the change logging routines have to figure out which tables it should track for changes), but as far as I know this is the closest you can get to materialized views in MySQL.

提交回复
热议问题