Previous Thread
Next Thread
Print Thread
Hop To
#229663 10/04/2009 10:38 AM
Joined: Jan 2007
Posts: 57
F
journeyman
journeyman
F Offline
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?

femistyle #229665 10/04/2009 11:01 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #229669 10/04/2009 12:46 PM
Joined: Jan 2007
Posts: 57
F
journeyman
journeyman
F Offline
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
Ruben #229672 10/04/2009 4:18 PM
Joined: Jan 2007
Posts: 57
F
journeyman
journeyman
F Offline
Joined: Jan 2007
Posts: 57
Thanks, I never used or even saw that option blush

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
Ruben #229794 10/07/2009 9:23 PM
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!
SteveS #229800 10/07/2009 11:40 PM
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
Originally Posted by SteveS
Thank you for the reminder to prune the log.
Hmm, I don't think I've ever used that function...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 1,277 guests, and 207 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)