在论坛提问时由rollingpig提供,记录一下! 相关链接:http://www.itpub.net/viewthread.php?tid=1286246&page=1#pid15536007rollingpig:http://www.itpub.net/viewpro.php?uid=1249这个和数据库参数shared_servers、和客户端的TNSname.ora有关。在DB端的shared_servers参数控制server是否能接受share server连接,但是,client可以通过在TNSname.ora来设置强制使用DEDICATED。如下,4种情况:DB shared_servers = 0 , TNSname.ora server=shared或者不设置 ==> DEDICATED连接DB shared_servers = 0 , TNSname.ora server=DEDICATED ==> DEDICATED连接DB shared_servers > 0 , TNSname.ora server=DEDICATED ==> DEDICATED连接DB shared_servers > 0 , TNSname.ora server=shared或者不设置 ==> Shared连接