Welcome, Guest. Please Login or Register.
November 15, 2024, 11:57:21 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  optimize database « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: optimize database  (Read 1152 times)
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
optimize database
« on: March 05, 2003, 07:28:43 PM »
Reply with quote

If I dont optimize database at least twice a day, my board becomes so slow it is crawling

and when it has finished (normally takes an age to get it to finish, sometimes times out) it comes up with

"Your database contains 25 table(s)
Attempting to optimize your database...
optimize: yabbse_log_clicks .... 0.391 kb optimized.
optimize: yabbse_log_online .... 0.015 kb optimized.

2 table(s) optimized.
"

and thats it!!

but after that the board is as fast as a clean install..

what gives??? any ideas??
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:optimize database
« Reply #1 on: March 06, 2003, 12:38:43 AM »
Reply with quote

Use my patented ClickLog remover mod, found here: ;)

Quote from: [Unknown] on February 24, 2003, 03:47:54 AM
<edit file>
index.php
</edit file>

<search for>
/* ### Log this click ### */
ClickLog();
</search for>

<replace>
/* ### Do not log this click ### */
//ClickLog();
</replace>


Wow that was hard :P.

-[Unknown]

Most likely this will solve all of your problems.

-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:optimize database
« Reply #2 on: March 06, 2003, 07:03:48 AM »
Reply with quote

and that will remove my forum access logs??

or remove something else??

I ahave the loggign set to 1440 minutes at the moment, should I revert back to 60 minutes?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:optimize database
« Reply #3 on: March 06, 2003, 07:27:56 AM »
Reply with quote

That little mod there will stop your board from doing much with log_clicks.

That table is one of the most annoying, as it has problems and causes slowdowns ALL THE TIME!

Which, ;), is exactly why it's been removed in my secret project.  (actually, it's one of the 'features' I expect to be a little less than popular... people hate losing functionality.)

-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:optimize database
« Reply #4 on: March 06, 2003, 08:04:41 AM »
Reply with quote

if you need a tester for that there project let me know ;)

so what will I loose by doing the above mod??

the log clicks?, ok, they can go

the refferring pages? ok, I get that from my server

the board stats?? hmmmmmm

Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:optimize database
« Reply #5 on: March 06, 2003, 08:17:31 AM »
Reply with quote

Quote from: Egg on March 06, 2003, 08:04:41 AM
the board stats?? hmmmmmm

No, you won't lose that one.

-[Unknown]
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:optimize database
« Reply #6 on: March 06, 2003, 10:18:55 AM »
Reply with quote

unknown is right!

the click_log table has often "memory overhang" or is even "locked"

this was the reason for manju and me to integrade the optimizer...

unknown´s fix will help you a lot!

mediman
Logged

mainComm Dev Team
Dr_Michael
Sr. Member
****
Posts: 317


Hellenic web

WWW
Re:optimize database
« Reply #7 on: March 06, 2003, 02:08:32 PM »
Reply with quote

Quote from: [Unknown] on March 06, 2003, 07:27:56 AM
That little mod there will stop your board from doing much with log_clicks.

That table is one of the most annoying, as it has problems and causes slowdowns ALL THE TIME!

Which, ;), is exactly why it's been removed in my secret project.  (actually, it's one of the 'features' I expect to be a little less than popular... people hate losing functionality.)

-[Unknown]

Uknown, thank you for your "mod".  ::)
I just did it. Should I also empty the table click_logs? Or it doesnt matter?
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:optimize database
« Reply #8 on: March 06, 2003, 03:08:52 PM »
Reply with quote

Probably doesn't matter, but you minus well...

-[Unknown]
Logged
Dr_Michael
Sr. Member
****
Posts: 317


Hellenic web

WWW
Re:optimize database
« Reply #9 on: March 06, 2003, 03:49:28 PM »
Reply with quote

It doesnt show the Referring Pages anymore?  :'( :o
Logged

Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:optimize database
« Reply #10 on: March 06, 2003, 04:24:41 PM »
Reply with quote

didnt work I'm afraid.

did it this morning, members still getting 7sec+ page load times  ???
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:optimize database
« Reply #11 on: March 06, 2003, 04:40:04 PM »
Reply with quote

URL to your forum?
Logged

Dr_Michael
Sr. Member
****
Posts: 317


Hellenic web

WWW
Re:optimize database
« Reply #12 on: March 06, 2003, 05:47:15 PM »
Reply with quote

Referring Pages are very important for me so I prefer a little slower than losing those referrals details.  :-\
I just enabled click logs again.
Logged

Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:optimize database
« Reply #13 on: March 06, 2003, 07:07:50 PM »
Reply with quote

http://www.200mph.org.uk
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:optimize database
« Reply #14 on: March 06, 2003, 09:33:11 PM »
Reply with quote

Quote from: Dr_Michael on March 06, 2003, 03:49:28 PM
It doesnt show the Referring Pages anymore?  :'( :o

That's the function of ClickLog, if u disable it, the "View forum access log" will be useless
other alternatives is to use something like this: http://www.nedstat.com/EN
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] 2 3 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  optimize database « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.048 seconds with 20 queries.