Previous Thread
Next Thread
Print Thread
Hop To
#183772 05/03/2007 7:02 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
We've just today noticed that the size of our new database is a lot bigger than before we imported it. Before import it was 42 megabytes, and now it's over 70 megs (after optimization).

After 50 megs, our provider charges us by the meg, and given that we're a non-profit website, this is rather concerning. The main jump has been in the size of the index.

Has anyone else noticed this? Any suggestions?

BTW - On a more positive note, the forum really flies now!! smile

Rose #183774 05/03/2007 7:06 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
This is totally normal behavior; posts are stored in the database twice, once as it was posted pre-parsed, and again as parsed.

Also, if your host charges at 50mb, I highy recommend you move (it's absurd to charge, let alone at 50mb, 500mb would be one thing)


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
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!
Gizmo #183778 05/03/2007 7:14 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Thanks Gizmo .. we didn't know if it was normal or not. So does that mean that the double-storage only applies to posts that were imported, or new ones too?

And yeah .. we'll have to figure something out about the provider database charges.

Rose #183779 05/03/2007 7:17 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Originally Posted by rmjorg
Thanks Gizmo .. we didn't know if it was normal or not. So does that mean that the double-storage only applies to posts that were imported, or new ones too?
all

yeh, charging by the meg for over 50meg is insane; there are "modern" webhosts which don't have an overage charge, and don't limit your MySQL size...

Curious who your host is now lol


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
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!
Gizmo #183783 05/03/2007 8:04 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Tell them that your considering leaving as there are a million other hosts that don't charge.

See it they change there mind, and then you dont have to move,
but if you do i'm sure we can chip in and help you move.

With the new features with threads,
uploads, a gallery and who knows what else,
being charged for + 50mb is as Gizmo says Crazy.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #183787 05/03/2007 8:57 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
If your community is large enough, I'd recommend a VPS, else there are millions of "shared webhosts" that don't charge for MySQL space


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
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!
Gizmo #183788 05/03/2007 9:02 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I looked at your webhosts prices, they are insane... $35 for 250mb space/3gb bw is insane... i've seen reputable hosts at more space for a fifth of the price... heck, a VPS for 15gb space*300gb bandwidth costs about the same as you're paying for what is likely oversold reseller space


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
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!
Gizmo #183791 05/04/2007 12:13 AM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Hey guys, thanks for your comments. I didn't realize that we were getting such a bum deal. We've been with them for a couple of years, and not once has there been any down-time, and they are excellent with their maintenance services.

However, like I said - we are a non-profit website, and we rely on donations to cover the costs, and even then we usually always pay some out of pocket.

The database size thing has nearly become out of control. We're finding we're stripping posts at an accelerated rate, just to keep below 50 megs. Gizmo, thanks for your recommendation. We're going to look into that host.

One last thing - and this is just out of interest. We were wondering why the double-up of post bodies? What are each of them used for? And are both of them needed at all times?

Even if we do go with another host, we've got problems in the meantime.

Thanks. smile

Rose #183793 05/04/2007 12:37 AM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I don't recall Rick's reasoning, I think it was to save time in parsing encoding; I'm sure theres a few topics on it via the search.

Myself on my scripts I create I store bbcode and parse the output through a php function but I think Rick referenced a lot of overhead when doing such for forums with as much data that's stored and retrieved


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
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!
Gizmo #183798 05/04/2007 11:11 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The double storage is basically so we can offer more complex ubbcode. For example, the php markup. There is no way we could "uncode" that and end up with what the user typed in exactly.

Rick #183825 05/04/2007 5:44 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Originally Posted by Rick
The double storage is basically so we can offer more complex ubbcode. For example, the php markup. There is no way we could "uncode" that and end up with what the user typed in exactly.
Why not store the UBBCode in the database then parse it out when it's called?


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
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!
Gizmo #183835 05/04/2007 6:30 PM
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by Gizmo
Why not store the UBBCode in the database then parse it out when it's called?

Putting a post into the database happens once. Getting it out of the database happens about a three hundred billion gazillion times smile

I love the new way, it allows for lots of custom ubb code without loosing any performance. And all at the little cost of a little diskspace on your database server.


[Linked Image from siemons.org]
Yarp #183836 05/04/2007 6:42 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Quote
Putting a post into the database happens once. Getting it out of the database happens about a three hundred billion gazillion times smile


Couldn't have said it any better wink

Rick #183851 05/04/2007 11:11 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Well the data is cached, so why not run the data through a custom function before the caching bits?


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
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!
Gizmo #183871 05/05/2007 11:23 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The post body isn't cached, that's generated every time.

Rick #183880 05/05/2007 6:34 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Was thinking you could serialize the content from the db as the cached content and parse it into the forum as an array; at least it made sense when I was on the john


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
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
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)