运维联盟俱乐部

 找回密码
 立即注册
查看: 1372|回复: 0

[日常管理] q_nopart_table

[复制链接]
  • TA的每日心情
    开心
    2023-8-9 11:05
  • 发表于 2020-9-11 14:28:53 | 显示全部楼层 |阅读模式

    1. select s.owner, s.segment_name, round(s.bytes / 1024 / 1024, 0) mb
    2.   from dba_segments s
    3. where s.segment_type = 'TABLE'
    4.    and round(s.bytes / 1024 / 1024, 0) > 4096
    5.    and s.segment_name not in (select table_name from dba_part_tables)
    6. order by 3 desc
    复制代码



    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    运维联盟俱乐部 ( 冀ICP备19036648号 )

    GMT+8, 2024-5-17 10:14 , Processed in 0.047241 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表