# ScyllaDB and Large Partitions

**URL:** <https://forum.scylladb.com/t/scylladb-and-large-partitions/71>\
**Category:** ScyllaDB\
**Created:** [November 13, 2022, 9:18am UTC](https://forum.scylladb.com/t/scylladb-and-large-partitions/71 "2022-11-13T09:18:28Z")\
**Posts on this page:** 2\
**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 13, 2022, 9:18am UTC](https://forum.scylladb.com/t/scylladb-and-large-partitions/71/1 "2022-11-13T09:18:28Z")

</div>

Are large partitions still an issue and if so, how can I deal with it?  
What is the maximal partition size?

---

<div class="post-metadata">

**Author:** ![Gui\_Nogueira](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/gui_nogueira/32/23_2.png) [@Gui\_Nogueira](https://forum.scylladb.com/u/Gui_Nogueira)\
**Post date:** [January 22, 2023, 5:11pm UTC](https://forum.scylladb.com/t/scylladb-and-large-partitions/71/2 "2023-01-22T17:11:49Z")

</div>

Large partitions are an anti-pattern in Scylla - one should aim to have data spread evenly among the partitions in the cluster.  
The presence of large partitions create issues such as higher shard latency (because it has a hot spot for data) or oversized allocation warnings/errors on logs.  
In any case, you can use Scylla’s `system.large_partitions` virtual table ([doc](https://docs.scylladb.com/stable/troubleshooting/large-partition-table.html)) to help you track them, along with log lines that indicate their occurrence.  
Check [this](https://university.scylladb.com/courses/scylla-operations/lessons/scylla-monitoring/topic/hot-partition-large-partition-single-node-check/) Scylla University lesson covering this topic.

As to how avoid them on the first place, you should wisely plan your data modeling in a way that leads to a high cardinality distribution of data among partitions. Check [this blog post](https://www.scylladb.com/2019/08/20/best-practices-for-data-modeling/) for some ideas around that.
