How can I use external database rather than Memory DB

When I develop a jira plugin , jira development platform uses H2 Memory DB…
It makes JIRA application executing time slow, so I want to just use external DB such as MARIA-DB.

@munman77 there are several ways you can do this. When you start Jira using the Atlas SDK (for instance by running atlas-debug) it creates a Jira home directory in your target folder. You can change the dbconfig.xml file in this folder with the MariaDB configuration and follow the steps to create & use a test fixture as detailed here: https://developer.atlassian.com/server/framework/atlassian-sdk/create-test-data-and-a-test-fixture/

1 Like

Keep in mind that you might run into issues with the Jira license, as your external DB will store the licensing information. So you might want to buy a $10 license for your test data.