• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple schemas

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I was wondering what might be the pros & cons of separating one app's data in multiple schemas (based on years for example)? The other solution might be to keep it all in one schema and have a naming convention. This is necessary because the data types and length in one (or various) table(s) might vary from year to year.

BTW it's Weblogic on Oracle.

Thanks in advance,
Bojan
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


This is necessary because the data types and length in one (or various) table(s) might vary from year to year


Not sure I understand. Why would they do that?
 
Bojan Knezovic
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's weird, I know.

The data is coming in batch processes that are used by other systems as well. Actually I might say they are built for other systems and we're just hooked up there and using them for our app so we don't have much of the control over them.

One solution might be to decouple the code from the DB and use views, stored proc's etc. But for that I need to know what it the impact of using various schemas, if any... Hence the question. ;)

Thanks,
Bojan
 
reply
    Bookmark Topic Watch Topic
  • New Topic