Page MenuHomePhabricator

[terraform] MariaDB RDS config options
ClosedPublic

Authored by will on Jun 5 2024, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 6, 12:54 PM
Unknown Object (File)
Wed, Apr 2, 1:42 PM
Unknown Object (File)
Sun, Mar 30, 9:17 PM
Unknown Object (File)
Wed, Mar 19, 3:57 AM
Unknown Object (File)
Fri, Mar 14, 3:06 AM
Unknown Object (File)
Tue, Mar 11, 12:00 PM
Unknown Object (File)
Mar 6 2025, 7:35 PM
Unknown Object (File)
Mar 5 2025, 1:58 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.