The other disadvantage I can think of is security. It depends on if it's OK to have the same users able to modify the data as the app. If so, no problem. If it's a problem it's a little more complicated to manage if they are in the same DB.
----------------------------------------------------------------------------- David Lee Lead Engineer MarkLogic Corporation [email protected] Phone: +1 650-287-2531 Cell: +1 812-630-7622 www.marklogic.com This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. > -----Original Message----- > From: [email protected] [mailto:general- > [email protected]] On Behalf Of Shannon > Sent: Friday, June 08, 2012 9:00 AM > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] Same database for modules and data > > Thanks for this thorough response, Danny--Right, content will be rarely if > ever > updated, so it sounds like it'll make maintenance more convenient with no > negative side effects, very good, thanks, > > Shannon ([email protected]) > http://www.facebook.com/uvapress > http://www.twitter.com/uvapress > > On Jun 7, 2012, at 6:00 PM, Danny Sokolsky wrote: > > > Hi Shannon, > > > > If your tiny dataset is read-mostly (that is, if it rarely if ever is > > updated or > added to), then I would say it is OK. The only disadvantage that I know of > with > sharing a modules db with content is that it might cause your modules to need > to be re-cached more often, when other content is loaded. > > > > Also, it depends if you gain any advantages from doing this, which you might > (such as relative paths between your code and your content, ability to back it > all up in one shot, etc). > > > > So it depends. > > > > -Danny > > > > -----Original Message----- > > From: [email protected] [mailto:general- > [email protected]] On Behalf Of Shannon > > Sent: Thursday, June 07, 2012 2:44 PM > > To: General MarkLogic Developer Discussion > > Subject: [MarkLogic Dev General] Same database for modules and data > > > > Hello MarkLogicians, et al., > > > > I am thinking about loading my tiny dataset in my modules database--Is this > an OK practice? Or is it best practice to keep them separate? > > > > Thanks, > > > > Shannon ([email protected]) > > > > _______________________________________________ > > General mailing list > > [email protected] > > http://community.marklogic.com/mailman/listinfo/general > > _______________________________________________ > > General mailing list > > [email protected] > > http://community.marklogic.com/mailman/listinfo/general > > _______________________________________________ > General mailing list > [email protected] > http://community.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://community.marklogic.com/mailman/listinfo/general
