Home > Ask the Domino Experts > Domino Development Questions & Answers > Indexing on a 'heavy' server
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Indexing on a 'heavy' server

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 16 September 2003
Hi. We have a Notes DB that has been around for many years and has slowly built up to contain over 200k in documents. The problem here is that although we have gone through an exercise of reducing the number of views each time, the index task runs everything on the server and slows it down. The server is a high-end one and we have just upgraded the network, too, with very little effect.

We have tried changing the server settings to have users create indexes on local machines and not on the server, but this caused problems with the NAB. We also tried creating multiple index tasks -- again to no effect. Soon we will be looking at streamlining the view selection formulas. Archiving is not an option. If there is anything else you can think of, I'd be very grateful. Here's the server spec: two servers in a cluster with 2 GB RAM, clustered dual PIII Xeon 1 Ghz, 90 GB hard drive Raid 5 and +1 GB virtual memory.


>
200,000 documents is not so many for a server such as you describe.

When you talk about the index tasks, I assume you mean UPDATE and UPDALL. If these are taking a long time to run, you might want to look at the following:

  1. Reduce the complexity of your view selection formulas (as you already suggested) and also view columns formulas.

  2. Get rid of views whose selection formulas or column formulas use @Now or @Today. Look into using single-category embedded views instead.

  3. Avoid modifying documents needlessly. If you have any agents that regularly update every document in the database, get rid of them. Every modified document must be reinserted into the indexes.

  4. Avoid deleting and re-creating documents.

  5. Reduce the number of fields in your documents. If you don't absolutely have to store a field in the document -- if it can be calculated by a computed for display field instead of stored -- change it to CFD and write an agent to remove it from existing documents. If you have dozens of fields in a table, one per cell, replace the table with a Rich Text field and just let the user type what they like in the table, or use a table editing tool (find a few different ones in Domino Design Library Examples) to store one multi-value field for each column rather than one per cell.

  6. Change the database properties to limit the number of $UpdatedBy and $Revisions entries stored. Ten is more than enough for most applications.

  7. Read this redbook: Performance Considerations for Domino Applications


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Domino Development
Can I create and copy Microsoft Excel spreadsheets with LotusScript?
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
How to make computed fields recalculate
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
Adding an action to the Lotus Notes right-click menu
Writing temporary text files that email as attachments
Trapping the on-click event of a radio button
Copying a form object using LotusScript
Connecting to a remote DB2 server with LEI

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts