The Scenario:
We have some data that can be in three states. One is a saved state,
a temporary state, and a complete state.
The complete state is the bulk of the data. This data will be
requested 1% of the time, maybe even less.
The saved state and temporary state will only number 10-15 records.
This data will be used 99% of the time, very frequently.
So to summarize there will be 10-15 records that will be used ALL the
time…. And 50,000-100,000 that will be used very infrequently.
The programmer that I work with wants to combine the tables. I want
to keep the tables sepperate.
My logic is that it will be much faster to work with 10-15 records
than sift threw 50-100k most of which are unnecessary to 99% of the
requests. Also there are frequent deletions/modifications in the
temporary table(10-15 records). The complete table can NOT have
modifications or deletions (50-100k records). The optimization for
these tables is also very different.
He says that since the structures are almost identical they should be
in the same table, that we should just use a field to denote the
different types of records. He insists that my view is wrong and that
I know nothing about databases.
I may be new to SQL, but am I really that out to lunch? Would it not
make sense to keep these tables separate?
(Thank you for taking the time to read this)
Sat
We have some data that can be in three states. One is a saved state,
a temporary state, and a complete state.
The complete state is the bulk of the data. This data will be
requested 1% of the time, maybe even less.
The saved state and temporary state will only number 10-15 records.
This data will be used 99% of the time, very frequently.
So to summarize there will be 10-15 records that will be used ALL the
time…. And 50,000-100,000 that will be used very infrequently.
The programmer that I work with wants to combine the tables. I want
to keep the tables sepperate.
My logic is that it will be much faster to work with 10-15 records
than sift threw 50-100k most of which are unnecessary to 99% of the
requests. Also there are frequent deletions/modifications in the
temporary table(10-15 records). The complete table can NOT have
modifications or deletions (50-100k records). The optimization for
these tables is also very different.
He says that since the structures are almost identical they should be
in the same table, that we should just use a field to denote the
different types of records. He insists that my view is wrong and that
I know nothing about databases.
I may be new to SQL, but am I really that out to lunch? Would it not
make sense to keep these tables separate?
(Thank you for taking the time to read this)
Sat
Comment