I have a couple of tables that are pretty big, 2+ billion rows. Now, querying by time is fast and there is no problem. But sometimes I want to use these tables to make queries where I need to, for example select all the rows that match an ID, regardless of time. Making indexes on these columns doesn’t make it much faster. Is this where partitioning comes in ? Since I can’t find much documentation on partitioning :
- Will partitioning the table by default ( time ) and also by the said ID work better ?
- When you partition a table by more columns, what are the space consumption implications ?
- Can you further partition a table once it’s been populated ?
Thanks !
1 post - 1 participant