V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Yasir
V2EX  ›  Oracle

Centos 下的 oracle 查询性能提不上来

  •  
  •   Yasir · 251 天前 · 778 次点击
    这是一个创建于 251 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Centos 下的 oracle 查询性能提不上来,CPU,内存资源也没怎么占用 之前在 windows 下的 oracle 查询 8 秒,现换成 centos 查询要将近 30 秒了 内存配置已配置的跟 windows 机一样的了

    各位大佬有无经验解决

    4 条回复    2023-08-21 22:37:29 +08:00
    hefish
        1
    hefish  
       251 天前
    据说 linux 平台要开个大内存参数。。。也不知道不开会不会影响查询速度。
    NotFoundEgg
        2
    NotFoundEgg  
       251 天前
    查查 oracle 的 pga 和 sga 的大小,一般来说,sga 为内存 40%左右,pga 为内存 10%左右
    Yasir
        3
    Yasir  
    OP
       250 天前
    @NotFoundEgg 内存都调了,感觉查询的时候 cpu 没怎么动一样,cpu 要调吗?
    Yasir
        4
    Yasir  
    OP
       250 天前
    @hefish 有空我试下,我只改过 sga 大小
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3235 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:06 · PVG 20:06 · LAX 05:06 · JFK 08:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.