I'm asking those who were already dealing with this situation to share their experience.
Use case :
A business Order comes to a system > becomes active > order is accepted or expired > pending for processing > fulfilled either successfully or not.
You see ? There are at least 4 states of the entity. What I'm doing is that I have a main Table "Order" and then four other tables that contain only orderIds (active, expired, pending, fulfilled) and I'm doing JOINS when querying for orders in different states.
This way the huge table Order is being only read but not written to, so that it is very effective from the performance point of view...
What are your techniques for this use case ?