call routines to drop and recreate some indexes and foreign
keys before and after bulk import
This commit is contained in:
parent
a429cbb6e1
commit
d4e03424bf
|
@ -116,8 +116,11 @@ class Importer:
|
||||||
|
|
||||||
#Run full import on filelist
|
#Run full import on filelist
|
||||||
def runImport(self):
|
def runImport(self):
|
||||||
|
fpdb_simple.prepareBulkImport(self.fdb)
|
||||||
for file in self.filelist:
|
for file in self.filelist:
|
||||||
self.import_file_dict(file, self.filelist[file][0], self.filelist[file][1])
|
self.import_file_dict(file, self.filelist[file][0], self.filelist[file][1])
|
||||||
|
fpdb_simple.afterBulkImport(self.fdb)
|
||||||
|
fpdb_simple.analyzeDB(self.fdb)
|
||||||
|
|
||||||
#Run import on updated files, then store latest update time.
|
#Run import on updated files, then store latest update time.
|
||||||
def runUpdated(self):
|
def runUpdated(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user