From 3cbe657b243717ebd496cf6ad183ae7e04459453 Mon Sep 17 00:00:00 2001 From: Anna Stuchlik Date: Fri, 20 Jan 2023 12:54:55 +0100 Subject: [PATCH] doc: fixes https://github.com/scylladb/scylla-docs/issues/3706, v2 of https://github.com/scylladb/scylladb/pull/11638, add a note about performance penalty in non-frozen connections vs frozen connections and UDT, add a link to the blog post about performance Closes #12583 --- docs/cql/types.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cql/types.rst b/docs/cql/types.rst index 7d00910be2..5ca654d7aa 100644 --- a/docs/cql/types.rst +++ b/docs/cql/types.rst @@ -287,6 +287,8 @@ Non-frozen collections have the following noteworthy characteristics and limitat Further, some list operations are not idempotent by nature (see the section on :ref:`lists ` below for details), making their retry in case of timeout problematic. It is thus advised to prefer sets over lists when possible. +- Non-frozen collections impose a significant performance penalty. To ensure better performance, use frozen collections + or frozen UDTs. See `this blog post `_ for more information about improving performance. Please note that while some of those limitations may or may not be removed/improved upon in the future, it is an anti-pattern to use a (single) collection to store large amounts of data.