The Naked Scientists

The Naked Scientists Forum

Author Topic: What does this mean?  (Read 3188 times)

Offline Chemistry4me

  • Neilep Level Member
  • ******
  • Posts: 7709
    • View Profile
What does this mean?
« on: 26/01/2009 07:07:43 »
They are at the bottom of every page:

For example:



What do they mean?


 

Offline MonikaS

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
What does this mean?
« Reply #1 on: 26/01/2009 09:13:18 »
It tells you how much time the server took to generate the page you're looking at. All the information is stored in a database, which has to be queried to get the information out.

This is basically debugging information, when it takes too long for the server to make the page, you'll have to add more hardware.
 

Offline Chemistry4me

  • Neilep Level Member
  • ******
  • Posts: 7709
    • View Profile
What does this mean?
« Reply #2 on: 26/01/2009 09:15:25 »
What is a query?
All the information is stored in a database, which has to be queried to get the information out.
 

Offline MonikaS

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
What does this mean?
« Reply #3 on: 26/01/2009 09:38:58 »
A query is a precise request for information from a database.
 

Offline Chemistry4me

  • Neilep Level Member
  • ******
  • Posts: 7709
    • View Profile
What does this mean?
« Reply #4 on: 26/01/2009 09:41:58 »
Is it better if you have more or less queries? Or does that have nothing to do with anything?
 

Offline MonikaS

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
What does this mean?
« Reply #5 on: 26/01/2009 10:25:04 »
The information has to be retrieved, so the number of queries isn't relevant. The time it took to get the information and generate the page is more important.
 

Offline Chemistry4me

  • Neilep Level Member
  • ******
  • Posts: 7709
    • View Profile
What does this mean?
« Reply #6 on: 26/01/2009 10:29:50 »
So does more queries = more information??????????
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
What does this mean?
« Reply #7 on: 26/01/2009 11:50:46 »
More queries generally means more different types of information.

This page, that you're looking at now, contains a number of different elements.  For example, at the top right-hand corner will be a little message saying something like:

Hey, [your userID],
you have x messages,
y are new.
2009-01-26, 11:29:17

The number of messages that you have, and the number of those that are unread will be retrieved from the database by a query, or possibly by two separate queries.

Then the body of the page itself contains the posts/responses that people have made in the thread and these responses are also retrieved from the database by a query.  And then, on the left-hand side of each post is some info about the person who made the post, such as their user level and the total number of posts that they have made in the forum, and once again, this information is retrieved by yet further queries.

The actual number of queries required to get all the information displayed on the page will depend on what information is to be displayed how the database holding that information is designed/organised.
 

Offline nicephotog

  • Sr. Member
  • ****
  • Posts: 387
  • Thanked: 7 times
  • H h H h H h H h H h
    • View Profile
    • Freeware Downloads
What does this mean?
« Reply #8 on: 27/01/2009 07:00:35 »
More queries probably means "more parts of a page" in a page creation context.
Whether it retrieves page capsule parts and data to wrap is irrelevent.
For much its the servers "current(concurrent) process threads"  and "quantity of processing" that will make the major difference.
 

The Naked Scientists Forum

What does this mean?
« Reply #8 on: 27/01/2009 07:00:35 »

 

SMF 2.0.10 | SMF © 2015, Simple Machines
SMFAds for Free Forums