ignite default table

1/2/2021

I'm using ignite chart in kubernetes, in memory deployment without persistent volumes, how can I configure default tables to be created automatically after restart of all ignite pods?

-- NoamiA
ignite
in-memory-database
kubernetes
sql

1 Answer

1/4/2021

You can specify them in your IgniteConfiguration using Java or Spring XML, via Query Entities mechanism:

https://ignite.apache.org/docs/latest/SQL/indexes#configuring-indexes-using-query-entities

In this case all the caches and corresponding tables will be recreated when cluster is started.

-- alamar
Source: StackOverflow