[openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

gordon chung gord at live.ca
Thu Sep 25 15:51:23 UTC 2014


> mysql> select count(*) from metadata_text;
> +----------+
> | count(*) |
> +----------+
> | 25249913 |
> +----------+
> 1 row in set (3.83 sec)> 
> There were 25M records in one table.  The deletion time is reaching an
> unacceptable level (7 minutes for 4M records) and it was not increasing
> in a linear way.  Maybe DB experts can show me how to optimize this?
we don't do any customisations in default ceilometer package so i'm sure there's way to optimise... not sure if any devops ppl read this list. 
> Another question: does the mongodb backend support events now?
> (I asked this question in IRC, but, just as usual, no response from
> anyone in that community, no matter a silly question or not is it...)
regarding events, are you specifically asking about events (http://docs.openstack.org/developer/ceilometer/events.html) in ceilometer or using events term in generic sense? the table above has no relation to events in ceilometer, it's related to samples and corresponding resource.  we did do some remodelling of sql backend this cycle which should shrink the size of the metadata tables.
there's a euro-bias in ceilometer so you'll be more successful reaching people on irc during euro work hours... that said, you'll probably get best response by posting to list or pinging someone on core team directly.
cheers,gord 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140925/fafe3a86/attachment.html>


More information about the OpenStack-dev mailing list