How expensive is the Query Loop on the DB?
-
I am planning to build a site which will probably end up with thousands of posts. At the bottom of every blog post or article, I will be using na AQL block (either specifying a particular category or to query all the categories) and using the “Random” option.
Now using the Random option and querying the entire DB might be expensive. But I am unable to find any information on this on what will be the impact. Let’s say I have 10k articles/blogposts and I use the Random sorting option in every AQL block on every post, what is the impact on the DB and on Response Times? Will a call be made to the DB every time a user accesses an article/blogpost? Can any caching mechanism be implemented to minimise DB calls yet keep the Random sorting option?
Thanks.
- You must be logged in to reply to this topic.