<div dir="ltr">I would be happy if we can lose vds_dynamic all together, and just keep vds_static and vds_statistics. Our performance will be happy too ;-)<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 4:33 PM, Eli Mesika <span dir="ltr">&lt;<a href="mailto:emesika@redhat.com" target="_blank">emesika@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Gilad Chaplik&quot; &lt;<a href="mailto:gchaplik@redhat.com">gchaplik@redhat.com</a>&gt;<br>
&gt; To: &quot;Yair Zaslavsky&quot; &lt;<a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a>&gt;<br>
&gt; Cc: &quot;engine-devel&quot; &lt;<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
&gt; Sent: Thursday, April 3, 2014 4:00:25 PM<br>
&gt; Subject: Re: [Engine-devel] vds_dynamic refactor<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Yair Zaslavsky&quot; &lt;<a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a>&gt;<br>
&gt; &gt; To: &quot;Liran Zelkha&quot; &lt;<a href="mailto:liran.zelkha@gmail.com">liran.zelkha@gmail.com</a>&gt;<br>
&gt; &gt; Cc: &quot;Gilad Chaplik&quot; &lt;<a href="mailto:gchaplik@redhat.com">gchaplik@redhat.com</a>&gt;, &quot;engine-devel&quot;<br>
&gt; &gt; &lt;<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
&gt; &gt; Sent: Thursday, April 3, 2014 2:12:59 PM<br>
&gt; &gt; Subject: Re: [Engine-devel] vds_dynamic refactor<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Liran Zelkha&quot; &lt;<a href="mailto:liran.zelkha@gmail.com">liran.zelkha@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Gilad Chaplik&quot; &lt;<a href="mailto:gchaplik@redhat.com">gchaplik@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: &quot;engine-devel&quot; &lt;<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; Sent: Thursday, April 3, 2014 2:04:29 PM<br>
&gt; &gt; &gt; Subject: Re: [Engine-devel] vds_dynamic refactor<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Why not move it to vds_static?<br>
&gt; &gt;<br>
&gt; &gt; +1 on Liran&#39;s comment.<br>
<br>
+1 as well , vds_static is the place for that<br>
<br>
&gt; &gt; I would prefer not to add more complexity to the  vds tables family.<br>
&gt; &gt; Such complexity may effect performs of queries/views.<br>
&gt; &gt; If you wish, you can create a view on top of vds_static named vds_on_boot<br>
&gt; &gt; for<br>
&gt; &gt; querying of vds on boot info.<br>
&gt; &gt;<br>
&gt; &gt; Yair<br>
&gt;<br>
&gt; That means moving almost all of vds_dynamic into vds_static except of memory,<br>
&gt; pending resources and status (maybe more but not much);<br>
&gt; and there will not be any db separation between user input and on_boot data.<br>
<br>
Why we should have such separation ?<br>
<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Gilad.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Apr 3, 2014 at 2:00 PM, Gilad Chaplik &lt;<a href="mailto:gchaplik@redhat.com">gchaplik@redhat.com</a>&gt;<br>
&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi list,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I propose to split vds_dynamic table into 2 tables:<br>
&gt; &gt; &gt; &gt; - vds_dynamic<br>
&gt; &gt; &gt; &gt; - vds_on_boot<br>
&gt; &gt; &gt; &gt; We need a place to put all non-dynamic data that gets updated once the<br>
&gt; &gt; &gt; &gt; host is booted, and I think dynamic isn&#39;t the place for it.<br>
&gt; &gt; &gt; &gt; In first phase we will put there NUMA host topoplogy, but later on<br>
&gt; &gt; &gt; &gt; migrate<br>
&gt; &gt; &gt; &gt; all non-dynamic host data (cpu, os, etc.).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; thoughts?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt; Gilad.<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Engine-devel mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Engine-devel mailing list<br>
&gt; &gt; &gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Engine-devel mailing list<br>
&gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt;<br>
_______________________________________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
</blockquote></div><br></div></div>