Click here to Skip to main content
15,903,030 members
Home / Discussions / Database
   

Database

 
AnswerRe: complicated select Pin
Mycroft Holmes3-Mar-11 13:52
professionalMycroft Holmes3-Mar-11 13:52 
GeneralRe: complicated select Pin
benams4-Mar-11 7:35
benams4-Mar-11 7:35 
GeneralRe: complicated select Pin
Mycroft Holmes4-Mar-11 12:49
professionalMycroft Holmes4-Mar-11 12:49 
QuestionOracle Multiple schemas Vs single schemas Pin
V.2-Mar-11 20:11
professionalV.2-Mar-11 20:11 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Jörgen Andersson2-Mar-11 21:08
professionalJörgen Andersson2-Mar-11 21:08 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Mycroft Holmes2-Mar-11 22:17
professionalMycroft Holmes2-Mar-11 22:17 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
PIEBALDconsult3-Mar-11 1:56
mvePIEBALDconsult3-Mar-11 1:56 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Wendelius4-Mar-11 10:28
mentorWendelius4-Mar-11 10:28 
Hi,

Somekind of list of thoughts on this issue:
- security is a good point. Although security can be enforced on many different levels you can use owner permissions for example in packages. This helps to handle common security problems.
- logical design. If you separate the objects to different schemas based on the data they hold, it's easier to understand the database design (and usage) especially in bigger databases.
- backups and other DDL operations. Many of the operations can be done schema based. For example you can export a certain schema so this helps in administrative tasks
- usage in applications. This is two folded, you can either define the schema in applications (like SELECT ... FROM schema.table) or you can use public synonyms to hide the structure. Public synonyms are bad in situations where you actually need for example a table with the same name twice in the database but otherwise they should simplify the use in the apps.
- isolation. Using different schemas you can isolate different portions of the database more easily (a bit same as the security) but again this can be done in multiple ways.


V. wrote:
Another option would be to seperate tablespaces, but use the same schema

This is a totally different issue. Tablespace is used to define the actual storage place for an object regardless of the schema. A simple situation is that you have a table and an index on it. In optimal case they are stored on different disks so they would be stored on different tablespaces even though they both would be defined in the same schema. So tablespace is just a way to define physical storage place without defining the actual file (since tablespace can contain multiple files).
The need to optimize rises from a bad design.My articles[^]

GeneralRe: Oracle Multiple schemas Vs single schemas Pin
V.4-Mar-11 10:48
professionalV.4-Mar-11 10:48 
GeneralRe: Oracle Multiple schemas Vs single schemas Pin
Wendelius4-Mar-11 10:54
mentorWendelius4-Mar-11 10:54 
QuestionHow to write a SQL query to present values horizontally sql server 2005 Pin
Tridip Bhattacharjee1-Mar-11 20:10
professionalTridip Bhattacharjee1-Mar-11 20:10 
AnswerRe: How to write a SQL query to present values horizontally sql server 2005 Pin
Jörgen Andersson1-Mar-11 20:27
professionalJörgen Andersson1-Mar-11 20:27 
AnswerRe: How to write a SQL query to present values horizontally sql server 2005 Pin
Mycroft Holmes1-Mar-11 21:49
professionalMycroft Holmes1-Mar-11 21:49 
GeneralRe: How to write a SQL query to present values horizontally sql server 2005 Pin
Wendelius4-Mar-11 10:37
mentorWendelius4-Mar-11 10:37 
AnswerRe: How to write a SQL query to present values horizontally sql server 2005 Pin
PIEBALDconsult2-Mar-11 2:18
mvePIEBALDconsult2-Mar-11 2:18 
Questiondatabase design Pin
wjbjnr1-Mar-11 9:27
wjbjnr1-Mar-11 9:27 
AnswerRe: database design Pin
Mycroft Holmes1-Mar-11 21:52
professionalMycroft Holmes1-Mar-11 21:52 
AnswerRe: database design Pin
thatraja2-Mar-11 12:32
professionalthatraja2-Mar-11 12:32 
AnswerRe: database design Pin
V.2-Mar-11 20:14
professionalV.2-Mar-11 20:14 
AnswerRe: database design Pin
Wendelius4-Mar-11 10:34
mentorWendelius4-Mar-11 10:34 
QuestionCan't get my query to work on a form! Pin
venomation1-Mar-11 3:06
venomation1-Mar-11 3:06 
Questionif database crashes how to recover in sql server 2008 Pin
vinu.111128-Feb-11 21:15
vinu.111128-Feb-11 21:15 
AnswerRe: if database crashes how to recover in sql server 2008 Pin
Mycroft Holmes28-Feb-11 23:01
professionalMycroft Holmes28-Feb-11 23:01 
GeneralRe: if database crashes how to recover in sql server 2008 Pin
vinu.11111-Mar-11 1:26
vinu.11111-Mar-11 1:26 
GeneralRe: if database crashes how to recover in sql server 2008 Pin
Corporal Agarn1-Mar-11 3:38
professionalCorporal Agarn1-Mar-11 3:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.