- (Requirements)
- We need a fast and scalable solution.
- We need faster way of doing adhoc queries;
I am thinking about seperating my 10 column table into 10 tables. The table has got 10 Billion rows.
Original Table ID,VALUE1,VALUE2,VALUE3,VALUE4,VALUE5,VALUE6,VALUE7,VALUE8,VALUE9,VALUE10
into 10 tables
- ID,VALUE1 (indexed on value1)
- ID,VALUE2 (indexed on value2)
- ID,VALUE3 (indexed on value3)
- ID,VALUE4 (indexed on value4)
- ID,VALUE5 (indexed on value5)
- ID,VALUE6 (indexed on value6)
- ID,VALUE7 (indexed on value7)
- ID,VALUE8 (indexed on value8)
- ID,VALUE9 (indexed on value9)
- ID,VALUE10 (indexed on value10)
My plan is if i got a 5 clauses in my WHERE condition , go to 5 tables and asked them than use a hashset to set a subset of ID's.
My Question is i am reinventing the wheel ?is this "Column Store DB By RDBMS" or something else?