convert_to_rowstore() replaces decompress_chunk(), deprecated in 2.18.0.
Manually convert a specific chunk in the hypertable columnstore to the rowstore.If you need to modify or add a lot of data to a chunk in the columnstore, best practice is to stop
any jobs moving chunks to the columnstore, convert the chunk back to the rowstore, then modify the
data. After the update, convert the chunk to the columnstore and restart the jobs.
This workflow is especially useful if you need to backfill old data.
Stop the jobs that are automatically adding chunks to the columnstoreRetrieve the list of jobs from the timescaledb_information.jobs view
to find the job you need to alter_job.
Update the data in the chunk you added to the rowstoreBest practice is to structure your INSERT statement to include appropriate
partition key values, such as the timestamp. TimescaleDB adds the data to the correct chunk:
INSERT INTO metrics (time, value)VALUES ('2025-01-01T00:00:00', 42);
Convert the updated chunks back to the columnstore