Minimal deployment of couchdb on windows

I would like to use couchdb for a client application on Windows (the document-oriented structure and synchronization functions are ideal for me).

There is a Windows installer package here , but the installer itself has about 45 MB, during installation it takes up more than 100 MB on my HD, This is a lot for my (relatively small) application.

I noticed that there are many src directories in the couchdb/lib subdirectories. I experimented with deleting some of them, and it didn't seem to crash the system.

Now I'm wondering what the “minimal” set of files will be (preferably only binary), which will be needed to run the local couchdb server. Are any efforts already being made to create such an easy-to-install installer? Or can someone give some (even very general) tips on how to create it? How much disk space would be minimally necessary for such an installation?

Needless to say, I am completely new to neither the internal elements of couchdb nor the Erlang system :). But maybe I could find out if I have any direction (or I could stop trying if someone told me that this would be impossible or not at all meaningful ...)

Thanks anyway!

EDIT

Thanks to scaffmann, I did an analysis using WinDirStat, which led me to the following additional questions:

  • Is it right that the files with the source files (i.e. .erl ) are not needed to work? (This will reduce the size by about 40 MB).
  • All compiled files (i.e. .beam ) needed for couchdb? For example, couchdb has a complete wxwidgets library, and I don’t see where it is needed at all. Also the megaco library (media gateway protocol?), Apparently, refers to the "standard" erlang distributions, but does not make sense for couchdb?

(I’ll just try to delete them by file / library and post updates here just in case anyone is interested ...)

+6
windows erlang couchdb
source share
1 answer

I just ran WinDirStat on top of my windows couchdb installation and it pretty lights up, showing you where all the space is occupied,

  119.7 MB D:\apps\CouchDB 93.5 MB D:\apps\CouchDB\lib 20.0 MB D:\apps\CouchDB\bin 3.9 MB D:\apps\CouchDB\erts-5.7.3 1.0 MB D:\apps\CouchDB\<Files> 932.1 KB D:\apps\CouchDB\share 323.7 KB D:\apps\CouchDB\var 39.2 KB D:\apps\CouchDB\releases 5.8 KB D:\apps\CouchDB\etc 93.5 MB D:\apps\CouchDB\lib 28.2 MB D:\apps\CouchDB\lib\megaco-3.11.3 8.0 MB D:\apps\CouchDB\lib\wx-0.98.3 6.4 MB D:\apps\CouchDB\lib\erl_interface-3.6.3 4.8 MB D:\apps\CouchDB\lib\stdlib-1.16.3 4.0 MB D:\apps\CouchDB\lib\snmp-4.13.5 3.0 MB D:\apps\CouchDB\lib\xmerl-1.2.1 2.6 MB D:\apps\CouchDB\lib\compiler-4.6.3 2.6 MB D:\apps\CouchDB\lib\asn1-1.6.11 2.6 MB D:\apps\CouchDB\lib\hipe-3.7.3 2.4 MB D:\apps\CouchDB\lib\cosNotification-1.1.11 2.3 MB D:\apps\CouchDB\lib\kernel-2.13.3 2.3 MB D:\apps\CouchDB\lib\orber-3.6.13 1.9 MB D:\apps\CouchDB\lib\inets-5.1.3 1.8 MB D:\apps\CouchDB\lib\ssl-3.10.4 1.7 MB D:\apps\CouchDB\lib\mnesia-4.4.11 1.3 MB D:\apps\CouchDB\lib\tools-2.6.4 1.1 MB D:\apps\CouchDB\lib\dialyzer-2.0.0 1.1 MB D:\apps\CouchDB\lib\public_key-0.3 1.1 MB D:\apps\CouchDB\lib\debugger-3.2 

It looks like you can remove large chunks of things, and WinDirStat will tell you which bits to focus on.

+1
source share

All Articles