The operations in this lesson are what tables are most often partitioned for. When the year before last is no longer needed, the clerk does not cross it out line by line: he takes the books off the shelf whole. A book that may come in handy he carries down to the cellar. And a book filled somewhere else he puts on the shelf after checking that all the entries in it belong to the right month.
In this lesson
- DROP instead of DELETE
- DETACH: remove but keep
- ATTACH: put a ready one in place
- The default partition and new partitions
- Common mistake
- Key points