|
Joined: Apr 2007
Posts: 120
member
|
member
Joined: Apr 2007
Posts: 120 |
Hi, seeking tuning advice for a migrated installation of threads and mySQL.
I can find articles on tuning mySQL on the web, but they of course talk about "it depends on whether you're using a log of InnoDB or MyISAM"....
So, what is threads usage pattern in this regard? (it is enabled, I know that)
Thanks...
...usin' da classic UBB, since the beginning of time.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
|
|
|
|
Joined: Apr 2007
Posts: 120
member
|
member
Joined: Apr 2007
Posts: 120 |
...usin' da classic UBB, since the beginning of time.
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
I was just about to look into upgrading my tables from MyISAM to InnoDB to see if I could get things to run more quickly. I'm reading that forums should normally run more quickly in InnoDB.
Are you saying they're MyISAM by default, or that they *have* to stay MyISAM?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Are you saying they're MyISAM by default, or that they *have* to stay MyISAM? Default; I haven't tried converting them to InnoDB
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
The issue currently I believe is the UBB installer and upgrade scripts. It was one of the items that were to change to InnoDB with either version 8 or 7.6 I can't remember now.
So if we ever get a upgrade without the db change it may be something to place in your todo list It is easy to spot in the scripts.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Please keep in mind you cannot do full text search on the posts and topics table with InnoDB.
What kind of hosting are you on and what does your stack look like?
There are several things you could do that would speed up your site. - If you are serving a lot of static files use Nginx instead of Apache - The best way to speed up MySQL is to get on faster hardware by upping your plan or switching hosts. - Make sure you have expires set correctly in your htaccess file so that you are serving static files as little as possible.
Last edited by cascadeclimbers; 12/05/2012 2:45 PM.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
I just want to follow up in that mysql 5.6 has full text search with innodb tables, but it is not officially released. Based on what I know it is ready to go.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
OK an update I have converted two of my forums to INNODB (except the one posts table) and they are running more quickly than before. So this seems to be a good thing to do.
I am on Windows / IIS. I have a dedicated server. I currently cannot afford to upgrade to a better / faster machine.
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Is your server colo or are you paying monthly? How much are you paying a month and what are the specs? There are so many awesome options out there.
To give you an example, I have a small $20 linode that runs a process at least 10x faster then on my dedicated with an 1/8 of the ram.
Last edited by cascadeclimbers; 12/13/2012 10:47 PM.
Won't you take me to Funkytown?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
InnoDB won't help at all for UBB.. just
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
CascadeClimbers -
This server in question is a dedicated server which hosts 12 of my websites. It is an IIS system - I code in ASP. It has three hard drives so I can have my databases on one, my websites on the second, and my log files on the third to keep disk access quick. It has MS-SQL on it because several of my sites are content-based out of those databases. I also have MySQL and PHP on it as you can imagine.
I'm paying $99/mo for it.
Their response time is fantastic; their team is there 247 and responds within minutes to any of my queries. I'm using Immedion in North Carolina. I've used many hosting companies over the years and these guys have been by far the most reliable and helpful.
I am extremely resistant to any shared / cloud solution. I like having complete control over my server and being able to designate exactly what hard drives what data is on, to separate out drive access.
If there are reliable hosting companies offering this setup for under $99, I'd be happy to examine them!
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
SirDude -
I've converted three of my UBB forums over to InnoDB and in each case I saw a speed increase. I do think some of the features in InnoDB are helping streamline things. Maybe it only matters with forums of a certain size?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
#1 way to increase things is RAM, RAM, RAM if you think InooDB helped you, then more power to you... i won't try to disuade you $99 is hard to beat.... but, like i said, an 8GIG RAM server dedi is looking at $149 $129... but to get 3 HDDs, you aren't gonna beat $99... at some point, though, unless you prune old posts, the forum will grind to a halt and be unusable.... and you will find that it won't be a SLOW thing.. it'll suddenly go over a cliff and just be unresponsive..... you are getting close to that limit, if saving posts cause a huge delay already
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
You can get 16gb at Interserver for about $139.00 clicky (for 169 they have 32gb), they have something called "quick servers" servers, you can get 4gb ram for $103 clicky
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
My current servers can't handle any more RAM. I would need to upgrade to completely new servers in order to then be able to ponder more RAM. I'm getting pricing quotes now, to see what my options are. With my 2mb RAM and the upgrades I can now get performance like this on my lisashea server, looking at the main page - Generated in 0.056 seconds in which 0.012 seconds were spent on a total of 9 queries. Zlib compression disabled. So I consider that reasonable .
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
at some point, speed of page load will drive peeps away, which translates to lost revenue.. google ranks you lower too... so you can do the math and decide where the point of inflection is.. the bummer is.... it's HARD to move
|
|
|
|
Joined: Jun 2006
Posts: 693
Addict
|
Addict
Joined: Jun 2006
Posts: 693 |
After my tuning, when I run my tests with Google I'm coming back as fast, and I'm earning #1 rankings. So I'm in good shape for now!
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
|
|