On Wed, 7 Aug 2013, Nulik Nol wrote:
> thanks Dan,
> i meant like PRIMARY KEY in a RDBMS, or Key for NoSQL (key-value pair)
> database to perform put() get() operations. Well, if it is string then
> it's ok, I can print binary keys in HEX or uuencode or something like
> that.
> Is there a limit on maximum string length for object name?

It is pretty long.. I think 4096 characters, although things are not quite 
as efficient on the backend when names are long.

sage

> 
> Regards
> Nulik
> 
> On Tue, Aug 6, 2013 at 4:08 PM, Dan Mick <dan.m...@inktank.com> wrote:
> > No minumum object size.  As for key, not sure what you mean; the closest
> > thing to an object 'key' is its name, but it's obvious from routines like
> > rados_read() and rados_write() that that's a const char *.  Did you mean
> > some other key?
> >
> >
> > On 08/06/2013 12:13 PM, Nulik Nol wrote:
> >>
> >> Hi,
> >>
> >> when using the C api (RADOS) what is the minimum object size ? And
> >> what is the key type ? (uint64_t, char[], or something like that ?)
> >>
> >> TIA
> >> Nulik
> >> _______________________________________________
> >> ceph-users mailing list
> >> ceph-users@lists.ceph.com
> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>
> >
> > --
> > Dan Mick, Filesystem Engineering
> > Inktank Storage, Inc.   http://inktank.com
> > Ceph docs: http://ceph.com/docs
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to