Page MenuHomePhabricator

[terraform] MariaDB RDS config options
ClosedPublic

Authored by will on Wed, Jun 5, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 26, 3:21 PM
Unknown Object (File)
Sat, Jun 22, 6:20 AM
Unknown Object (File)
Sat, Jun 22, 3:59 AM
Unknown Object (File)
Fri, Jun 21, 8:03 PM
Unknown Object (File)
Fri, Jun 21, 9:58 AM
Unknown Object (File)
Fri, Jun 21, 6:57 AM
Unknown Object (File)
Fri, Jun 21, 1:52 AM
Unknown Object (File)
Mon, Jun 17, 5:37 PM
Subscribers

Details

Summary

This sets mostly the same parameter options as MariaDB besides innodb_buffer_pool_size which is set to {DBInstanceClassMemory*3/4} matching our phabricator database and general recommendations.

Here are the configuration options in our keyserver docker compose file:

--performance-schema
--max-allowed-packet=256M
--local-infile=0
--sql-mode=STRICT_ALL_TABLES
--innodb-buffer-pool-size=1600M
--innodb-ft-min-token-size=1
--innodb-ft-enable-stopword=0
Test Plan

successful terraform deploy. Ran transfer process and successfully accessed the rds instance with mysql

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

services/terraform/self-host/aws_db.tf
60 ↗(On Diff #40998)

This is representative of 256 MiB: (1024 * 1024 * 256).

will edited the summary of this revision. (Show Details)
will requested review of this revision.Wed, Jun 5, 3:39 PM

I haven't dug deep into what these params mean but they match docker configuration so it should be okay

services/terraform/self-host/aws_db.tf
60 ↗(On Diff #40998)

Comment would be good

This revision is now accepted and ready to land.Thu, Jun 6, 12:34 AM

add comment: 256 MiB: (1024 * 1024 * 256)

This revision was automatically updated to reflect the committed changes.