Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (VaGunTrader, Mike L, jfaliveno, Inter, Bjab, UBBSystems, SteveS), 27 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/21/12
Posts: 2
Top Posters (30 Days)
Ruben 65
SD 57
Gizmo 53
gliderdad 32
Iann128 22
Dunny 21
Steve C 20
driv 18
dbremer 16
Stan 15
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Topic Options
#237229 - 06/05/10 01:20 PM Need to make DB space
Iann128 Offline

enthusiast
Registered: 03/21/08
Posts: 224
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: 4031
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: 224
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: 4031
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
A positive note
by SteveS
09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Long thread, UBB code not parsing
by Bad Frog
02/09/12 07:47 AM
Forum Stats
10213 Members
36 Forums
33666 Topics
180902 Posts

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