<div dir="ltr">I'll consult partition with my db team. Thanks for suggestion.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-19 16:50 GMT+01:00 Paul Robert Marino <span dir="ltr"><<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you considered using a less drastic approach like partitioning<br>
some of the tables and tuning the ram.<br>
I some how doubt the single CPU core per query it the problem because<br>
PostgreSQL is very good at handling bulk queries as opposed to lots of<br>
queries for tiny data sets.<br>
<br>
Here is something you can check if  a directory named<br>
/var/lib/pgsql/data/pg_tmp exist on your system then your queries are<br>
exceeding the allowed rem for a single query and PostgreSQL is using<br>
that directory to essentially create swap files for queries if that is<br>
happening you need more ram or you need to tune your PostgreSQL<br>
server.<br>
<br>
Here is a good place to start reading about table partitions<br>
<a href="https://wiki.postgresql.org/wiki/Table_partitioning" target="_blank">https://wiki.postgresql.org/wiki/Table_partitioning</a> that with<br>
constraint exclusion enabled in the config can help a lot with large<br>
data sets.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Nov 19, 2014 at 10:02 AM, Krzysztof Pawłowski<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:msciciel@msciciel.eu">msciciel@msciciel.eu</a>> wrote:<br>
> Ofcourse. But i'll will be planned propably for january. I'll give feedback<br>
> if we encounter problems or not.<br>
><br>
> 2014-11-19 15:49 GMT+01:00 Nahelou Sébastien<br>
> <<a href="mailto:sebastien.nahelou@worldline.com">sebastien.nahelou@worldline.com</a>>:<br>
>><br>
>> Hello<br>
>><br>
>><br>
>><br>
>> I’m very interesting about your migration. Could you please give your<br>
>> feedback when your database migration will be done ?<br>
>><br>
>><br>
>><br>
>> Thanks<br>
>><br>
>><br>
>><br>
>> De : <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a><br>
>> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] De la part de Krzysztof Pawlowski<br>
>> Envoyé : mercredi 19 novembre 2014 15:41<br>
>> À : <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
>> Objet : Re: [Spacewalk-list] Migration from pgsql to oracle<br>
>><br>
>><br>
>><br>
>> 1. I read that oracle is performing much better in bigger spacewalk<br>
>> deployment. I have 1600 clients connected to spacewalk and is impossible to<br>
>> schedule tasks on all hosts. My db team said that pgsql is limited to single<br>
>> core per connections which means that spacewalk cannot utilize db in more<br>
>> efficient way. Maybe (I hope) i'm not aware of configuration options which<br>
>> make this possible ?<br>
>><br>
>> We have oracle support so another instance is not a problem for us. I'll<br>
>> try test export import with db-control.<br>
>><br>
>><br>
>><br>
>> 2014-11-19 12:54 GMT+01:00 Waldirio Manhães Pinheiro <<a href="mailto:waldirio@gmail.com">waldirio@gmail.com</a>>:<br>
>><br>
>> Hello Krzysztof,<br>
>><br>
>><br>
>><br>
>> I see, I've one question for you.<br>
>><br>
>><br>
>><br>
>> 1. Why do you want change from postgresql to Oracle db ?!, do you have<br>
>> Oracle support !? Just because I'm curious :-)<br>
>><br>
>><br>
>><br>
>> What you can do is, build a new machine with SW and Oracle to test, export<br>
>> from SW with postgresql using db-control and import in SW with Oracle using<br>
>> db-control. In theory, the data model is the same changing only the sgdb, so<br>
>> will not get problem about data.<br>
>><br>
>><br>
>><br>
>> Let me know if you have any doubt about it.<br>
>><br>
>><br>
>><br>
>><br>
>> ______________<br>
>> Atenciosamente<br>
>> Waldirio<br>
>> msn: <a href="mailto:waldirio@gmail.com">waldirio@gmail.com</a><br>
>> Skype: waldirio<br>
>> Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>
>> Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a><br>
>><br>
>> LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>
>> PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a><br>
>><br>
>><br>
>><br>
>> On Wed, Nov 19, 2014 at 9:20 AM, Krzysztof Pawłowski<br>
>> <<a href="mailto:msciciel@msciciel.eu">msciciel@msciciel.eu</a>> wrote:<br>
>><br>
>> I know that I can but problem is that my spacewalk has 1000+ clients and<br>
>> is using pgsql as db backend now.<br>
>><br>
>><br>
>><br>
>> 2014-11-19 12:08 GMT+01:00 Waldirio Manhães Pinheiro <<a href="mailto:waldirio@gmail.com">waldirio@gmail.com</a>>:<br>
>><br>
>> Hello Krzysztof, good morning<br>
>><br>
>><br>
>><br>
>> you can use Oracle as backend<br>
>> (<a href="https://fedorahosted.org/spacewalk/wiki/HowToInstall#Databaseserver" target="_blank">https://fedorahosted.org/spacewalk/wiki/HowToInstall#Databaseserver</a>)<br>
>><br>
>><br>
>><br>
>> B'Regards<br>
>><br>
>><br>
>><br>
>><br>
>> ______________<br>
>> Atenciosamente<br>
>> Waldirio<br>
>> msn: <a href="mailto:waldirio@gmail.com">waldirio@gmail.com</a><br>
>> Skype: waldirio<br>
>> Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>
>> Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a><br>
>><br>
>> LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>
>> PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a><br>
>><br>
>><br>
>><br>
>> On Wed, Nov 19, 2014 at 7:42 AM, Krzysztof Pawłowski<br>
>> <<a href="mailto:msciciel@msciciel.eu">msciciel@msciciel.eu</a>> wrote:<br>
>><br>
>> Is there any way to switch db backend to oracle ?<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>><br>
>><br>
>><br>
>> ________________________________<br>
>><br>
>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage<br>
>> exclusif de ses destinataires. Il peut également être protégé par le secret<br>
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir<br>
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne<br>
>> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra<br>
>> être recherchée quant au contenu de ce message. Bien que les meilleurs<br>
>> efforts soient faits pour maintenir cette transmission exempte de tout<br>
>> virus, l'expéditeur ne donne aucune garantie à cet égard et sa<br>
>> responsabilité ne saurait être recherchée pour tout dommage résultant d'un<br>
>> virus transmis.<br>
>><br>
>> This e-mail and the documents attached are confidential and intended<br>
>> solely for the addressee; it may also be privileged. If you receive this<br>
>> e-mail in error, please notify the sender immediately and destroy it. As its<br>
>> integrity cannot be secured on the Internet, the Worldline liability cannot<br>
>> be triggered for the message content. Although the sender endeavours to<br>
>> maintain a computer virus-free network, the sender does not warrant that<br>
>> this transmission is virus-free and will not be liable for any damages<br>
>> resulting from any virus transmitted.<br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div></div></blockquote></div><br></div>