<div dir="ltr">Hello Pierre and all<div><br></div><div>I can confirm that the plan was to deprecate v1 storage  :)</div><div><br></div><div>Thanks for the work you are doing on CK !</div><div><br></div><div>Cheers</div><div><br></div><div>   Christophe</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 23, 2021 at 10:18 PM Pierre Riteau <<a href="mailto:pierre@stackhpc.com">pierre@stackhpc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Thomas,</div><div><br></div><div>Storing data frames in SQL is only supported by the v1 storage interface: <a href="https://docs.openstack.org/cloudkitty/latest/admin/configuration/storage.html" target="_blank">https://docs.openstack.org/cloudkitty/latest/admin/configuration/storage.html</a></div><div>The v2 storage interface introduced InfluxDB and Elasticsearch as replacement.</div><div><br></div><div>I believe the plans of the previous core team was to deprecate v1 storage [1], so I am not sure we'll want to put lots of effort in supporting it.</div><div>However feel free to propose a patch, if it's trivial enough I don't see why we wouldn't merge it.</div><div><br></div><div>[1] <a href="https://docs.openstack.org/releasenotes/cloudkitty/stein.html#new-features" target="_blank">https://docs.openstack.org/releasenotes/cloudkitty/stein.html#new-features</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Jul 2021 at 16:25, Thomas Goirand <<a href="mailto:zigo@debian.org" target="_blank">zigo@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Very fast, with only a few resources, the rated_data_frames tables<br>
becomes huge.<br>
<br>
I was very surprised to see there's absolutely zero index in this table.<br>
Isn't a "openstack rating dataframes get" querying this table, with<br>
tenant_id and begin / end as filters? Wouldn't the API calls be a lot<br>
more efficient with such indexes?<br>
<br>
Cheers,<br>
<br>
Thomas Goirand (zigo)<br>
<br>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div><div>----</div><div>Christophe Sauthier</div><div>Directeur Général</div><div><br></div><div>Objectif Libre : Au service de votre Cloud </div><div><br></div><div>+33 (0) 6 16 98 63 96 | <a href="mailto:christophe.sauthier@objectif-libre.com" target="_blank">christophe.sauthier@objectif-libre.com</a></div><div><br></div><div><a href="https://www.objectif-libre.com" target="_blank">https://www.objectif-libre.com</a> | @objectiflibre</div><div>Recevez la Pause Cloud Et DevOps : <a href="https://olib.re/abo-pause" target="_blank">https://olib.re/abo-pause</a></div></div></div>