Slow PL/SQL connection to Oracle in a virtual machine on a Windows Host

Source: Internet
Author: User

This article will introduce you to the solutions to the slow connection of PL/SQL to Oracle in a virtual machine on a Windows host.

When I used PL/SQL to connect to the oracle database in the virtual machine on my Windows host last weekend, it took about 10 seconds to log on successfully. It is strange because I ping the IP address of the oracle server in the Virtual Machine in Windows and the response time is within 1 ms. I found no answer when I got GG online. After being pointed out by my partner, it turns out that DNS resolution in Linux has an "error" when addressing ". This is related to the DNS misconfigured in "Network Configuration" when I use the bridge mode to connect to the Network. (You do not need to configure DNS when using the Bridged mode to connect to the Network ).

Solution: edit the DNS domain name resolution configuration file in Linux, comment out or delete the nameserver item.

[Root @ localhost etc] # vi resolv. conf

The Code is as follows: Copy code

# Search localdomain
# Nameserver 221.228.255.1 // IP address of the DNS server
# Nameserver 218.2.135.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.