Re: Indexed key or multiple schemas
> The queries will be always be using one and only one site_id.
Don't you want
INDEX(site_id)
Probably splitting into 100 pairs of tables is more work than it is worth. What you have is fairly simple, and fairly efficient.
The insert rate is "yawn".
If the SELECTs JOIN the two tables, while fetching based on site (_AND_ you add the index, above), then it will be plenty efficient.
Subject
Written By
Posted
Re: Indexed key or multiple schemas
June 24, 2011 10:50PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.