【TimesTen】ReadOnly CG 刷新异常,报错ORA-01455
监控显示,今天大量的readonlycg出现同步延时现象,不止一个cg,有数据变化的readonly类型的cg数据都出现不同步的情况。 检查ttmesg.log,有下面信息:16:32:22.04 Info:ORA: 1407:ora-1407-1098078528-refresh06001: Performing an incremental refresh on table: TTUER.SIGNATURE16:32:2...
【分析函数】ratio_to_report分析函数求占比
SCOTT用户下的EMP表为例:select ename, JOB, ratio_to_report(SAL) over() as "占所有雇员的百分比", ratio_to_report(SAL) over(partition by JOB) as "占各部门的百分比"from EMP ; 下面是不用分析函数实现的方式: select ename,job, (sal/sum(sal) over...