static void SyncLoadTpccTable( TpccTable table, VersionDb versionDb, string dir) { Console.WriteLine($"Start loading table: '{table.Type().Name()}'"); var startTime = DateTime.UtcNow; int c = TPCCTableLoader.Load(dir, table, versionDb); var time = (DateTime.UtcNow - startTime).TotalSeconds; Console.WriteLine( $"{c} records in '{table.Name()}' loaded in {time:F3} sec"); }
static private void CreateTable(VersionDb versionDb, TpccTable table) { versionDb.CreateVersionTable(table.Name()); }