On Fri, Aug 17, 2012 at 1:09 PM, Wido den Hollander <wido@xxxxxxxxx> wrote: > So yes: "Give me all objects that have foo=bar" > > I thought I saw some discussion regarding this. > > Any ideas besides setting up a own external database with this information? What you want is called a secondary index. Ceph does not maintain one for you. You pretty much have two choices: 1,. use an external service, such as ElasticSearch 2. manage the secondary index yourself: for every key "foo" you want to query for: - as you set object "quux" key "foo" to value "bar", in another pool, set object "foo" key "bar:quux" to value "" (assuming ":" is a safe separator that cannot be in "bar") - on delete, remove the above - on modify, remove old value, add new one - to handle larger scale, shard the index over multiple objects etc. There's a lot of prior art in the nosql ecosystem about this stuff. You could probably take Solandra and port that on top of RADOS instead of Cassandra, fi you really wanted to. https://github.com/tjake/Solandra/ -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html