optimizeAtlasCache.Rd
Optimize atlas cache
optimizeAtlasCache(
connectionDetails,
resultsDatabaseSchema,
vocabDatabaseSchema = resultsDatabaseSchema,
outputFolder = "output",
sqlOnly = FALSE,
verboseMode = TRUE,
tempAchillesPrefix = "tmpach"
)
An R object of type connectionDetails
created using the
function createConnectionDetails
in the
DatabaseConnector
package.
Fully qualified name of database schema that we can write final results to. Default is cdmDatabaseSchema. On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_results.dbo'.
String name of database schema that contains OMOP Vocabulary. Default is cdmDatabaseSchema. On SQL Server, this should specifiy both the database and the schema, so for example 'results.dbo'.
Path to store logs and SQL files
TRUE = just generate SQL files, don't actually run, FALSE = run Achilles
Boolean to determine if the console will show all execution steps. Default = TRUE
The prefix to use for the "temporary" (but actually permanent) Achilles analyses tables. Default is "tmpach"
The SQL statement executed to update cache tables is returned.
Post-processing, optimize data for atlas cache in separate table to help performance.