def sizeFlat(self, flatTable):
     connection = self.getConnection()
     cursor = connection.cursor()
     
     size_total = oracleops.getSizeTable(cursor, flatTable)
     size_indexes = oracleops.getSizeUserIndexes(cursor)
     
     connection.close()
 
     return self.formatSize(size_total, size_indexes)
示例#2
0
 def sizeFlat(self, flatTable):
     connection = self.getConnection()
     cursor = connection.cursor()
     
     size_total = oracleops.getSizeTable(cursor, flatTable)
     size_indexes = oracleops.getSizeUserIndexes(cursor)
     
     connection.close()
 
     return self.formatSize(size_total, size_indexes)
 def sizeBlocks(self, blockTable, baseTable):
     connection = self.getConnection()
     cursor = connection.cursor()
    
     try: 
         size_total = oracleops.getSizeTable(cursor, [blockTable, baseTable]) 
         size_indexes = oracleops.getSizeUserSDOIndexes(cursor, blockTable)
     except Exception, err:
         print traceback.format_exc()
         size_total = None
         size_indexes = None
示例#4
0
 def sizeBlocks(self, blockTable, baseTable):
     connection = self.getConnection()
     cursor = connection.cursor()
    
     try: 
         size_total = oracleops.getSizeTable(cursor, [blockTable, baseTable]) 
         size_indexes = oracleops.getSizeUserSDOIndexes(cursor, blockTable)
     except Exception, err:
         print traceback.format_exc()
         size_total = None
         size_indexes = None