The hostname shown in sysprocess is not necessarily the real hostname.

Source: Internet
Author: User
Recently, monitoring long running SQL showed that some users are using office to pull data. Because there are no restrictions in the office, every time we capture the data of all operating companies and run very frequently, resulting in a decline in the performance of our ERP system. Find the corresponding developer based on host_name, and they say they are not running at all. This is strange. Where did the host name come from? I checked the office data source and found that it was configured with DSN. There is a parameter"
Wsid Any Computer Name The name of the Local Computer, sent to server. can be specified only for a DSN-less connection.
The value of this parameter is the hostname we see, so the problem lies here. Because ODBC-configured data sources are used, users need to reconfigure each time they change their computers or reinstall the system. Therefore, their developers want to save the configuration in this way, you do not need to reconfigure it. So configure the DSN on your computer and send it to the user. In ProgramThe wrong host name is displayed during running. Then I talked to the user about the purpose of using office to pull data. In fact, they just capture the data from the previous day and do not need real-time data. But because they have many people, no one may want to read the data. For this purpose, we recommend that developers set a job to pull a report at night and share it with users. This avoids competition between reports and ERP resources and reduces user waiting time.

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.