Improve the efficiency of ASP page execution (bottom)

Source: Internet
Author: User
Tags database issues execution oracle database
3. Database issues

Design a database structure can greatly improve the speed of the program, of course, how to design the database structure is not the issue discussed in this article. Let's assume we've designed the database structure to see what else can be done to improve the speed of the program.

(1). If your database server and Web server are the same, then it is best to separate. This is sure to improve speed.

(2). If you are accessing the database, it is best not to use dynamic SQL statements, using stored procedures or views.

(3). Sometimes allocating the appropriate database buffers improves the performance of the program. This is because, if you are using an Oracle database, you need to open three sessions for each connection. If you can handle these things well, you will improve the performance of the program.

Summarize

In fact, there are many factors affecting the speed of ASP program execution, the above is only a part. Of course, some of the above techniques are not necessarily suitable for all ASP programs, treat different programs to adopt different strategies. Finally hope that the above article can help you.


Related Article

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.