Will this view really run once for my presentation, and not every time I get it?
No, a non-materialized view (MySQL does not support materialized views) does not cache data - it is executed for each link.
, , , , - "SELECT * FROM v LIMIT 5"? order by ( )?
, ORDER BY .
ORDER BY . , ORDER BY , , ORDER BY . ORDER BY , , ( ORDER BY). :
CREATE VIEW your_view AS
SELECT * FROM YOUR_TABLE ORDER BY value2;
SELECT *
FROM your_view
ORDER BY value1;
... ORDER BY - , .
ORDER BY - , . Eli MySQL ALTER TABLE ... ORDER BY :
ALTER TABLE a ORDER BY value2 DESC;
... INSERT/UPDATE/DELETE.
ORDER BY , . , .