How to manage big data with pivot tables