Re: question on reducing number of versions

2018-08-26 Thread Anil Gupta
You should see a smaller t2 after major compaction if your table actually had versions over 18k.(as Ted mentioned) Sent from my iPhone > On Aug 26, 2018, at 5:20 PM, Ted Yu wrote: > > This depends on how far down you revise the max versions for table t2. > If your data normally only reaches 15

Re: question on reducing number of versions

2018-08-26 Thread Ted Yu
This depends on how far down you revise the max versions for table t2. If your data normally only reaches 15000 versions and you lower max versions to ~15000, there wouldn't be much saving. FYI On Sun, Aug 26, 2018 at 3:52 PM Antonio Si wrote: > Thanks Anil. > > We are using hbase on s3. Yes, I

Re: question on reducing number of versions

2018-08-26 Thread Antonio Si
Thanks Anil. We are using hbase on s3. Yes, I understand 18000 is very high. We are in the process of reducing it. If I have a snapshot and I restore the table from this snapshot. Let's call this table t1. I then clone another table from the same snapshot, call it t2. If I reduce the max version

Re: question on reducing number of versions

2018-08-26 Thread Anil Gupta
You will need to do major compaction on table for the table to clean/delete up extra version. Btw, 18000 max version is a unusually high value. Are you using hbase on s3 or hbase on hdfs? Sent from my iPhone > On Aug 26, 2018, at 2:34 PM, Antonio Si wrote: > > Hello, > > I have a hbase ta

question on reducing number of versions

2018-08-26 Thread Antonio Si
Hello, I have a hbase table whose definition has a max number of versions set to 36000. I have verified that there are rows which have more than 2 versions saved. Now, I change the definition of the table and reduce the max number of versions to 18000. Will I see the size of the table being r