Unix Technical Forum

RE: Enterprise Replication - Primary Key

This is a discussion on RE: Enterprise Replication - Primary Key within the Informix forums, part of the Database Server Software category; --> Just to add my £0.02 worth. I totally endorse all Andrew has said. I have faced a similar requirement ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:21 PM
Simmons, Keith
 
Posts: n/a
Default RE: Enterprise Replication - Primary Key


Just to add my £0.02 worth. I totally endorse all Andrew has said. I have
faced a similar requirement and situation re software and non-design. I've
altered tables to add primary keys where I had a unique index (1 index out
of 3000 !!) and converted other indexes where appropriate to be unique.
Performance has actually improved slightly.
The only downside is we have had the occasional failure where the code isn't
strong enough and attempts to insert a duplicate. When this happens we bug
the software and point out the error of their ways.

Keith

-> -----Original Message-----
-> From: Andrew Hamm [mailto:ahamm@mail.com]
-> Sent: Wednesday, August 06, 2003 4:22 AM
-> To: informix-list@iiug.org
-> Subject: Re: Enterprise Replication - Primary Key
->
->
-> Francisco Roldan wrote:
-> > [SNIP] but i am not in charge of the software application that
-> > runs on my server, I am just the DBA, so the application
-> > administrator refuse to define primary keys and the effect of the
-> > primary keys on the software-application could be very bad ( What
-> > a great software right? ), at least in a short period of time.
->
-> This adminstrator needs to know that IF they have a unique
-> index on a table,
-> then they already have a primary key. The only difference is
-> that a PRIMARY
-> KEY definition also implicitly adds (in effect) a NOT NULL
-> clause to all
-> fields of the primary key. However, "proper design" rarely
-> allows NULL
-> fields in the key so it's highly likely that the data
-> already satisfies this
-> rule.
< MUCH GOOD STUFF SNIPPED >
->


************************************************** ********************************
This message is sent in strict confidence for the addressee only. It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
************************************************** ********************************

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com