Tag: Indexing

  • Clean Up Old Data Automatically with MongoDB TTL Indexes

    Clean Up Old Data Automatically with MongoDB TTL Indexes

    With Big Data, comes well … a lot of data. But what if some of that data is only really useful within a certain timeframe? Think about things like: Luckily, MongoDB makes it easy to keep your collections tidy with what are called TTL indexes. TTL (Time To Live) indexes automatically delete documents after a…