Archives data from one or more Event Stream Processor streams into Sybase IQ.
The esp_iqloader command archives data from one or more Event Stream Processor streams into Sybase IQ, either in real-time mode or in batch mode.
esp_iqloader subscribes to the streams that require archiving, then writes the data to an intermediate file either in a delimited format suitable for bulk-loading for inserts, or as SQL DML statements for updates and deletes. esp_iqloader uses the LOAD TABLE statement feature of Sybase IQ to archive inserts, and archives updates and deletes via ODBC.
esp_iqloader closes if it encounters an error. If esp_iqloader, the Event Stream Processor, or Sybase IQ stop, on restart esp_iqloader begins archiving data from the last archived transaction. esp_iqloader tracks the most recent archived transaction.
The control stream and the log stream must be persisted to guarantee that no transaction is lost if the Event Stream Processor fails. To ensure that the data stream can regenerate itself, create at least one log store to store both the control stream and the log stream.
To stop a running esp_iqloader process, enter Ctrl+C on the command line.
Limitations and known issues:
esp_iqloader -f configFile -p [<host>:]<port>/workspace-name/project-name