Thread
:
vBindex
View Single Post
#
280
05-02-2002, 05:51 AM
FlyingDutchman
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Quote:
Originally posted by neuron
guess it's becouse of database size or something...
I'll see if I can test a little to find out what it is.
Becouse that ONE query takes 12 seconds, if I take away that the rest goes in 0 sec's
// edit
It's the LEFT JOIN that does it, it's a major performance hit in mysql, I'll post more info if I can find a solution.
(adding indexes will probably speed it up to about 0sec per query
)
//edit2
if you have a fairly new mysql server (connect to it and confirm that the query works) replace the LEFT JOIN with INNER JOIN, my results on a 1.4ghz tbird, big database:
INNER JOIN:
1 row in set (0.01 sec)
LEFT JOIN:
1 row in set (50.18 sec)
output is identical of course
Were you talking to me? I mean, i have no f*cking idea were you are talking about
My database should be ok, and the server has 2x 800 mhz PIII... the latest threads do show up, but the news and the poll just don't
I can't give you guys and URL, because it's in a private network...
I really need to get this hack to work
FlyingDutchman
View Public Profile
Visit FlyingDutchman's homepage!
Find all posts by FlyingDutchman
X
vBulletin 3.8.12 by vBS Debug Information
Page Generation
0.01226 seconds
Memory Usage
1,765KB
Queries Executed
11
(?)
More Information
Template Usage:
(1)
SHOWTHREAD_SHOWPOST
(1)
ad_footer_end
(1)
ad_footer_start
(1)
ad_header_end
(1)
ad_header_logo
(1)
ad_navbar_below
(1)
bbcode_quote
(1)
footer
(1)
gobutton
(1)
header
(1)
headinclude
(6)
option
(1)
post_thanks_box
(1)
post_thanks_button
(1)
post_thanks_javascript
(1)
post_thanks_navbar_search
(1)
post_thanks_postbit_info
(1)
postbit
(1)
postbit_onlinestatus
(1)
postbit_wrapper
(1)
spacer_close
(1)
spacer_open
Phrase Groups Available:
global
postbit
reputationlevel
showthread
Included Files:
./
showpost.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/
functions_bigthree.php
./includes/
class_postbit.php
./includes/
class_bbcode.php
./includes/
functions_reputation.php
./includes/
functions_post_thanks.php
Hooks Called:
init_startup
init_startup_session_setup_start
init_startup_session_setup_complete
cache_permissions
fetch_postinfo_query
fetch_postinfo
fetch_threadinfo_query
fetch_threadinfo
fetch_foruminfo
style_fetch
cache_templates
global_start
parse_templates
global_setup_complete
showpost_start
bbcode_fetch_tags
bbcode_create
postbit_factory
showpost_post
postbit_display_start
post_thanks_function_post_thanks_off_start
post_thanks_function_post_thanks_off_end
post_thanks_function_fetch_thanks_start
post_thanks_function_fetch_thanks_end
post_thanks_function_thanked_already_start
post_thanks_function_thanked_already_end
fetch_musername
postbit_imicons
bbcode_parse_start
bbcode_parse_complete_precache
bbcode_parse_complete
postbit_display_complete
post_thanks_function_can_thank_this_post_start
showpost_complete
Messages:
(unspecified) fetch_permissions(4, 0, 1,''); -> cached fperms for forum 4
returning smilies from the datastore
(unspecified) fetch_permissions(4, 0, 1,''); -> cached fperms for forum 4
(unspecified) fetch_permissions(4, 0, 1,''); -> cached fperms for forum 4
php_sapi_name(): fpm-fcgi