# Running nodetool upgradesstables after version upgrade

**URL:** <https://forum.scylladb.com/t/running-nodetool-upgradesstables-after-version-upgrade/89>\
**Category:** ScyllaDB\
**Created:** [November 15, 2022, 4:26pm UTC](https://forum.scylladb.com/t/running-nodetool-upgradesstables-after-version-upgrade/89 "2022-11-15T16:26:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [November 15, 2022, 4:26pm UTC](https://forum.scylladb.com/t/running-nodetool-upgradesstables-after-version-upgrade/89/1 "2022-11-15T16:26:17Z")

</div>

After an upgrade from 4.6 to 5.0, do we need to run the `nodetool upgradesstables` ?

---

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [November 15, 2022, 4:27pm UTC](https://forum.scylladb.com/t/running-nodetool-upgradesstables-after-version-upgrade/89/2 "2022-11-15T16:27:16Z")

</div>

The short answer is no.  
The long answer is: even if a new ScyllaDB version introduces a new sstable version, you don’t have to manually upgrade sstables via `nodetool upgradesstables` ,this will happen automatically as the sstables are compacted, and in general new sstables are written in the new version.  
Gradually all sstables are migrated to the new version. This might take some time, but this is fine. There is no rush to get all sstables to the same version.

---

<div class="post-metadata">

**Author:** ![Israel\_Fruchter](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/israel_fruchter/32/153_2.png) [@Israel\_Fruchter](https://forum.scylladb.com/u/Israel_Fruchter)\
**Post date:** [April 19, 2023, 4:54pm UTC](https://forum.scylladb.com/t/running-nodetool-upgradesstables-after-version-upgrade/89/3 "2023-04-19T16:54:30Z")

</div>

In some cases one might be in a hurry to get some of the optimizations a new sstables format version has.

This is a quick summary of version content:

> <https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java#L369>

For example `me` adds host id information to sstable, I’m not sure it’s for preformece optimizations
