Page MenuHomePhabricator

[terraform] MariaDB RDS config options
ClosedPublic

Authored by will on Jun 5 2024, 3:22 PM.
Tags
None
Referenced Files
F2207761: D12322.id41112.diff
Sun, Jul 7, 9:40 AM
F2207748: D12322.id40998.diff
Sun, Jul 7, 9:36 AM
F2207632: D12322.id41068.diff
Sun, Jul 7, 8:55 AM
Unknown Object (File)
Fri, Jul 5, 6:58 AM
Unknown Object (File)
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
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.Jun 5 2024, 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.Jun 6 2024, 12:34 AM

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

This revision was automatically updated to reflect the committed changes.