Use table partitioning to dramatically speed up queries on large datasets.