Imports an SGE Accounting file into a database

dbi_import_sge_accounting(conn, file, chunk_size = 10000L, deduplicate = FALSE)

Arguments

conn

A DBI::DBIConnection.

file

(character) The SGE accounting file to read.

chunk_size

(integer) The number of records to import in each chunk.

deduplicate

(logical) If TRUE, duplicated records in the database are removed at the end, otherwise not.

Value

(invisibly) The number of SGE accounting records ("jobs") in the input file.

See also

Internally, read_raw_sge_accounting() is used to parse the SGE Accounting file.