Hello everyone! We are trying to reduce memory of ...
# community-help
n
Hello everyone! We are trying to reduce memory of our Typesense cluster. We decided to drop
facet
and
index
on some of our fields. Would it be OK to apply those schema changes during normal hours? Or must we wait for the downtime hours?
We were gonna run something like
client.collections(collectionName).update(update)
on the live cluster.
a
Hi @Nurguly Ashyrov When you PATCH a collection, it will still be searchable but you won't be able do add or delete any documents on it, until it's finished. The process won't impact your CPU, since we cap the processing to avoid exactly that. But, that also means that the process won't happen as fast as possible, so depending on your collection size this can take up to a few hours.
n
And during those hours you can read but not add/delete/update on that collection, correct?
a
Yeah
n
Thanks Alan for your answer! 🙏
a
No problem!