Sorry SET, but this is an existing database, I understand your point and 
completely agree with you. Shall I try droping that index then ? What you 
suggest ?
 


     On Thursday, 16 April 2015 1:35 PM, "Svein Erling Tysvær 
svein.erling.tysv...@kreftregisteret.no [firebird-support]" 
<firebird-support@yahoogroups.com> wrote:
   

     >CRM_DOCUMENT_HEADER Table - PK_DOCUMENT_HEADER is primary key and having 
seperate index on this column as well

What do you mean by this, Vishal?

I think it was fixed a while ago, but duplicate indexes used to confuse the 
optimizer, so PK_DOCUMENT_HEADER ought not to be both the primary key and have 
a separate single-field index (unless the PK or index is DESCENDING or consists 
of more than one field) - at best it makes INSERTs marginally slower due to 
having to maintain two identical indexes.

Set
  #yiv8332934632 #yiv8332934632 -- #yiv8332934632ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8332934632 
#yiv8332934632ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8332934632 
#yiv8332934632ygrp-mkp #yiv8332934632hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv8332934632 #yiv8332934632ygrp-mkp #yiv8332934632ads 
{margin-bottom:10px;}#yiv8332934632 #yiv8332934632ygrp-mkp .yiv8332934632ad 
{padding:0 0;}#yiv8332934632 #yiv8332934632ygrp-mkp .yiv8332934632ad p 
{margin:0;}#yiv8332934632 #yiv8332934632ygrp-mkp .yiv8332934632ad a 
{color:#0000ff;text-decoration:none;}#yiv8332934632 #yiv8332934632ygrp-sponsor 
#yiv8332934632ygrp-lc {font-family:Arial;}#yiv8332934632 
#yiv8332934632ygrp-sponsor #yiv8332934632ygrp-lc #yiv8332934632hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8332934632 
#yiv8332934632ygrp-sponsor #yiv8332934632ygrp-lc .yiv8332934632ad 
{margin-bottom:10px;padding:0 0;}#yiv8332934632 #yiv8332934632actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8332934632 
#yiv8332934632activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8332934632
 #yiv8332934632activity span {font-weight:700;}#yiv8332934632 
#yiv8332934632activity span:first-child 
{text-transform:uppercase;}#yiv8332934632 #yiv8332934632activity span a 
{color:#5085b6;text-decoration:none;}#yiv8332934632 #yiv8332934632activity span 
span {color:#ff7900;}#yiv8332934632 #yiv8332934632activity span 
.yiv8332934632underline {text-decoration:underline;}#yiv8332934632 
.yiv8332934632attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv8332934632 .yiv8332934632attach div a 
{text-decoration:none;}#yiv8332934632 .yiv8332934632attach img 
{border:none;padding-right:5px;}#yiv8332934632 .yiv8332934632attach label 
{display:block;margin-bottom:5px;}#yiv8332934632 .yiv8332934632attach label a 
{text-decoration:none;}#yiv8332934632 blockquote {margin:0 0 0 
4px;}#yiv8332934632 .yiv8332934632bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv8332934632 
.yiv8332934632bold a {text-decoration:none;}#yiv8332934632 dd.yiv8332934632last 
p a {font-family:Verdana;font-weight:700;}#yiv8332934632 dd.yiv8332934632last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8332934632 
dd.yiv8332934632last p span.yiv8332934632yshortcuts 
{margin-right:0;}#yiv8332934632 div.yiv8332934632attach-table div div a 
{text-decoration:none;}#yiv8332934632 div.yiv8332934632attach-table 
{width:400px;}#yiv8332934632 div.yiv8332934632file-title a, #yiv8332934632 
div.yiv8332934632file-title a:active, #yiv8332934632 
div.yiv8332934632file-title a:hover, #yiv8332934632 div.yiv8332934632file-title 
a:visited {text-decoration:none;}#yiv8332934632 div.yiv8332934632photo-title a, 
#yiv8332934632 div.yiv8332934632photo-title a:active, #yiv8332934632 
div.yiv8332934632photo-title a:hover, #yiv8332934632 
div.yiv8332934632photo-title a:visited {text-decoration:none;}#yiv8332934632 
div#yiv8332934632ygrp-mlmsg #yiv8332934632ygrp-msg p a 
span.yiv8332934632yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8332934632 
.yiv8332934632green {color:#628c2a;}#yiv8332934632 .yiv8332934632MsoNormal 
{margin:0 0 0 0;}#yiv8332934632 o {font-size:0;}#yiv8332934632 
#yiv8332934632photos div {float:left;width:72px;}#yiv8332934632 
#yiv8332934632photos div div {border:1px solid 
#666666;height:62px;overflow:hidden;width:62px;}#yiv8332934632 
#yiv8332934632photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8332934632
 #yiv8332934632reco-category {font-size:77%;}#yiv8332934632 
#yiv8332934632reco-desc {font-size:77%;}#yiv8332934632 .yiv8332934632replbq 
{margin:4px;}#yiv8332934632 #yiv8332934632ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv8332934632 #yiv8332934632ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8332934632 
#yiv8332934632ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8332934632 
#yiv8332934632ygrp-mlmsg select, #yiv8332934632 input, #yiv8332934632 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv8332934632 
#yiv8332934632ygrp-mlmsg pre, #yiv8332934632 code {font:115% 
monospace;}#yiv8332934632 #yiv8332934632ygrp-mlmsg * 
{line-height:1.22em;}#yiv8332934632 #yiv8332934632ygrp-mlmsg #yiv8332934632logo 
{padding-bottom:10px;}#yiv8332934632 #yiv8332934632ygrp-msg p a 
{font-family:Verdana;}#yiv8332934632 #yiv8332934632ygrp-msg 
p#yiv8332934632attach-count span {color:#1E66AE;font-weight:700;}#yiv8332934632 
#yiv8332934632ygrp-reco #yiv8332934632reco-head 
{color:#ff7900;font-weight:700;}#yiv8332934632 #yiv8332934632ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv8332934632 #yiv8332934632ygrp-sponsor 
#yiv8332934632ov li a {font-size:130%;text-decoration:none;}#yiv8332934632 
#yiv8332934632ygrp-sponsor #yiv8332934632ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv8332934632 
#yiv8332934632ygrp-sponsor #yiv8332934632ov ul {margin:0;padding:0 0 0 
8px;}#yiv8332934632 #yiv8332934632ygrp-text 
{font-family:Georgia;}#yiv8332934632 #yiv8332934632ygrp-text p {margin:0 0 1em 
0;}#yiv8332934632 #yiv8332934632ygrp-text tt {font-size:120%;}#yiv8332934632 
#yiv8332934632ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv8332934632 

  
          • ... Svein Erling Tysvær svein.erling.tysv...@kreftregisteret.no [firebird-support]
  • ... Robert martin r...@chreos.com [firebird-support]
    • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]
      • ... Robert martin r...@chreos.com [firebird-support]
  • ... Virgo Pärna virgo.pa...@mail.ee [firebird-support]
    • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]
      • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]
        • ... Virgo Pärna virgo.pa...@mail.ee [firebird-support]
          • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]
            • ... Svein Erling Tysvær svein.erling.tysv...@kreftregisteret.no [firebird-support]
              • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]
              • ... Vishal Tiwari vishuals...@yahoo.co.in [firebird-support]

Reply via email to