Fully managed MySQL and Serverless Postgres.
$0.10/GB-mo
(US regions) and $0.12/GB-mo
(other regions)--skip-extended-insert
option, especially for smaller Laravel MySQL instances, to reduce memory usage.
mysqldump
and mysql
commands when handling large databases. Additionally, GUI-based tools like TablePlus can be used for imports. However, be aware that smaller Laravel MySQL instances may encounter memory limitations when using such tools.
Server Memory | MySQL Connection Limit |
---|---|
512 MB | 51 |
1 GB | 102 |
2 GB | 204 |
4 GB | 408 |
8 GB | 816 |
16 GB | 1,632 |
32 GB | 3,264 |
--sleep
interval (such as --sleep=1
or lower), expect high CPU usage. That’s acceptable for development environments, but in production, we recommend a minimum of 2 vCPUs, possibly more for high-throughput jobs.
Compute Units | vCPUs | RAM |
---|---|---|
.25 | .25 | 1 GB |
.5 | .5 | 2 GB |
1 | 1 | 4 GB |
2 | 2 | 8 GB |
3 | 3 | 12 GB |
4 | 4 | 16 GB |
-pooler
to the first segment of the cluster’s host name. For example, if your database cluster’s host name is ep-frosty-shadow-a57j6ubb.us-east-2.pg.laravel.cloud
, the corresponding pgbouncer endpoint is ep-frosty-shadow-a57j6ubb-pooler.us-east-2.pg.laravel.cloud
.
Then, add the new host name as the DB_HOST
environment variable in your environment’s General Settings:
DB_DATABASE
environment variable used by Laravel.
DB_HOST
, DB_USERNAME
, DB_PASSWORD
, and DB_DATABASE
variables. You may view these environment variables in your environment’s General Settings.
/etc/ssl/cert.pem
path.