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)
Sat, Nov 23, 11:30 PM
Unknown Object (File)
Sat, Nov 23, 5:42 AM
Unknown Object (File)
Sat, Nov 23, 2:52 AM
Unknown Object (File)
Sat, Nov 23, 2:50 AM
Unknown Object (File)
Fri, Nov 15, 5:49 PM
Unknown Object (File)
Tue, Nov 12, 12:13 PM
Unknown Object (File)
Tue, Nov 12, 12:01 PM
Unknown Object (File)
Tue, Nov 12, 12:01 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
No Lint Coverage
Unit
No Test Coverage

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.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 ↗(On Diff #40998)

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.