TAILIEUCHUNG - Introduction to Database Systems- P15

Tham khảo tài liệu 'introduction to database systems- p15', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | TTY JS Ị 674 Part V j Further Topics Be that as it may the client server approach does have certain implications for application programming as indeed do distributed systems in general the most important points has already been touched on in our discussion of Objective 7 distributed query processing in Section namely the fact that relational systems are by definition and design set-level systems. In a client server system and indeed in distributed systems in general it is more important than ever that the application programmer not just use the server like an access method and write record-level code. Instead as much functionality as possible should be bundled up into set-level requests for otherwise performance will suffer because of the number of messages involved. Note In SQL terms the foregoing implies avoiding cursors as much as possible that is avoiding FETCH loops and the CURRENT forms of DELETE and UPDATE see Chapter 4 . The number of messages between client and server can be reduced still further if the system supports stored procedures. A stored procedure is basically a precompiled program that is stored at the server site and is known to the server . It is invoked from the client by a remote procedure call RPC . In particular therefore the performance penalty associated with record-level processing in a client server system can be partly offset by creating a suitable stored procedure to do that processing directly at the server site. Note Although it is somewhat tangential to the topic of client server processing as such we should point out that improved performance is not the only advantage of stored procedures. Others include . Such procedures can be used to conceal a variety of DBMS- and or database-specific details from the user thereby providing a greater degree of data independence than might otherwise be the case. One stored procedure can be shared by many clients. Optimization can be done at the time the stored procedure is .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.