It is probably the best choice on solaris, but you would probably be
better off on XFS/ext4 on linux.
> I'm wondering how performance is affected since, as I
> understand it, zfs writes everything to disk immediately while mongo
> is intentionally only fsync-ing every 60 seconds.
I don't think it is actually flushing after every write. Especially
since it isn't really possible with mmap.
> Will zfs slow things down?
We've heard reports of slowdowns due to it's copy-on-write behavior
leading to objects being out-of-order on disk and needing more
seeking. To some extent, MongoDB's performance (both read and write)
relies on in-place updating.
That said, there may be ways to disable COW on ZFS since most
databases expect in-place updates. However I am not enough of an
expert in ZFS to know how to do this. You may already have it set up
that way for MySQL.
> If we do use zfs, does that mean we don't need to run MongoDB with the
> --journal flag turned on?
No, you still need --journal if you want durability.
> Thanks in advance for your help.
>
> Trevor
>
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>