sql - MySQL trigger in order to cache results? -
i have query takes second execute pre-cache. post-cache fine. here's description of problem: mysql: nested set slow?
if can't solution problem, creating trigger loop through , execute possible queries table might have (i.e. if there 100 records on table, execute 100 queries) idea? way, when application execute such query, can depend on cached results.
it feels bad solution, can't afford 1 second response time query.
since using myisam table, can try preload table indexes key cache.
Comments
Post a Comment