MongoDB: Document expiration using TTL Indexes

Published: 24 September 2023
on channel: Vladsave Coding
2,134
43

TTL Indexes allow us to automatically delete documents from a collection when they expire. MongoDB has a background job that will perform the cleanup. In this video we show how they can be used a few points that need to be considered.

Doc page:
https://www.mongodb.com/docs/manual/c...

Chapters:
00:00 Introduction
01:16 Basic usage
05:39 Custom expiration per document


Watch video MongoDB: Document expiration using TTL Indexes online without registration, duration hours minute second in high quality. This video was added by user Vladsave Coding 24 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,134 once and liked it 43 people.