摘要:
############################################################################################# # Version 1 20191021 # Manual # The purpose of this scri 阅读全文
随笔档案-2023年02月
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
2023-02-07 14:19 by 明朝散发, 295 阅读, 收藏, 编辑
摘要:
查看资源限制信息 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 阅读全文
【分区表】分区表分区索引重建
2023-02-06 16:03 by 明朝散发, 80 阅读, 收藏, 编辑
摘要:
SELECT 'alter index '||t2.owner||'.'||t1.INDEX_NAME||' rebuild partition '||t1.PARTITION_NAME||' online;', t1.STATUS FROM dba_ind_partitions t1, dba_i 阅读全文
【分区表】分区表最大分区字段信息收集
2023-02-06 16:01 by 明朝散发, 53 阅读, 收藏, 编辑
摘要:
分区表分区最大分区字段sql生成 SELECT 'select nvl(to_char(max(' || column_name || ')),''0'') from ' || owner || '.' || name || ' union all' FROM DBA_PART_KEY_COLUMN 阅读全文