dbi_import_sge_accounting: Imports an SGE Accounting file into a database

View source: R/sge_accounting_sql.R

dbi_import_sge_accountingR Documentation

Imports an SGE Accounting file into a database

Description

Imports an SGE Accounting file into a database

Usage

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.


ucsf-wynton/wyntonquery documentation built on May 15, 2024, 6:23 a.m.