Rate and concurrency limits
For Streams rate and concurrency limits, see API rate limits.Mutable and immutable streams
The template you choose when you create a stream sets whether the stream is mutable or immutable. You cannot change the template later. Mutable streams let you update and delete records. Queries stay fast because the stream keeps one index, and the total number of records is limited. Immutable streams do not let you update or delete records. They store larger volumes, and query speed depends on the age of the data. Filter and aggregate queries on an immutable stream must include alastUpdatedTime range. See Query time range limits.
Stream templates
Stream templates are in beta. Cognite can add templates, and can change a template, without changing streams that already exist. Every project has the default templatesImmutableTestStream for experimentation, BasicArchive for perpetual archives, and BasicLiveData for data that still changes. Your project can include templates besides these defaults. The templates and their limits can differ between projects. See List the templates available in your project.
For the limits a template sets, see Stream template limits.
To check a stream’s limits and current usage, see Check a stream’s limits and usage.
Soft delete
Deleting a stream soft-deletes it. The data stays recoverable until the recovery window set by the stream’s template ends. The stream reports it insettings.lifecycle.retainedAfterSoftDelete.
While a stream is soft-deleted:
- You cannot ingest into it or query it.
- It does not count as an active stream.
- You cannot create another stream with the same identifier.