Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountDiskgroups ¶
func CountTablespaces ¶
func GetProcessRateByDbId ¶
Types ¶
type Diskgroup ¶
type Diskgroup struct { Id int `orm:"pk;column(id);"` Db_Id int `orm:"column(db_id);"` Host string `orm:"column(host);"` Port string `orm:"column(port);"` Alias string `orm:"column(alias);"` Diskgroup_Name string `orm:"column(diskgroup_name);"` State string `orm:"column(state);"` Type string `orm:"column(type);"` Total_Mb string `orm:"column(total_mb);"` Free_Mb string `orm:"column(free_mb);"` Used_Rate string `orm:"column(used_rate);"` Created int64 `orm:"column(created);"` }
type Oracle ¶
type Oracle struct { Id int `orm:"pk;column(id);"` Db_Id int `orm:"column(db_id);"` Host string `orm:"column(host);"` Port string `orm:"column(port);"` Alias string `orm:"column(alias);"` Connect int `orm:"column(connect);"` Inst_Num string `orm:"column(inst_num);"` Inst_Name string `orm:"column(inst_name);"` Inst_Role string `orm:"column(inst_role);"` Inst_Status string `orm:"column(inst_status);"` Version string `orm:"column(version);"` Startup_Time string `orm:"column(startup_time);"` Host_Name string `orm:"column(host_name);"` Archiver string `orm:"column(archiver);"` Db_Name string `orm:"column(db_name);"` Db_Role string `orm:"column(db_role);"` Open_Mode string `orm:"column(open_mode);"` Protection_Mode string `orm:"column(protection_mode);"` Session_Total int `orm:"column(session_total);"` Session_Actives int `orm:"column(session_actives);"` Session_Waits int `orm:"column(session_waits);"` Dg_Stats string `orm:"column(dg_stats);"` Dg_Delay int `orm:"column(dg_delay);"` Processes int `orm:"column(processes);"` Flashback_On string `orm:"column(flashback_on);"` Flashback_Usage string `orm:"column(flashback_usage);"` Created int64 `orm:"column(created);"` }
type Tablespace ¶
type Tablespace struct { Id int `orm:"pk;column(id);"` Db_Id int `orm:"column(db_id);"` Host string `orm:"column(host);"` Port string `orm:"column(port);"` Alias string `orm:"column(alias);"` Tablespace_Name string `orm:"column(tablespace_name);"` Status string `orm:"column(status);"` Management string `orm:"column(management);"` Total_Size string `orm:"column(total_size);"` Used_Size string `orm:"column(used_size);"` Max_Rate string `orm:"column(max_rate);"` Created int64 `orm:"column(created);"` }
func ListTablespaces ¶
func ListTablespaces(condArr map[string]string, page int, offset int) (num int64, err error, tbs []Tablespace)
获取oracle表空间列表
func (*Tablespace) TableName ¶
func (this *Tablespace) TableName() string
Click to show internal directories.
Click to hide internal directories.