The invention provides an OLAP pre-computation engine optimization method based on
object storage and application. Three optimization directions are provided, namely, the logic paths of renaming object operation reduction,
data consistency check and
inverted index file inversion are provided. Through a file mapping table added to the
metadata layer, a mapping relationship between files before andafter renaming is matched, and renaming operation on the bottom layer of the
file system is reduced; and a logic path of a partition
directory hierarchical structure of the file is inverted to correspond to a prefix of the file in the
object storage, thereby realizing quick query and reading of the
object storage, adding logic
verification to reading operation, deleting operation and writing operation, and checking
data consistency. According to the method, the read-write mode of the OLAP engine in the object storage using process is optimized, the execution efficiency of the engine is improved, response to the analysis requirement of an upper-layer report
system is accelerated, and based on the method, an efficient OLAP calculation query execution engine can be constructed, the construction efficiency is improved, and query is accelerated.