Is there a way to convert a cache (setup from the XML config file) to a table that we can query?

2019-11-13 Thread devinbost
Hi, We set up a cache in the default-config.xml file, but we're having trouble getting visibility into the cache's data. We'd like to be able to use SQL queries (or something we can run in an ad-hoc CLI or web tool) to occasionally inspect the data. 1. Is there a way to inspect the data in an

Re: How to query existing cache that was configured via XML

2019-11-14 Thread devinbost
ilya.kasnacheev wrote > It's not possible to add table to cache. > > It is possible to define cache with table(s) from XML, but you will have > to > populate it with data from scratch: > https://apacheignite.readme.io/docs/indexes Am I able to use the QueryCursor on a cache that was created

Re: How do we delete caches?

2019-11-14 Thread devinbost
devinbost wrote > When we create a new table via SQL, it creates the cache for the table (as > expected). However, if we drop the table, the cache is not deleted. We > can't > figure out how to delete the cache. So, we have many caches accumulating > that we can't delete but ca

How do we delete caches?

2019-11-14 Thread devinbost
When we create a new table via SQL, it creates the cache for the table (as expected). However, if we drop the table, the cache is not deleted. We can't figure out how to delete the cache. So, we have many caches accumulating that we can't delete but can't use for SQL because we've deleted their

Adding TTL to new or existing table

2019-11-21 Thread devinbost
We created a table (which automatically creates a cache in Ignite), but we need to apply a TTL/expiration to the data. We've figured out how to do this with a table-less cache, but we need to do this with a cache that's linked to a table. We can recreate the table if necessary to add the TTL, but

How to query existing cache that was configured via XML

2019-10-07 Thread devinbost
My team created an Ignite cache from the XML configuration, and we're trying to get some visibility into its data. It appears that there are no tables associated with the cache, so we're not sure if it's possible for us to query it without needing to recreate the table in a way that would cause

Re: How to prevent Ignite downtime when adding tables & caches

2020-02-26 Thread devinbost
Sorry, ignore my last message. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Accessing cache from Ignite plugin

2020-03-02 Thread devinbost
Hi, I have an Ignite plugin that needs to check one of the Ignite caches with every operation. The plugin was working fine until I tried using the thin client to access one of the caches... Now, I'm just getting "Ignite cluster is unavailable" when this line gets run: ClientCache cache =

Re: How to prevent Ignite downtime when adding tables & caches

2020-02-26 Thread devinbost
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