Hi Virgo,
Below are the details:
CRM_JOB_ITEMS Table - Two seperate indexes on independent columns
Index No. 1. FK_JOB,
Index No. 2. PK_JOB_ITEMS
PK_JOB_ITEMS column is primary key and it also has seperate index on this
single column
There are four other indexes as well on independent columns
-------------------------------
CRM_DOCUMENT_ITEMS Table - No index on "FK_JOB_ITEM" column which is used for
inner join
Index No. 1 - FK_DOCUMENT_HEADER
There are two other indexes as well on independent columns
-------------------------------
CRM_DOCUMENT_HEADER Table - PK_DOCUMENT_HEADER is primary key and having
seperate index on this column as well
There are two other indexes as well on independent columns, one of them index
is on FK_JOB column as well (single column in its index)
With Best Regards.
Vishal
On Thursday, 16 April 2015 1:06 PM, "Virgo Pärna [email protected]
[firebird-support]" <[email protected]> wrote:
On Thu, 16 Apr 2015 07:10:47 +0000 (UTC), Vishal Tiwari
[email protected] [firebird-support] <[email protected]>
wrote:
>
> [-- Type: text/plain, Encoding: quoted-printable --]
>
> @Virgo Pärna: No speed improvement.
>
What are the indexes on all three tables?
--
Virgo Pärna
[email protected]
#yiv2747013542 #yiv2747013542 -- #yiv2747013542ygrp-mkp {border:1px solid
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv2747013542
#yiv2747013542ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv2747013542
#yiv2747013542ygrp-mkp #yiv2747013542hd
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}#yiv2747013542 #yiv2747013542ygrp-mkp #yiv2747013542ads
{margin-bottom:10px;}#yiv2747013542 #yiv2747013542ygrp-mkp .yiv2747013542ad
{padding:0 0;}#yiv2747013542 #yiv2747013542ygrp-mkp .yiv2747013542ad p
{margin:0;}#yiv2747013542 #yiv2747013542ygrp-mkp .yiv2747013542ad a
{color:#0000ff;text-decoration:none;}#yiv2747013542 #yiv2747013542ygrp-sponsor
#yiv2747013542ygrp-lc {font-family:Arial;}#yiv2747013542
#yiv2747013542ygrp-sponsor #yiv2747013542ygrp-lc #yiv2747013542hd {margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv2747013542
#yiv2747013542ygrp-sponsor #yiv2747013542ygrp-lc .yiv2747013542ad
{margin-bottom:10px;padding:0 0;}#yiv2747013542 #yiv2747013542actions
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv2747013542
#yiv2747013542activity
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv2747013542
#yiv2747013542activity span {font-weight:700;}#yiv2747013542
#yiv2747013542activity span:first-child
{text-transform:uppercase;}#yiv2747013542 #yiv2747013542activity span a
{color:#5085b6;text-decoration:none;}#yiv2747013542 #yiv2747013542activity span
span {color:#ff7900;}#yiv2747013542 #yiv2747013542activity span
.yiv2747013542underline {text-decoration:underline;}#yiv2747013542
.yiv2747013542attach
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}#yiv2747013542 .yiv2747013542attach div a
{text-decoration:none;}#yiv2747013542 .yiv2747013542attach img
{border:none;padding-right:5px;}#yiv2747013542 .yiv2747013542attach label
{display:block;margin-bottom:5px;}#yiv2747013542 .yiv2747013542attach label a
{text-decoration:none;}#yiv2747013542 blockquote {margin:0 0 0
4px;}#yiv2747013542 .yiv2747013542bold
{font-family:Arial;font-size:13px;font-weight:700;}#yiv2747013542
.yiv2747013542bold a {text-decoration:none;}#yiv2747013542 dd.yiv2747013542last
p a {font-family:Verdana;font-weight:700;}#yiv2747013542 dd.yiv2747013542last p
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv2747013542
dd.yiv2747013542last p span.yiv2747013542yshortcuts
{margin-right:0;}#yiv2747013542 div.yiv2747013542attach-table div div a
{text-decoration:none;}#yiv2747013542 div.yiv2747013542attach-table
{width:400px;}#yiv2747013542 div.yiv2747013542file-title a, #yiv2747013542
div.yiv2747013542file-title a:active, #yiv2747013542
div.yiv2747013542file-title a:hover, #yiv2747013542 div.yiv2747013542file-title
a:visited {text-decoration:none;}#yiv2747013542 div.yiv2747013542photo-title a,
#yiv2747013542 div.yiv2747013542photo-title a:active, #yiv2747013542
div.yiv2747013542photo-title a:hover, #yiv2747013542
div.yiv2747013542photo-title a:visited {text-decoration:none;}#yiv2747013542
div#yiv2747013542ygrp-mlmsg #yiv2747013542ygrp-msg p a
span.yiv2747013542yshortcuts
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv2747013542
.yiv2747013542green {color:#628c2a;}#yiv2747013542 .yiv2747013542MsoNormal
{margin:0 0 0 0;}#yiv2747013542 o {font-size:0;}#yiv2747013542
#yiv2747013542photos div {float:left;width:72px;}#yiv2747013542
#yiv2747013542photos div div {border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}#yiv2747013542
#yiv2747013542photos div label
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv2747013542
#yiv2747013542reco-category {font-size:77%;}#yiv2747013542
#yiv2747013542reco-desc {font-size:77%;}#yiv2747013542 .yiv2747013542replbq
{margin:4px;}#yiv2747013542 #yiv2747013542ygrp-actbar div a:first-child
{margin-right:2px;padding-right:5px;}#yiv2747013542 #yiv2747013542ygrp-mlmsg
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv2747013542
#yiv2747013542ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv2747013542
#yiv2747013542ygrp-mlmsg select, #yiv2747013542 input, #yiv2747013542 textarea
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv2747013542
#yiv2747013542ygrp-mlmsg pre, #yiv2747013542 code {font:115%
monospace;}#yiv2747013542 #yiv2747013542ygrp-mlmsg *
{line-height:1.22em;}#yiv2747013542 #yiv2747013542ygrp-mlmsg #yiv2747013542logo
{padding-bottom:10px;}#yiv2747013542 #yiv2747013542ygrp-msg p a
{font-family:Verdana;}#yiv2747013542 #yiv2747013542ygrp-msg
p#yiv2747013542attach-count span {color:#1E66AE;font-weight:700;}#yiv2747013542
#yiv2747013542ygrp-reco #yiv2747013542reco-head
{color:#ff7900;font-weight:700;}#yiv2747013542 #yiv2747013542ygrp-reco
{margin-bottom:20px;padding:0px;}#yiv2747013542 #yiv2747013542ygrp-sponsor
#yiv2747013542ov li a {font-size:130%;text-decoration:none;}#yiv2747013542
#yiv2747013542ygrp-sponsor #yiv2747013542ov li
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv2747013542
#yiv2747013542ygrp-sponsor #yiv2747013542ov ul {margin:0;padding:0 0 0
8px;}#yiv2747013542 #yiv2747013542ygrp-text
{font-family:Georgia;}#yiv2747013542 #yiv2747013542ygrp-text p {margin:0 0 1em
0;}#yiv2747013542 #yiv2747013542ygrp-text tt {font-size:120%;}#yiv2747013542
#yiv2747013542ygrp-vital ul li:last-child {border-right:none
!important;}#yiv2747013542