Prev | Current Page 449 | Next

Rick Greenwald, Robert Stackowiak, Jonathan Stern

"Oracle Essentials: Oracle Database 11g"

The database executes all the required SQL and logic using the
parameters it receives.
Stored procedures can also shield the client logic from internal changes to the data
structures or program logic. As long as the parameters the client passed in and
received back don??™t change, no changes are required in the client software. Stored
procedures move a portion of the application logic from the client to the database
server. By doing so, stored procedures can reduce the network traffic considerably.
This capability increases the scalability of two-tier systems. Figure 9-2 illustrates a
two-tier system with stored procedures.
Figure 9-1. Two-tier client/server architecture
Figure 9-2. Two-tier system with stored procedures
SQL
Data
Client
-GUI
-Application logic
Database
-Data
-SQL
Oracle
Instance
Oracle
Database
Procedure Calls
Return Parameters
Client
-GUI
-Application logic
Database
-Data
-SQL
-Program logic
Oracle
Instance
Oracle
Database
208 | Chapter 9: Oracle and Transaction Processing
Three-Tier Systems
The OLTP systems with the largest user populations and transaction throughput are
typically deployed using a three-tier architecture.


Pages:
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
wynajem apartamentów Lokaty jednodniowe zarządzanie sprzedażą personal cash loans for people with bad credit siłacz strongman