Forum OpenACS Q&A: installing only some packages in 3.2.5?

<newbie hat on>
When I re-built the oACS datamodel to use new-file-storage, I chose
not to rebuild the whole thing.  I figured I'd never want the
ecommerce module (or several others), so I commented them out of the
load-data-model.sql file.  With the exception of one time where I
discovered that I DID need a particular sql file (and had to read it
in), I have all the functionality I want.

My question, since I have another install ahead of me (on a different
box) is:  is there any good reason to do this?  Basically, I'm
wondering if there's any real performance gain to be realized by not
bothering to create tables that would be empty anyway?

(One advantage when I first started was that it was easier to figure
out what the remaining tables did, since I didn't have to wade through
tables for modules that I won't use.  But the flip side is that I'll
need to load any other modules that I want as I want them.)

<newbie hat off>

Thanks!

Collapse
Posted by Roberto Mello on
The only reason for you to do this would be to learn something about the system. It wouldn't bring any performance gain whatsoever, save for the time it takes to load the datamodel.

What would probably bring a performance gain would be to remove the .tcl files of the modules you're not using from the tcl library directory, so they are not loaded at start-up.

Collapse
Posted by Jonathan Ellis on
Roberto is correct.  Removing most of the unnecessary (to me) tcl library files reduced the initial memory usage (i.e. right after it finishes sourcing the library after a restart) of AOLServer from over 21M to about 9M.