I need you suggestion on creating a partition on a table having millions of record.
table definitions
- CompanyId
- Type_Of_Data
- Emp_id
- Destination
- Destination_id
Now here for a single company ,type of data and emp_id can be different
COMPANY_ID TYPE_OF_DATA EMP_ID
A EMP_DATA A1
A EMP_DATA A2
A EMP_DATA A3
A EMP_DATA A4
A EMP_ADDRESS_DATA A1
A EMP_ADDRESS_DATA A2
A EMP_ADDRESS_DATA A3
A EMP_ADDRESS_DATA A4
B EMP_DATA B1
B EMP_DATA B2
B EMP_DATA B3
B EMP_DATA B4
B EMP_ADDRESS_DATA B1
B EMP_ADDRESS_DATA B2
B EMP_ADDRESS_DATA B3
B EMP_ADDRESS_DATA B4
My basic selecting will be on company_id and then type of data and emp_id
I was thinking of creating a List - Hash or List -List Partition.
Can anyone suggest something else and how to add partition to the existing table will be helpful