createIndices.Rd
Create indicies
createIndices(
connectionDetails,
resultsDatabaseSchema,
outputFolder,
sqlOnly = FALSE,
verboseMode = TRUE,
achillesTables = c("achilles_results", "achilles_results_dist")
)
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'.
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
Which achilles tables should be indexed? Default is both achilles_results and achilles_results_dist.
A collection of queries that were executed to drop any existing indices and create new indicies as specified.
Post-processing, create indices to help performance. Cannot be used with Redshift.