Appsmith safely encrypts all your database credentials and stores them securely. Appsmith also does not store any data returned from your data sources and acts only as a proxy layer to orchestrate the API / Query calls. Since Appsmith is an open-source framework, you can deploy it on-premise, and audit it to ensure none of your data leaves your VPC.
Once the appsmith instance has been whitelisted:
Go to DB Queries on that page.
Click on + next to DB Queries
You’ll see a list of existing Datasources that this page can connect to
Click on + New Datasource
Choose a Database from the supported list
Provide the configuration details required to connect to your database. You may need to contact your database admin.
Click on Test to verify that Appsmith is able to connect to your database using the details provided by you
Save your connection
Appsmith creates a new connection pool with the database server when you first connect the database server to your app. All subsequent queries executed by Appsmith against your database then re-use this connection to ensure that at run-time your queries are executed quickly. In the case that an idle connection is closed by the database server, Appsmith creates a new connection while executing the next query.
For certain plugins like PostgreSQL, and MySQL, Appsmith creates and maintains a connection pool because multiple queries cannot be executed against a single connection.
Appsmith limits maximum queries that can run concurrently on a database to be 5. If the application attempts to make more queries concurrently, you'll see an error saying
Connection not available.