Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can see the size of the database in Database properties, Info tab. But this size includes the size of design elements (forms, views, framesets, etc).

Does Lotus Notes provide a way to get only size of the documents in database excluding the size of design elements?

share|improve this question

2 Answers 2

The NotesDocument object has a field called "Size" which will return the value in bytes of a particular documents size.

Link to Javascript call (which has links to LotusScript / Java).

http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/topic/com.ibm.designer.domino.api.doc/r_domino_Document_Size.html

Size is subjective though. While it will tell you the size of the document, if the attachments are compressed then it will report the compressed size. Also DAOS may be a factor as well.

share|improve this answer
    
Actually I am looking for a solution which does not involve any code to be written. Like in Info tab of Database properties it shows Disk space which includes size of documents and design elements. Is their any place where I can see just the size of all documents in database? –  Naveen Jun 5 '13 at 12:09
1  
No, wothout programming this is not possible. For a one time job you could create a view (not to complex to do) showing all documents (without response hierarchy) and one column containing the document size (can be selected without writing code), with a total... This is the least complex solution I can think of. –  Torsten Link Jun 5 '13 at 14:55

Make a design-only copy of the database for reference and record it's size. Then subtract that from the size of the actual database. But note: your result will include the size of your view indexes, and it's not clear to me whether you do or don't want that.

share|improve this answer
    
I am looking for only size of documents. Also something Lotus Notes would provide out of box which my users can directly see. But I don't think its possible. –  Naveen Jun 6 '13 at 5:58
    
Well, I think the idea is that size of documents isn't the only thing that matters. What users really see is two things: the size of documents only, or the size of documents + the view index data associated with those documents. –  rhsatrhs Jun 6 '13 at 13:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.