Can 2 copies of the same agent operate on the same Notes View. Lets say I have 100,000 documents in a view. To speed up processing can I initiate a second copy of the agent to operate on the same view?
thanks in advance
Can 2 copies of the same agent operate on the same Notes View. Lets say I have 100,000 documents in a view. To speed up processing can I initiate a second copy of the agent to operate on the same view?
thanks in advance
Subject: duplicate scheduled agent
Not with the same name, no – but having two similar agents operating on the same view won’t speed anything up. In fact, it’ll probably slow things down since they’ll both operate on all of the documents and have to share time doing it.
Subject: RE: duplicate scheduled agent
Stan,My experience has been that one only scheduled agent runs at any given point in a database. Am I right? Is there a setting somewhere that will allow two scheduled agents to run at the same time in a database?
So far when I try to run two schedule agents in a database the second one has to wait for the first one to finish and then second one kicks in to do its stuff.
Ahsan
Subject: RE: duplicate scheduled agent
That will likely continue to be the behaviour for a while, at least – but if you could do it (and you can, since agents don’t have to live in the database or on the server where they do their work), you would get the problems I described above.
Subject: RE: duplicate scheduled agent
Once the operation is done it is removed from the view, so they won’t both operate on all the documents. So If I duplicate the agent in another database and different name, they can run simultaneously?
Subject: RE: duplicate scheduled agent
The answer to your question is in the Agent FAQ article called “Minimizing delays in the Agent Manager”. The short answer is that yes you need to put an agent in a different database.