vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   How Big Is 1 Query? (https://vborg.vbsupport.ru/showthread.php?t=93849)

Marco van Herwaarden 08-08-2005 07:47 PM

Quote:

Originally Posted by Brad
It's all trail and error

I strongly disagree with that. If you have enough information and you know what you are doing, you don't need to make errors.

Brad 08-08-2005 07:50 PM

Quote:

Originally Posted by MarcoH64
I strongly disagree with that. If you have enough information and you know what you are doing, you don't need to make errors.

Aye, but we are also far from working in a static enviroment.

Just you wait until we get some Joins vs. Sub-query threads here :D

Marco van Herwaarden 08-08-2005 08:42 PM

That still can all be calculated and designed if you know what you are doing. That is not an excuse. Just make a study of how MySQL optimizer make it's choices, then see what indexes are available, what the distribution of values is among the columns that you are using for join/where/order, the number of rows in each table, the average length of the data in these columns, etc.. You can predict pretty good if somehting is optimized or not.

Brinnie 08-08-2005 11:51 PM

Wht about the idea of having a database that's always open?

Colin F 08-09-2005 05:47 AM

Quote:

Originally Posted by Brinnie
Wht about the idea of having a database that's always open?

I think that's what persistent connections are all about, but I don't know more about it...

m0nde 08-09-2005 06:19 AM

Quote:

Originally Posted by Colin F
I think that's what persistent connections are all about, but I don't know more about it...

I don't recommend persistent connections because it'll kill your server... it did it to mine!

- Sid

Colin F 08-09-2005 06:27 AM

Quote:

Originally Posted by m0nde
I don't recommend persistent connections because it'll kill your server... it did it to mine!

- Sid

As I said, I don't know much about this feature, but I'm sure it depends on your needs and your server setup if this is an option for you.

Erwin 08-09-2005 11:52 AM

I personally don't use p-connect, but some people swear by them. Again, depends on the how busy your site is, and your hardware. With enough hardware, p-connect will speed up your site a bit. But if you want to limit connections, switch it off.


All times are GMT. The time now is 02:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01598 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete