I have a statement that takes around 15 seconds to load, which is way too long.. I would like to see what is the best way to ‘Cache’ this data into the memory. Would I use somekind of View or Stored Procedure for this? I’m aware i can use triggers and another table, but I would like to avoid that at all costs, there is quite a bit of memory to spare.
Any suggestions?
You could check out indexed views (usually called materialized views in other RDBMS).