A program named pingest.pl allows fast bibliographic record ingest. It performs ingest in parallel so that multiple batches can be done simultaneously. It operates by splitting the records to be ingested up into batches and running all of the ingest methods on each batch. You may pass in options to control how many batches are run at the same time, how many records there are per batch, and which ingest operations to skip.
The browse ingest is presently done in a single process over all of the input records as it cannot run in parallel with itself. It does, however, run in parallel with the other ingests.
pingest.pl accepts the following command line options:
This option allows the user to specify which record attributes to reingest.
It can be used one or more times to specify one or more attributes to
ingest. It can be omitted to reingest all record attributes. This
option is ignored if the --skip-attrs
option is used.
The --attr
option is most useful after doing something specific that
requires only a partial ingest of records. For instance, if you add a
new language to the config.coded_value_map
table, you will want to
reingest the item_lang
attribute on all of your records. The
following command line will do that, and only that, ingest:
$ /openils/bin/pingest.pl --skip-browse --skip-search --skip-facets \ --skip-display --attr=item_lang