For my business app using Oracle 11.2.0 as the backend, we're going to have a series of tables Foo{0}, where {0} is a date, and there will be one table for each month end (long story on why this is required, but those are my marching orders). Each table will have a primary key constraint and an index, using the same columns for all tables. Instead of defining a constraint and index for all tables, is it possible to create one of each and apply those to all tables? Thanks for any help.
1
votes
Why don't you create a single table and partition that by the date?
- a_horse_with_no_name
@a_horse_with_no_name - probably because Partitioning is a chargeable extra to the Enterprise Edition licence and hence expensive.
- APC
The main problem right now is scale; we currently have all that data in one table, but due to the app requirements, it creates a lot of redundant data. We're migrating to SQL/Azure soon, so we're trying to find ways to reduce those redundancies. Each month, approximately 25,000 records are written with over 100 columns each in those tables.
- Joe
2 Answers
2
votes
1
votes