You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by devinbost <de...@gmail.com> on 2020/02/19 17:43:05 UTC
How to prevent Ignite downtime when adding tables & caches
Hi,
We're trying to find a better way to create/update caches and tables.
Currently, in our business process, tables are being created manually, and
caches are being created with XML changes.
However, whenever we add a cache to the XML, we must stop Ignite and reapply
the state.
This creates downtime and impacts our users.
We have more and more users of our Ignite cluster, so we are becoming
increasingly concerned about the downtime.
How can we improve our deployment process to decrease downtime?
Thanks,
Devin
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: How to prevent Ignite downtime when adding tables & caches
Posted by akorensh <al...@gmail.com>.
Yes,
Tables created dynamically in caches that use a persistent data region
will be stored to disk.
You can try by enabling persistence for the default data region.
Create a test table, populate w/data, shutdown ignite then restart, data
should be there.
Thanks, Alex
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: How to prevent Ignite downtime when adding tables & caches
Posted by Devin Bost <de...@gmail.com>.
We're using native persistence for each of them. Does dynamic cache
creation work for tables?
Is it possible to create tables dynamically that have persistence?
Devin G. Bost
On Wed, Feb 19, 2020 at 11:16 AM akurbanov <an...@gmail.com> wrote:
> Hello,
>
> There is no need to restart the cluster if you want to create a new cache
> as
> dynamic cache creation is supported:
> https://apacheignite.readme.io/docs/jcache#section-dynamic-cache
>
> Do you use native persistence or do you run in-memory?
>
> If this doesn't work for you, could you please describe the case a bit?
>
> Best regards,
> Anton
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: How to prevent Ignite downtime when adding tables & caches
Posted by devinbost <de...@gmail.com>.
Sorry, ignore my last message.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: How to prevent Ignite downtime when adding tables & caches
Posted by devinbost <de...@gmail.com>.
akurbanov wrote
> Hello,
>
> There is no need to restart the cluster if you want to create a new cache
> as
> dynamic cache creation is supported:
> https://apacheignite.readme.io/docs/jcache#section-dynamic-cache
>
> Do you use native persistence or do you run in-memory?
>
> If this doesn't work for you, could you please describe the case a bit?
>
> Best regards,
> Anton
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
We use native persistence. We are looking into dynamic cache creation, but
does it still work when creating tables?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: How to prevent Ignite downtime when adding tables & caches
Posted by akurbanov <an...@gmail.com>.
Hello,
There is no need to restart the cluster if you want to create a new cache as
dynamic cache creation is supported:
https://apacheignite.readme.io/docs/jcache#section-dynamic-cache
Do you use native persistence or do you run in-memory?
If this doesn't work for you, could you please describe the case a bit?
Best regards,
Anton
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/