环境说明:本机装有oracle9i、plsql developer、VMware7.1。在Vmware里装有了CentOS5.5,在CentOS里装了Oracle11G
问题描述:通过本机的plsql developer连接到VMware中的Oracle11g特别的慢。并且在查询表时基本上要10秒左右数据才能显示出来。请各位高手帮我看看为什么会这样慢,以及如何解决慢的问题?

解决方案 »

  1.   

    首先oracle 11g就很慢,很占资源;
    其次你的虚拟机内存设置是默认的吧,把虚拟机内存调大。
      

  2.   

    为什么这么做呢,用11g的new features?反正我觉得起了虚拟机就很慢,我是2G内存
      

  3.   

      有这可能! LZ看下是否是CUP的使用率高?
      

  4.   


    我也是用作学习和实验!我这问题我感觉与Linux 网络配置或与Oracel 的配置有关。因为在虚拟机中查询很快。最近又按官方的安装文档又装了一次,但这问题仍然存在。使用 select sysdate from dual.结果返回大概要10秒左右才能使用。Linux 资源占用情况:Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@CentOS ~]$ top
    top - 14:17:02 up  4:02,  3 users,  load average: 0.00, 0.01, 0.00
    Tasks: 166 total,   2 running, 163 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  0.1%sy,  0.0%ni, 99.8%id,  0.1%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   1035064k total,  1010056k used,    25008k free,    28628k buffers
    Swap:  2097144k total,        0k used,  2097144k free,   756964k cached  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
      576 root      10  -5     0    0    0 S  0.2  0.0   0:01.05 kjournald          
     5142 oracle    15   0  108m  12m 9752 S  0.2  1.3   0:00.20 mixer_applet2      
    13414 oracle    15   0  2428 1060  800 R  0.2  0.1   0:00.26 top                
        1 root      18   0  2160  668  572 S  0.0  0.1   0:01.36 init           
      

  5.   

    学习中,有没有Linux  虚拟机下安装oracle  文档啊?
    给发一份呗,[email protected]
    万分感谢,谢谢!!!