Yasir
V2EX  ›  Oracle

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

  •  
  •   Yasir · Aug 20, 2023 · 2162 views
    This topic created in 1055 days ago, the information mentioned may be changed or developed.

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

    各位大佬有无经验解决

    4 replies    2023-08-21 22:37:29 +08:00
    hefish
        1
    hefish  
       Aug 20, 2023
    据说 linux 平台要开个大内存参数。。。也不知道不开会不会影响查询速度。
    NotFoundEgg
        2
    NotFoundEgg  
       Aug 20, 2023
    查查 oracle 的 pga 和 sga 的大小,一般来说,sga 为内存 40%左右,pga 为内存 10%左右
    Yasir
        3
    Yasir  
    OP
       Aug 21, 2023
    @NotFoundEgg 内存都调了,感觉查询的时候 cpu 没怎么动一样,cpu 要调吗?
    Yasir
        4
    Yasir  
    OP
       Aug 21, 2023
    @hefish 有空我试下,我只改过 sga 大小
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1207 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:58 · PVG 07:58 · LAX 16:58 · JFK 19:58
    ♥ Do have faith in what you're doing.