select name,display_value
from v$parameter
where name like 'mem%target'
or name like 'pga%'
or name like 'sga%';
select decode( grouping(nm), 1, 'total', nm ) nm, round(sum(val/1024/1024)) mb
from (
select 'sga' nm, sum(value) val
from v$sga
union all
select 'pga', sum(value)
from v$sesstat a, v$statname b
where b.name = 'session pga memory'
and a.statistic# = b.statistic# )
group by rollup(nm) ;
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>PROXY_HOST</host>
<port>PROXY_PORT</port>
<!-- <username>proxyuser</username>
<password>somepassword</password> -->
<nonProxyHosts>*.YOUR-DOMAIN.ru|127.0.0.1</nonProxyHosts>
</proxy>
</proxies>
</settings>
public function get_count($where = FALSE) {
if($where && is_array($where)) {
$this->db->where_in($where);
return $this->db->get($this->table_name)->num_rows;
} else {
return $this->db->count_all($this->table_name);
}
}
class Token {
public $id;
public function __construct($id) {
$this->id = $id;
}
}
$header = new SoapHeader("пространство имен, которому принаджеит: urn", "OTAuthentication", new Token('id'), false);
$client->__setSoapHeaders(array($header));