Re: Nodetool snapshot
yes you need to restore snapshot of the node’s own snapshot for every node Abdul Patel 于2019年9月20日 周五上午2:08写道: > Thanks , i guess i have both. > So can we have either or? > If i keep auto_snapshot? Can i remove nodetool snapshot? > Woest case scenario if i wish to restore snapshot which one will be best > option? > Also if we restore snapshot do we need to have snapshot on all nodes? > > > On Thursday, September 19, 2019, Jeff Jirsa wrote: > >> You probably have auto_snapshot enabled, which takes snapshots when you >> do certain things. You can disable that if you dont need it, but it >> protects you against things like accidentally dropping / truncating a table. >> >> You may also be doing snapshots manually - if you do this, you can >> 'nodetool clearsnapshot' to free up space. >> >> >> On Thu, Sep 19, 2019 at 10:54 AM Abdul Patel wrote: >> >>> Hey All, >>> >>> I found recentmy that the nodetool snapshot golder is creating almost >>> 120GB of filea when my actual keyspace folder has 20GB only. >>> Do we need to change any paramater to avoid this? >>> Is this normal? >>> I have 3.11.4 version >>> >> -- you are the apple of my eye !
Re: Nodetool snapshot
Thanks , i guess i have both. So can we have either or? If i keep auto_snapshot? Can i remove nodetool snapshot? Woest case scenario if i wish to restore snapshot which one will be best option? Also if we restore snapshot do we need to have snapshot on all nodes? On Thursday, September 19, 2019, Jeff Jirsa wrote: > You probably have auto_snapshot enabled, which takes snapshots when you do > certain things. You can disable that if you dont need it, but it protects > you against things like accidentally dropping / truncating a table. > > You may also be doing snapshots manually - if you do this, you can > 'nodetool clearsnapshot' to free up space. > > > On Thu, Sep 19, 2019 at 10:54 AM Abdul Patel wrote: > >> Hey All, >> >> I found recentmy that the nodetool snapshot golder is creating almost >> 120GB of filea when my actual keyspace folder has 20GB only. >> Do we need to change any paramater to avoid this? >> Is this normal? >> I have 3.11.4 version >> >
Re: Nodetool snapshot
You probably have auto_snapshot enabled, which takes snapshots when you do certain things. You can disable that if you dont need it, but it protects you against things like accidentally dropping / truncating a table. You may also be doing snapshots manually - if you do this, you can 'nodetool clearsnapshot' to free up space. On Thu, Sep 19, 2019 at 10:54 AM Abdul Patel wrote: > Hey All, > > I found recentmy that the nodetool snapshot golder is creating almost > 120GB of filea when my actual keyspace folder has 20GB only. > Do we need to change any paramater to avoid this? > Is this normal? > I have 3.11.4 version >
Nodetool snapshot
Hey All, I found recentmy that the nodetool snapshot golder is creating almost 120GB of filea when my actual keyspace folder has 20GB only. Do we need to change any paramater to avoid this? Is this normal? I have 3.11.4 version
Re: when taking backups using snapshot if the sstable gets compacted will nodetool snapshot hung ??
Hi James! Hai we are taking backups using nodetool snapshots but i occasionally see that my script pauses while taking a snapshot of a CF, is this because when it is taking snapshot does the sstables got compacted to a different one so it couldn't find that particular sstable on which it is taking snapshot so it pauses at that particular CF ?? Creating snapshot doesn't involve any heavy disk operation, just creating of hard link. Do you have Java JNA installed and enabled? You should see line like INFO 16:30:42 JNA mlockall successful in C* log file. Which platform do you use? Best regards, Vladimir Yudovin, Winguzone Inc - Hosted Cloud Cassandra on Azure and SoftLayer. Launch your cluster in minutes.
when taking backups using snapshot if the sstable gets compacted will nodetool snapshot hung ??
Hai we are taking backups using nodetool snapshots but i occasionally see that my script pauses while taking a snapshot of a CF, is this because when it is taking snapshot does the sstables got compacted to a different one so it couldn't find that particular sstable on which it is taking snapshot so it pauses at that particular CF ?? Thanks James.
Re: Nodetool snapshot, consistency and replication
Ok, thank you. 2012/4/2 Rob Coli > On Mon, Apr 2, 2012 at 9:19 AM, R. Verlangen wrote: > > - 3 node cluster > > - RF = 3 > > - fully consistent (not measured, but let's say it is) > > > > Is it true that when I take a snaphot at only one of the 3 nodes this > > contains all the data in the cluster (at least 1 replica)? > > Yes. > > =Rob > > -- > =Robert Coli > AIM>ALK - rc...@palominodb.com > YAHOO - rcoli.palominob > SKYPE - rcoli_palominodb > -- With kind regards, Robin Verlangen www.robinverlangen.nl
Re: Nodetool snapshot, consistency and replication
On Mon, Apr 2, 2012 at 9:19 AM, R. Verlangen wrote: > - 3 node cluster > - RF = 3 > - fully consistent (not measured, but let's say it is) > > Is it true that when I take a snaphot at only one of the 3 nodes this > contains all the data in the cluster (at least 1 replica)? Yes. =Rob -- =Robert Coli AIM>ALK - rc...@palominodb.com YAHOO - rcoli.palominob SKYPE - rcoli_palominodb
Nodetool snapshot, consistency and replication
Hi there, I have a question about the nodetool snapshot. Situation: - 3 node cluster - RF = 3 - fully consistent (not measured, but let's say it is) Is it true that when I take a snaphot at only one of the 3 nodes this contains all the data in the cluster (at least 1 replica)? With kind regards, Robin Verlangen www.robinverlangen.nl
Re: How do I know when "nodetool snapshot" has completed?
It's a mix in 0.6 unfortunately. For 0.7 all have been converted to blocking. On Fri, Oct 1, 2010 at 4:06 PM, Jeremy Davis wrote: > Ok, cool. I thought all the nodetool commands were non blocking. > Thanks, > -JD > > On Fri, Oct 1, 2010 at 2:02 PM, Jonathan Ellis wrote: >> >> snapshot blocks until it's finished. it's just fast. :) >> >> On Fri, Oct 1, 2010 at 3:52 PM, Jeremy Davis >> wrote: >> > >> > Since "nodetool snapshot" returns immediately, how do I know when the >> > snapshot process has completed. When is it safe to start copying/taring >> > the >> > files to back them up elsewhere? >> > >> > >> > >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
Re: How do I know when "nodetool snapshot" has completed?
Ok, cool. I thought all the nodetool commands were non blocking. Thanks, -JD On Fri, Oct 1, 2010 at 2:02 PM, Jonathan Ellis wrote: > snapshot blocks until it's finished. it's just fast. :) > > On Fri, Oct 1, 2010 at 3:52 PM, Jeremy Davis > wrote: > > > > Since "nodetool snapshot" returns immediately, how do I know when the > > snapshot process has completed. When is it safe to start copying/taring > the > > files to back them up elsewhere? > > > > > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com >
Re: How do I know when "nodetool snapshot" has completed?
snapshot blocks until it's finished. it's just fast. :) On Fri, Oct 1, 2010 at 3:52 PM, Jeremy Davis wrote: > > Since "nodetool snapshot" returns immediately, how do I know when the > snapshot process has completed. When is it safe to start copying/taring the > files to back them up elsewhere? > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
How do I know when "nodetool snapshot" has completed?
Since "nodetool snapshot" returns immediately, how do I know when the snapshot process has completed. When is it safe to start copying/taring the files to back them up elsewhere?