Package pysql :: Module pysqloraobjects :: Class OraTablespace
[hide private]
[frames] | no frames]

Class OraTablespace

source code


Tablespace

Instance Methods [hide private]
 
__init__(self, tablespaceOwner="", tablespaceName="")
Tablespace creation
source code
 
updateDatafileList(self, db)
Gets list of the data files which compose the tablespace
source code
 
getAllocatedBytes(self, db)
Returns: number of bytes currently allocated in the tablespace
source code
 
getFreeBytes(self, db)
Returns: number of bytes currently free in the tablespace
source code
 
getDatafiles(self)
Returns: list of datafiles (updateDatafileList must be called before !)
source code
 
guessStatus(self, db)
guess tablespace status
source code

Inherited from OraObject: __eq__, __hash__, __str__, getCopy, getCreated, getDDL, getFullName, getLastDDL, getName, getOwner, getStatus, getType, guessInfos, setName, setOwner, setStatus, setType

Method Details [hide private]

__init__(self, tablespaceOwner="", tablespaceName="")
(Constructor)

source code 

Tablespace creation

Overrides: OraObject.__init__

getAllocatedBytes(self, db)

source code 
Returns:
number of bytes currently allocated in the tablespace

getFreeBytes(self, db)

source code 
Returns:
number of bytes currently free in the tablespace

getDatafiles(self)

source code 
Returns:
list of datafiles (updateDatafileList must be called before !)

guessStatus(self, db)

source code 

guess tablespace status

Overrides: OraObject.guessStatus