<div><div class="gmail_quote">On Wed, Aug 17, 2011 at 12:54 PM, Jan Pazdziora <span dir="ltr"><<a href="mailto:jpazdziora@redhat.com">jpazdziora@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Aug 17, 2011 at 09:18:25AM -0600, Jeremy Davis wrote:<br>
> Hello All,<br>
><br>
> I have this issue with slowness but the index does exist. It is somewhat<br>
> quick for repositories that only hve like 2 or 3 package but repositories<br>
> that have more than 300 it takes a while to process new packages. Any ideas<br>
> as to what might be the cause? Thank you for your time and have a great day!<br>
<br>
</div>You should find out if it's the database or something else where<br>
most CPU time is spent, and if it's the database system, find out<br>
which query it spends its cycles. Then get the execution (explain) plan<br>
for the query and see if it could be made faster.<br>
<font color="#888888"><br><br></font></blockquote><div><br></div><div> Hello Jan,</div><div><br></div><div>It appears to be the Spacewalk-repo-sync and Java applications that are taking up the most CPU time when performing yum repository syncs. The database almost looks like it is idle. The database server is a standalone server.<br>
</div><div><br></div><div>Regards,</div><div>Jeremy</div></div>
</div>