|
|
Joined: Jan 2007
Posts: 57
journeyman
|
journeyman
Joined: Jan 2007
Posts: 57 |
Hi, the tabel ubbt_REFERER_LOG contains 4,8 mio records and is 650mb big. Too big.. what is this table? How can I shrink it?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
That is basically a table that holds referer information (what link people clicked on to get to your forum). Since you have so many rows in there, the little pruning tool we have might timeout, but should be able to delete them after being run a few times. If it won't delete any, you might try using something like phpmyadmin, if you have access to it, to empty the table.
We need to get an auto prune setup for that for version 8.
|
|
|
|
Joined: Jan 2007
Posts: 57
journeyman
|
journeyman
Joined: Jan 2007
Posts: 57 |
Did you build something in the admin tool to view this table?
If I just empty the table via phpmyadmin (yes I have access to that), nothing gets 'broken'? No relation to other tables?
Nancy
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
Just goto the UBB control panel>>logs. Select the View Referer Logs Tab And use the Purge Entries older than option You can view and or delete them there. Delete a chunk at a time if it times out.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jan 2007
Posts: 57
journeyman
|
journeyman
Joined: Jan 2007
Posts: 57 |
Thanks, I never used or even saw that option
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
You can also turn them off if you don't use them:
CP > Primary Settings > Logging > Referer Logging > Enable Referer Logging (remove the check from the box)
|
|
|
|
Joined: Dec 2003
Posts: 6,566 Likes: 78
|
Joined: Dec 2003
Posts: 6,566 Likes: 78 |
You know I forgot that you can disable the referer logs. I prune them on a regular basis. But in this case it would be best to disable it. Unless needed on occasion. Then just turn it on for a while.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Mar 2007
Posts: 522
Addict
|
Addict
Joined: Mar 2007
Posts: 522 |
Thank you for the reminder to prune the log.
Steve
UBB.classic from 2000-2003 UBB.threads from 2003-present!
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Thank you for the reminder to prune the log. Hmm, I don't think I've ever used that function...
|
|
|
1 members (Ruben),
1,277
guests, and
207
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|