Closed
Bug 524011
Opened 15 years ago
Closed 15 years ago
[AMO] Increase innodb_buffer_pool
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbalogh, Assigned: justdave)
Details
(Whiteboard: 10/29/2009 @ 9pm)
From bug 522112 comment 0: > Per recommendation from Percona, our addons DB would perform best with at least > 10 GB of innodb_buffer_pool and at least a few gigs of index cache. To achieve > this, we need to get all of the servers up to 16 GB of RAM. We have the RAM now, let's use it. :)
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → justdave
Assignee | ||
Comment 1•15 years ago
|
||
Master database will need downtime for a mysqld restart (should be fairly instantaneous, but might throw a few spurious errors to web clients when it happens) Slaves can be done while pulled from the load balancer pool, so can be done whenever. They all need to be done. I know innodb_buffer_pool needs to go to 10G. There's a couple other memory-related settings that needed to be tweaked, too, and I still need to research on those.
Flags: needs-downtime+
Updated•15 years ago
|
Whiteboard: 10/27/2009 @ 9pm
Updated•15 years ago
|
Whiteboard: 10/27/2009 @ 9pm → 10/29/2009 @ 9pm
Assignee | ||
Comment 2•15 years ago
|
||
OK, this is done. Made the following changes: innodb_buffer_pool_size=10G (up from 2G) innodb_flush_method=O_DIRECT (wasn't present before - based on Percona recommendation) key_buffer=1G (up from 300M) query_cache_size=1G (up from 128M)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Group: infra
Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > query_cache_size=1G (up from 128M) "Be cautious about sizing the query cache excessively large, which increases the overhead required to maintain the cache, possibly beyond the benefit of enabling it. Sizes in tens of megabytes are usually beneficial. Sizes in the hundreds of megabytes might not be." http://dev.mysql.com/doc/refman/5.1/en/query-cache.html I'm not sure how you profile the effectiveness of the query cache, but we should be mindful of this.
Comment 4•15 years ago
|
||
Is there really a point to using the query cache? Our data gets cached in memcache, the query cache isn't buying us much.
Assignee | ||
Comment 5•15 years ago
|
||
ok, we should probably bump that one back down again then.
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•