Jump to content

reducing queries


doddsey_65

Recommended Posts

on the forum im making, when viewing a post, i run several queries to get all of the data i need. Unfortunatly this means 19 queries in total(some are general queries and some just relate to the page).

 

some of these queries are simple selects, which only get 1 or 2 peices of info. my question is what is the average limit of queries per page i should go for? is 19 okay if they are small queries?

Link to comment
https://forums.phpfreaks.com/topic/240154-reducing-queries/
Share on other sites

This page just loaded with 18 queries so I would think 19 is fine.

 

At my work. We develop a custom Intranet distribution, some of the application run upward of 400 queries per page and handle. Of course, the environment is a little more controlled, but we don't yet have any problems.

Link to comment
https://forums.phpfreaks.com/topic/240154-reducing-queries/#findComment-1233581
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.