代码改变世界

阅读排行榜

Oracle 表的统计信息收集情况查询

2023-10-17 11:31 by 明朝散发, 1046 阅读, 收藏,
摘要: 1 check stats status 1. select owner,last_ddl_time from dba_objects where object_name = '&table'; 2. select owner,table_name, to_char(last_analyzed,'D 阅读全文

从AWR快照中固定执行计划

2023-05-19 16:34 by 明朝散发, 721 阅读, 收藏,
摘要: Troubleshooting/resolution cw97pxhjgtcqq –sql_id provide by user if not pls confirm sql_id using following query: --1. Active sessions info order by L 阅读全文

ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit

2023-02-07 14:19 by 明朝散发, 400 阅读, 收藏,
摘要: 查看资源限制信息 set pagesize 100; set linesize 100; col username for a15; col profile for a15; col resource_name for a30; col limit for a10; SELECT DISTINCT 阅读全文

oracle CPU usage 100% 处理一例

2023-05-19 15:58 by 明朝散发, 335 阅读, 收藏,
摘要: 1. 确定cpu usage top sqls ``` select * from ( select SQL_ID , sum(decode(session_state,'ON CPU',1,0)) as CPU, sum(decode(session_state,'WAITING',1,0)) - 阅读全文

python学习(1)入门

2019-09-23 14:03 by 明朝散发, 123 阅读, 收藏,
摘要: 变量的申明 #!/usr/bin/env python # -*- coding: utf-8 -*- name = "sage" 变量的作用:昵称,其代指内存里某个地址中保存的内容 变量定义的规则: 变量名只能是 字母、数字或下划线的任意组合 变量名的第一个字符不能是数字 以下关键字不能声明为变量 阅读全文