<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-26049584.post3986027673227629526..comments</id><updated>2009-12-08T08:51:49.886-05:00</updated><title type='text'>Comments on Creative code and cuisine: SnTT: tracking down space hogs in Notes</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.cubert.net/feeds/3986027673227629526/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html'/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26049584.post-2689927591282596386</id><published>2009-12-08T08:51:49.886-05:00</published><updated>2009-12-08T08:51:49.886-05:00</updated><title type='text'>Kerr - We never did any performance monitoring or ...</title><content type='html'>Kerr - We never did any performance monitoring or methodical statistics gathering so I can only make some assumptions and guesses. I think that the NotesDatabase.Open call forces a behind-the-scenes load of the index for the default view or folder. In the case of a mail database that is the ($Inbox) folder, and when the user has 10,000 messages in his Inbox that index is very large.&lt;br /&gt;&lt;br /&gt;Calling NSFDBOpen instead only creates a handle but doesn&amp;#39;t force the default view to load.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/2689927591282596386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/2689927591282596386'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1260280309886#c2689927591282596386' title=''/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02909330777207011834'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-645677060781573431</id><published>2009-12-08T07:57:57.184-05:00</published><updated>2009-12-08T07:57:57.184-05:00</updated><title type='text'>Charles,  Those are certainly impressive numbers. ...</title><content type='html'>Charles,  Those are certainly impressive numbers.  I&amp;#39;d love to know what was going on under the hood that would make that much difference.  Obviously the LS is wasting a huge amount of time somewhere.  Just one of those corner cases I suppose.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/645677060781573431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/645677060781573431'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1260277077184#c645677060781573431' title=''/><author><name>kerr</name><uri>http://www.blogger.com/profile/14661315780540433899</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-5233371457920170439</id><published>2009-11-23T08:38:46.210-05:00</published><updated>2009-11-23T08:38:46.210-05:00</updated><title type='text'>Wow, I leave for vacation and the discussion conti...</title><content type='html'>Wow, I leave for vacation and the discussion continues! Thanks for keeping up, Craig. :-)&lt;br /&gt;&lt;br /&gt;@Kerr - This was something I helped a friend come up with because opening every database was taking far too long. He was killing it after an hour. This technique completes in under 10 minutes.&lt;br /&gt;&lt;br /&gt;@Grant - You are correct about this only working with databases up to 2GB. You can use Currency instead of Long to get precision up to 838 terabytes. I read about NSFDbSpaceUsageScaled but it seemed like a lot of indirection to me for no real gain.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/5233371457920170439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/5233371457920170439'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1258983526210#c5233371457920170439' title=''/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02909330777207011834'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-8804782628417787613</id><published>2009-11-09T20:02:56.268-05:00</published><updated>2009-11-09T20:02:56.268-05:00</updated><title type='text'>Another tip:

If we expect that the database size ...</title><content type='html'>Another tip:&lt;br /&gt;&lt;br /&gt;If we expect that the database size may grow beyond 4GB (quite likely when dealing with space hogs,)  a better function to use would be NSFDbSpaceUsageScaled( ByVal hDB As Long, retAllocatedBytes As Long, retFreeBytes As Long, retGranularity as Long ).&lt;br /&gt;&lt;br /&gt;The return results (retAllocatedBytes and retFreeBytes) are multiplied by the size of the chunks (retGranularity) to get the actual values.&lt;br /&gt;&lt;br /&gt;But, I haven&amp;#39;t tested any of this and could be way off base.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/8804782628417787613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/8804782628417787613'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257814976268#c8804782628417787613' title=''/><author><name>Grant</name><uri>http://www.blogger.com/profile/01514899449101991978</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-909808419338953913</id><published>2009-11-08T17:47:28.374-05:00</published><updated>2009-11-08T17:47:28.374-05:00</updated><title type='text'>@Mike - this example is WIN32 only, though you can...</title><content type='html'>@Mike - this example is WIN32 only, though you can easily change the Declares to support what ever platform you need. For example, AIX would be libnotes.a, LINUX/Solaris would be libnotes.so, etc.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/909808419338953913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/909808419338953913'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257720448374#c909808419338953913' title=''/><author><name>Craig</name><uri>http://www.blogger.com/profile/15544283229784705331</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-489274374718369433</id><published>2009-11-08T16:53:17.654-05:00</published><updated>2009-11-08T16:53:17.654-05:00</updated><title type='text'>Presumably, this approach ties you, hand and foot,...</title><content type='html'>Presumably, this approach ties you, hand and foot, to Windows?  (You have declared DLLs here).&lt;br /&gt;&lt;br /&gt;Is it even possible to use the C API on other platforms?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/489274374718369433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/489274374718369433'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257717197654#c489274374718369433' title=''/><author><name>Mike</name><uri>http://www.blogger.com/profile/13451029914978779240</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-3335555963283183006</id><published>2009-11-06T10:33:00.611-05:00</published><updated>2009-11-06T10:33:00.611-05:00</updated><title type='text'>@craig,  Interesting.  I thought the LS classes wh...</title><content type='html'>@craig,  Interesting.  I thought the LS classes where pretty lightweight wrappers that delegated most of the work down to the capi as required.  Certainly if they are doing a huge chunk of extra work then that would explain it.  Still, I&amp;#39;d love to see soem numbers.  I might have to try a run some benchmarks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/3335555963283183006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/3335555963283183006'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257521580611#c3335555963283183006' title=''/><author><name>kerr</name><uri>http://www.blogger.com/profile/14661315780540433899</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-3679111356441749895</id><published>2009-11-06T08:41:42.020-05:00</published><updated>2009-11-06T08:41:42.020-05:00</updated><title type='text'>@kerr -  The performance difference isn't really t...</title><content type='html'>@kerr -  The performance difference isn&amp;#39;t really to do with the &amp;#39;interpreted&amp;#39; aspect of LS. It has everything to do with the way the LS classes are implemented. When you open a document for example in LS, the LS class needs to load a lot more information in order to get the item list, parent database, etc members of the NotesDocument object setup. When you open a document via the API, none of this happens and you only get a handle to the document. If you need the rest of the info the LS class provides, you make other API calls to set that up. Because of this, in my experience, an API program can run circles around a LS version that does the exact same thing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/3679111356441749895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/3679111356441749895'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257514902020#c3679111356441749895' title=''/><author><name>Craig</name><uri>http://www.blogger.com/profile/15544283229784705331</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-4420424046159938272</id><published>2009-11-06T08:33:01.053-05:00</published><updated>2009-11-06T08:33:01.053-05:00</updated><title type='text'>Charles, it surprises me that there would be much ...</title><content type='html'>Charles, it surprises me that there would be much performance improvement.  If I were to guess I&amp;#39;d have said that IO performance would swamp the LS interpretation overhead.  Do you have any comparison figures on running the C api version versus a pure LS version?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/4420424046159938272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/4420424046159938272'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257514381053#c4420424046159938272' title=''/><author><name>kerr</name><uri>http://www.blogger.com/profile/14661315780540433899</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-5992849326109168151</id><published>2009-11-05T11:48:05.123-05:00</published><updated>2009-11-05T11:48:05.123-05:00</updated><title type='text'>There definitely could be a problem with accuracy,...</title><content type='html'>There definitely could be a problem with accuracy, do doubt. There are too many shops that have turned off the catalog for one reason or another and end up missing out on an extremely valuable resource. The other common misunderstanding is surrounding the &amp;#39;Do not list in catalog&amp;#39; database property. These databases are still in the catalog, the documents just get excluded from the view via the selection formula. A script like yours would also need to take that into account and use &amp;#39;AllDocuments&amp;#39; or something similar. A FT search could also be used and just report dbs over a threashold. Heck you could even just create the view in the catalog itself and not worry about the agent... but I&amp;#39;m getting carried away.&lt;br /&gt;Just to backtrack a minute, any script should double check the last updated date for the database and the individual documents and post warnings when they are out of date, or just a statement on the document &amp;#39;Valid as of this date&amp;#39;.&lt;br /&gt;&lt;br /&gt;All that being said, I still stand by my original comment that this is a good example of using the API to do something that otherwise would take longer than it needs to. The more tools you have in your tool box the better off you are.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/5992849326109168151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/5992849326109168151'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257439685123#c5992849326109168151' title=''/><author><name>Craig</name><uri>http://www.blogger.com/profile/15544283229784705331</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-1589156602053427242</id><published>2009-11-05T11:30:53.445-05:00</published><updated>2009-11-05T11:30:53.445-05:00</updated><title type='text'>I completely forgot that was in the catalog becaus...</title><content type='html'>I completely forgot that was in the catalog because I&amp;#39;ve enver had any luck getting useful information out of it. The numbers were never accurate when I looked at them. Maybe it has improved over the years.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/1589156602053427242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/1589156602053427242'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257438653445#c1589156602053427242' title=''/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02909330777207011834'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-7983552587877745019</id><published>2009-11-05T10:38:27.439-05:00</published><updated>2009-11-05T10:38:27.439-05:00</updated><title type='text'>The catalog will also have the information about d...</title><content type='html'>The catalog will also have the information about database size (DbSize), free space(DbPercentUsed), number of documents (DbNumDocuments), etc. Seems to me that the cost of opening the catalog and walking the view reading the summary info would be a lot faster than opening every database individually. NSFDbOpen will still take a hit, performance wise, if it encountered a large database, not not as severe as the LS version.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/7983552587877745019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/7983552587877745019'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257435507439#c7983552587877745019' title=''/><author><name>Craig</name><uri>http://www.blogger.com/profile/15544283229784705331</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-4406041932433483724</id><published>2009-11-05T09:30:56.809-05:00</published><updated>2009-11-05T09:30:56.809-05:00</updated><title type='text'>Oh, I just remembered the Catalog just has documen...</title><content type='html'>Oh, I just remembered the Catalog just has documents describing the databases. You would still have to open them, which is what I was trying to avoid. NotesDBDirectory will give you a not-full-populated database object already.&lt;br /&gt;&lt;br /&gt;By using the NotesDatabase from NotesDBDirectory in conjunction with the database handle from NSFDbOpen you can sort of dance around actually opening the database, which is why this runs so quickly.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/4406041932433483724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/4406041932433483724'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257431456809#c4406041932433483724' title=''/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02909330777207011834'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-2284131171642791224</id><published>2009-11-05T08:42:52.798-05:00</published><updated>2009-11-05T08:42:52.798-05:00</updated><title type='text'>Craig, you're right. I have been working on this p...</title><content type='html'>Craig, you&amp;#39;re right. I have been working on this post for a while and didn&amp;#39;t notice I didn&amp;#39;t post the final version of the code. I&amp;#39;ll update that shortly.&lt;br /&gt;&lt;br /&gt;On this server the catalog is gigantic. Opening that was a significant hit itself and a NotesDBDirectory was a much faster option.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/2284131171642791224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/2284131171642791224'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257428572798#c2284131171642791224' title=''/><author><name>Charles Robinson</name><uri>http://www.blogger.com/profile/04606895130887441753</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='02909330777207011834'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-26049584.post-8260768719154281183</id><published>2009-11-05T07:06:18.067-05:00</published><updated>2009-11-05T07:06:18.067-05:00</updated><title type='text'>Hi Charles, This is a great example of using the A...</title><content type='html'>Hi Charles, This is a great example of using the API to make a simple task run even faster! However, you need one more API function: NSFDbClose(). Without this you are leaking a database handle and on a large server will eventually start throwing &amp;#39;out of handles&amp;#39; type errors. &lt;br /&gt;&lt;br /&gt;Also, wouldn&amp;#39;t it be easier to just loop through the documents in the catalog?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/8260768719154281183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26049584/3986027673227629526/comments/default/8260768719154281183'/><link rel='alternate' type='text/html' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html?showComment=1257422778067#c8260768719154281183' title=''/><author><name>Craig</name><uri>http://www.blogger.com/profile/15544283229784705331</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cubert.net/2009/11/sntt-tracking-down-space-hogs-in-notes.html' ref='tag:blogger.com,1999:blog-26049584.post-3986027673227629526' source='http://www.blogger.com/feeds/26049584/posts/default/3986027673227629526' type='text/html'/></entry></feed>