[keycloak-user] h2 for production

Marek Posolda mposolda at redhat.com
Tue Jan 10 07:01:44 EST 2017


On 10/01/17 10:16, lists wrote:
> Hi,
>
> I understand that it is not recommened to use h2 as your production
> database format. However, reading this:
>
> http://stackoverflow.com/questions/12064030/are-there-any-reasons-why-h2-database-shouldnt-be-used-in-production
>
> and given our situation (small userbase, no heavy use, no cluster /
> replication, no HA, etc, etc) is choosing h2 really a bad idea?
You can try to do some testing and check if it suits your needs. However 
note that we are not doing any performance/concurrency testing with H2 
and we don't test the migration with it. There can be some concurrency 
issues, which can be seen just in production (eg. parallel login of more 
users etc). Migration should work fine, but again, we are not testing it 
and if something doesn't work, you won't receive any support.

So maybe I would rather ask the opposite question: Is it really big 
issue for you to use some other more proper DB (PostgreSQL, MySQL)?

Marek
>
> Could we, for example, run into problems with keycloak updates?
>
> MJ
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list