• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple schemas

 
Bojan Knezovic
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • 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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic