vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Welcome Panel [Final] (https://vborg.vbsupport.ru/showthread.php?t=33477)

nemesis01 04-14-2002 09:08 AM

Hey, I installed this hack a while ago and it worked perfectly.I recently upgraded to 2.2.4, had a few problems but got it working in the end.Now I have another problem with it, it used to say something like 'There have been XX of new posts since your last visit' but now that part does not show up.I have checked the index.php file and the templates and they are all fine, can anybody help?

:disappointed:

nemesis01 04-14-2002 09:19 AM

Never mind, fixed it.

Think I am going mental, need more sleep. :confused:

Airwaves 04-15-2002 07:27 AM

@Frenck

One of the queries you said to run isnt valid - you had a ' where there shouldnt be one...

here they are correct

PHP Code:

ALTER TABLE `threadADD INDEX(`lastpost`); 
ALTER TABLE `postADD INDEX(`dateline`); 


Frenck 04-15-2002 07:48 AM

[QUOTE]Originally posted by Airwaves
@Frenck

One of the queries you said to run isnt valid - you had a ' where there shouldnt be one...

here they are correct

PHP Code:

ALTER TABLE `threadADD INDEX(`lastpost`); 
ALTER TABLE `postADD INDEX(`dateline`); 


Jawelin 04-15-2002 12:35 PM

Which kind of index table size increment should generate adding those two or three index upon dates ?
And how a search on could be measured faster ?

Thnx

Frenck 04-15-2002 03:41 PM

My "post" table size before creating the index:

Data 30,022 KB
Index 3,482 KB +
=============
Total 33,504 KB


After creating the index on dateline:

Data 30,022 KB
Index 4,276 KB +
=============
Total 34,298 KB


In my case the table has grown about 2.3698663% :)

Jawelin 04-15-2002 06:05 PM

Thank you very much for these numbers. What about speed increase performances ? Are they appreciable ?
(for example on lastpost searches or today's posts)
:)

Frenck 04-15-2002 06:28 PM

If you took time to take a look @ a post of me... a little higer...

Ow well lets cut & paste...

before:

Query: SELECT count(*) AS posts FROM post WHERE dateline > '1018738585'
Time before: 0.3487149477005
Time after: 1.9500440120697

as you can see, the query needs about 1.6 seconds to complete.
(about 100.000 posts in the forum)

after:

Query: SELECT count(*) AS posts FROM post WHERE dateline > '1018738585'
Time before: 0.41155600547791
Time after: 0.41288495063782

Wel.. I really like the result... Just 0.001328 seconds for the query to complete.

I think this result is really worth the 2.3698663% growing :classic:

Jawelin 04-17-2002 11:34 AM

Very cool!
I added index on dateline fields in post, thread and user (join & lastvisit) ...
Now, with a small space occupied more, I have the fastest forumhome ever... :) :) :)

Floris 04-17-2002 11:58 AM

What is the URL to your forum? I want to have a looksy!


All times are GMT. The time now is 04:36 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.01342 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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