Re: Truncate Materialized View

2020-05-15 Thread Surbhi Gupta
Thanks James, there were no hints pending at the time of dropping the materialized view. But the when we dropped the materialized view it somehow corrupted the hints. On Fri, May 15, 2020 at 4:15 PM James Shaw wrote: > Surbhi: > I don't think you may truncate the materialized view. > What

Re: using() not able to switch keyspace on the fly.

2020-05-15 Thread Alan Boudreault
Hello Bimal, Due to some internal limitations, you can only switch the keyspace on the fly of a ModelQuerySet, not a model instance. This should work: DataModel.objects.using(keyspace="tb1") Alan On Fri, May 15, 2020 at 5:00 AM Bimal Gangawal wrote: > Hi, > > I am new to cassandra and using p

Re: Truncate Materialized View

2020-05-15 Thread James Shaw
Surbhi: I don't think you may truncate the materialized view. What exact error got ? If you think it is same as the bug, then you may try to avoid the bug triggered condition. It says pending hints. So you may let all hints applied, then try drop the view. Thanks, James On Fri, May 15, 20

Re: Truncate Materialized View

2020-05-15 Thread Surbhi Gupta
Anyone has truncated materialized views ? On Thu, 14 May 2020 at 11:59, Surbhi Gupta wrote: > Hi, > > We are on 3.11.0 . > We have 11 Materialized view on a table. > After discussion with application team , we found out that they are using > only 4 out of 11 . > We tried to drop the materialized

New Metrics Collector for Apache Cassandra w/ Prometheus

2020-05-15 Thread Jake Luciani
Hi, Hope this email finds you well. DataStax has recently open sourced a new metrics collector for Apache Cassandra. It's a drop in solution and comes with Prometheus dashboards and works with all versions between 2.2 to 4.0 alpha. Blog: https://www.datastax.com/blog/2020/05/monitoring-apache-ca

using() not able to switch keyspace on the fly.

2020-05-15 Thread Bimal Gangawal
Hi, I am new to cassandra and using python to insert data into cassandra (cassandra-driver==3.23.0). https://docs.datastax.com/en/developer/python-driver/3.23/cqlengine/connections/ In this document i found that we can use using() method to change the keyspace and connection on the fly but while d