PyTables: How to Store Large Datasets
summary
PyTables (HDF5) stores forecast and measurement snapshots as self-contained files that travel between laptops and servers, used here for hundreds of GB (terabytes are feasible) of turbine and solar data tied to ~30,000 wind turbines and 1.6M panels; it offers chunked, extensible arrays and database-like tables with column indexing, fast Blosc compression, and tools like PT-repack to reclaim space. Reads can be parallel but only one process should write; tables support selection generators, Unicode timestamps, and a 2^63-row theoretical table limit.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 7:45Why HDF5 and PyTables
- 10:17PyTables features and installation
- 14:20Working with HDF5 files in PyTables
- 18:50Chunking and compression in PyTables
- 21:03Creating and writing tables in PyTables
- 23:16Reading and querying data in PyTables
- 24:21PyTables tools and utilities
- 27:14Concurrency and limitations of PyTables
- 29:04When to use PyTables for large datasets
- 31:34Potential downsides and risks of PyTables
- 33:26Alternatives to PyTables
- 35:46Data access and local workflows
- 37:34PyTables vs relational databases
- 38:40Performance for analytical queries
