# Cassandra Stress - Limit items in the List Data Type

**URL:** <https://forum.scylladb.com/t/cassandra-stress-limit-items-in-the-list-data-type/712>\
**Category:** ScyllaDB\
**Tags:** performance\
**Created:** [July 21, 2023, 5:01am UTC](https://forum.scylladb.com/t/cassandra-stress-limit-items-in-the-list-data-type/712 "2023-07-21T05:01:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atish\_Andhare](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Atish\_Andhare](https://forum.scylladb.com/u/Atish_Andhare)\
**Post date:** [July 21, 2023, 5:01am UTC](https://forum.scylladb.com/t/cassandra-stress-limit-items-in-the-list-data-type/712/1 "2023-07-21T05:01:25Z")

</div>

Using cassandra-stress to benchmark ScyllaDB 5.0.

Is there any support to limit number of items in the list?

CREATE TABLE keyspace1.users (  
username text,  
user\_fav\_movies list,  
PRIMARY KEY (username)

Cassandra-stress table user profile:

- name: user\_fav\_movies  
size: fixed(10)  
)

---

<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:** [July 26, 2023, 8:21am UTC](https://forum.scylladb.com/t/cassandra-stress-limit-items-in-the-list-data-type/712/2 "2023-07-26T08:21:26Z")

</div>

I think this might be what you are looking for:

```auto
  - name: user_fav_movies
    size: fixed(10)
    population: uniform(1..10000)

```
