Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
queries per page?
monsto
✭
on a base install (no plugins) how many queries can i expect to me made per page?
if there is no answer for that, where is the main db abstraction function that makes the queries? i'm pretty sure i can poke a counter in.
i'm curious cuz i want to put in vanilla forum, but my existing server setup gets pretty saturated at peak as it is and i dont watn to make it any worse.
if there is no answer for that, where is the main db abstraction function that makes the queries? i'm pretty sure i can poke a counter in.
i'm curious cuz i want to put in vanilla forum, but my existing server setup gets pretty saturated at peak as it is and i dont watn to make it any worse.
0
This discussion has been closed.
Comments
There is a cache extension out there also that would further reduce database queries.
The SQL builder is an excellent tool to reduce extension queries since it manipulates queries that normally execute anyway, to retrieve the extra data that is needed by the extension.
One of my extensions used to run a query for each comment in a thread, but I rewrote that out of it a long time ago. My Comment Links is known to bog down as it searches for a comment in a long thread, but that only happens when following one of the comment links, and will be fixed in its next version (coming when its done).
There is also a file (search for debug.php) that you can use to show you as an administrator all the queries that run on a page, so you can quickly see what extra stuff a extension may be running.
you can't have left that one out; my goodness! ;-{!P (wink, mustache,foot in [monsto's] mouth, tongue out)
Thanks
the problem is that after including the database configuration (conf/database.php, usually) it includes the appg/database.php so any custom setting in the database is lost, giving an error when trying to start the admin's session
the easiest workaround is to move the
include($Configuration["DATABASE_PATH"]);
just under theinclude($Configuration["APPLICATION_PATH"]."appg/database.php");
around line 17for the moment it seems to work this way