Page MenuHomePhabricator

[terraform] MariaDB RDS config options
ClosedPublic

Authored by will on Wed, Jun 5, 3:22 PM.
Tags
None
Referenced Files
F2191300: D12322.diff
Thu, Jul 4, 2:57 PM
Unknown Object (File)
Wed, Jul 3, 5:41 AM
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
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
Branch
keyserver_to_aws
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

services/terraform/self-host/aws_db.tf
60

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

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.