- - - - - - - - - - - - - - - - - - - - - - - - - - - - Name: Maxime Subject: Re: Parallel Indexing
If dpsearch has been build with phthreads support enabled (it's enbaled by default), you can use -N switch for indexer to specify the number of concurrent indexing threads running, i.e. ./indexer -N4 will run four concurrent indexing threads. Please note, every indexing thread is making it own connection to SQL-server. If you have only one connection to the SQL-server, you have to add -U switch for indexer to specify one sharable SQL connection for all threads. If you have dpsearch built without pthreads support, you may run several indexer instances with same config file (it's better to start all those intances with some time gap between each, i.e. start next instance when previous has begun indexing). - - - - - - - - - - - - - - - - - - - - - - - - - - - - Read the full topic here: http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1169217776
