sql - MySQL VIEW vs. embedded query, which one is faster? -


I'm going to optimize a MySQL embedded query with a view, but I'm not sure it will give an effect : Select ID from

  (select * to);  

I want to change it:

  Choose scene vs. Choose from *; Selection ID from V;  

I've heard about "indexed views" in SQL Server, but I'm not sure about MySQL. Any help would be appreciated. Thanks!

Indexed sequences in SQL Server are commonly referred to as "physical views", which are used by MySQL does not support. MySQL support VIEW is limited compared to other vendors - ..

A normal view is just a ready SQL statement - there is no difference in using two examples provided by you. In some cases, the WHERE section can be pushed into the VIEW query by the optimizer when selecting from the view, but it is completely out of your control.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -