openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17830
Re: [ceilometer] Potential New Use Cases
On Thu, Oct 25 2012, Doug Hellmann wrote:
>> IIUC, what's need here is a GROUP BY operator in the API.
>>
>> Correct me if I'm wrong, but this is still doable via the API if you
>> request /users/<user>/meters/instance and treats the events in the
>> client, no?
>>
>
> It is possible, but very very inefficient.
Oh, sure it is. But adding feature and making things more efficient are
different things. :)
> Querying against arbitrary metadata fields is easy in the MongoDB driver,
> but not in the SQLAlchemy driver. Adding explicit handling for dimensions
> would let us implement it in SQL and improve performance with indexes in
> Mongo.
Ah, thanks to remind me how ORM are bad and that we now have to fight
against it. :)
I wish we could use JSON native type from PostgreSQL directly and be
efficient!
--
Julien Danjou
# Free Software hacker & freelance
# http://julien.danjou.info
Attachment:
pgpSFW37MJ9w4.pgp
Description: PGP signature
Follow ups
References
-
[ceilometer] *NEW TIME* Metering meeting agenda for Thursday at 15:00 UTC (Sept 5th, 2012)
From: Nick Barcet, 2012-09-05
-
Re: [ceilometer] *NEW TIME* Metering meeting agenda for Thursday at 15:00 UTC (Sept 5th, 2012)
From: Nick Barcet, 2012-09-06
-
[ceilometer] Potential New Use Cases
From: Dan Dyer, 2012-10-24
-
Re: [ceilometer] Potential New Use Cases
From: Julien Danjou, 2012-10-24
-
Re: [ceilometer] Potential New Use Cases
From: Angus Salkeld, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Julien Danjou, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Angus Salkeld, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Julien Danjou, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Doug Hellmann, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Julien Danjou, 2012-10-25
-
Re: [ceilometer] Potential New Use Cases
From: Doug Hellmann, 2012-10-25