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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.