Open bra-fsn opened 4 years ago
Thanks for the suggestion, @bra-fsn. We'll get this on our docs improvement backlog.
@rmloveland, assigning this one to you because it's very much about how rows are stored on disk (kv). Feel free to reassign to @ericharmeling if you feel it's more primarily a SQL issue.
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB docs!
Exalate commented:
On https://www.cockroachlabs.com/docs/dev/column-families.html the example contains a table with one column as the primary key, the
id
:The example then mixes never updated fields (
id
) with the frequently updated onelast_accessed
in one column family, putting the never modifieddata
intof2
.For the first glance, it would be logical to group static (
id
anddata
) columns into one family and frequently modified ones to the other:So could you please extend the current doc, explain and add more details about:
id
andlast_accessed
into one CF is recommendedJira Issue: DOC-462