couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Landolt <d...@deanlandolt.com>
Subject Re: Considerations for lots and lots of databases?
Date Sat, 10 Jan 2009 19:23:23 GMT
On Sat, Jan 10, 2009 at 2:03 PM, Jan Lehnardt <jan@apache.org> wrote:

>
> On 10 Jan 2009, at 19:41, Antony Blakey wrote:
>
>> In addition, if you name your databases "foo/bar" CouchDB will actually
>>> create that as a structure on disk to avoid running into trouble with
>>> filesystems that don't like a lot of files in a single directory.
>>>
>>> Setups with 1 million databases representing users have been tested
>>> successfully.
>>>
>>
>> Hmmm. The filesystem layout changes that I've proofed, and had accepted
>> for incorporation, changes this. Filenames are munged to allow arbitrary
>> characters, and so '/' is escaped.
>>
>
> Would it be possible to keep the current behaviour or deal with the
> issue of lots of files in a single directory in another way?
>
> Cheers
> Jan
> --
>

I understand the need to escape everything, but would it be too difficult to
split on '/' and and escape each part? This is the first I'm learning of
this feature and I'm already missing it.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message