Excellent !!!
A reader, October 01, 2007 - 7:13 am UTC
Use database controls
Bill B, October 01, 2007 - 9:49 am UTC
The way to fix your problem is to have the database objects in one schema and the developers logging in to another schema that ONLY has insert/delete/update privileges on the tables. Use a login trigger to change their default schema and they will never be able to issue any schema.
don't quite understand
Sokrates, October 01, 2007 - 3:31 pm UTC
Tom,
you say
a. "DDL is code, code is code, code needs to be configuration managed. " (I agree)
b. "Code - that comes and goes ... data models, the physical structures - they live for decades"
I don't understand. Don't a. and b. contradict a bit each other ?
(by the way, because of a., why isn't there a configuration management tool built into Oracle - or are there plans to do so ? - or is there already s.th. in 11g ?)
We have (in ideal)
I. Code that is in the database (packages that deliver interfaces clients can use to access/modify the data)
II. "Client code" accessing I.
ok ? (at least I think I learnt that from you)
"I would be against development have the ability to effect schema changes in any environment outside of their own individual testing areas." - I don't see it like that.
My opinion:
- don't think "schema"
- rather think "interface accessing/modifying data"
So, I would't separate data modellers and developpers at all - data modelling *IS* developping
Of course they have to separate different applications probably accessig the same data, but that's there responsibility
Am I completely wrong ?
October 03, 2007 - 4:33 pm UTC
no, they do not contradict eachother - I was pointing out that we configuration manage stuff that is so transitory, but we don't do that for the really important stuff - the stuff we'll be living with for years.
configuration management is done outside of the database by various tools.
I did not understand the last bits there.
changes to a shared environment - be it placing new code in or modifying a structure - has to be coordinated and controlled.
thing of a database table like a C struct.
and a schema like a ".h" file.
DDL Configuration Management
MartinT, October 04, 2007 - 9:36 pm UTC
If the DDL is being managed properly by the data modellers their configuration management tool should be Designer 2000 or something similar. The developers can do what they want in test but the only DDL that gets implemented into production is that generated from the physical model. Isn't it?