is there a way to “uncap” a capped collection?
Creating a new collection and copy the data isn’t an option for me.
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, You can convert a non-capped collection to a capped collection using the “convertToCapped” command but there’s no way to go the other way.
Your only option is to clone the collection to a non capped one and rename it which obviously involves downtime.