Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (57-Vette), 51 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/09/11
Posts: 140
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#237229 - 06/05/10 01:20 PM Need to make DB space
Iann128 Offline

enthusiast
Registered: 03/21/08
Posts: 234
Loc: Austin, AR
We have a 100mb limit on out MySQL database on our host and we are over that right now. I have asked the Mods to do some house keeping, but what is in the table ubbt_IMPORT_MAP, and can it be cleaned up?

Thanks,
Ian
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#237230 - 06/05/10 01:24 PM Re: Need to make DB space [Re: Iann128]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
if you no longer do a redirect from your old style board (classic) to the new threads, then you can simply empty out that table..

DON'T delete it.. just flush the records out..

TRUNCATE TABLE ubbt_IMPORT_MAP would do the trick..

the KEY is that you no longer need to hang on to ANY of the ubb classic links..

some peeps wanna keep that around for the search engine having indexed the old links.. but nowadays, if you get indexed, those old links are gonna be less and less relavent

-- further note --

the biggest offenders in terms of space of ubbt_POSTS and ubbt_PRIVATE_MESSAGE_POSTS

so you'd see the quickest impact, by pruning older topics..

also you can limit the number of PMs users can keep around.. since the advent of Email PM to self, there is less of an overriding reason to make your UBB.threads board have to save the messages.. peeps can email them to themselves for safekeeping, put them in nice folders by category or whatever in their email client, then delete from your board..

:2c:
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#237231 - 06/05/10 01:46 PM Re: Need to make DB space [Re: SD]
Iann128 Offline

enthusiast
Registered: 03/21/08
Posts: 234
Loc: Austin, AR
Thanks! That helps. I am doing some testing on my testing instance today to see if I can clean it up a little. I assume I have to turn on Can email posts to others at the site level for it to work on PM's? We have it turned off for normal users right now...
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
#237232 - 06/05/10 02:05 PM Re: Need to make DB space [Re: Iann128]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
yes smile

Sql Query:
SELECT COUNT(*) as PMs, u.USER_DISPLAY_NAME as PM_Hog
	FROM
	 ubbt_PRIVATE_MESSAGE_USERS pmu, ubbt_PRIVATE_MESSAGE_TOPICS pmt, ubbt_USERS u
	WHERE pmu.TOPIC_ID=pmt.TOPIC_ID
	AND pmu.USER_ID=u.USER_ID
	GROUP BY pmu.USER_ID HAVING PMs>40
	ORDER BY PMs DESC


that query, when used in your admin cpanel, database tools, sql command will show you who the PM hogs are too..

note "PMs>40" you can change that number 40 to something more meaningful to your forum PM limits wink

:2c:
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image