Ads by TechWords

See your link here
Receive the latest technology news and information.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
Cloud Computing
View all newsletters




Privacy Policy
 

Transaction Processing

October 1, 2001 12:00 PM ET

Computerworld - Yin and yang, life and death, Clark Kent and Superman. Some concepts are so intertwined that it's impossible to imagine one without the other. Transaction processing (TP) and relational databases [Technology QuickStudy, Jan. 8] make up another such pairing.

Transaction Monitors

The global coordinator shouldn’t be confused with the transaction monitor, also commonly known as transaction processing monitor software or the transaction server [Technology, QuickStudy, May 17, 1999].

Transaction monitors are middleware programs that mediate between clients and servers. They optimize database performance by acting on behalf of the clients. Rather than have every client open a session with a server, the clients connect to a transaction monitor which queries the server through its own session. This relieves the server from the chore of handling numerous individual sessions.

First introduced in the 1970s for mainframe systems, transaction monitors were reborn in the late 1990s as software publishers rolled out new versions capable of handling online transaction processing systems providing services through Web servers.
— Pete Loshin

In theory, TP can happen without a relational database, but you wouldn't want to try it. And you could do a relational database without TP, but you would lose one of the benefits of having a relational database: the ability to update multiple tables to reflect the completion of a transaction.

Systems capable of doing TP must pass the ACID test: atomicity, consistency, isolation and durability. Transactions are atomic, meaning they either happen or not. If one account is debited, some other account must be credited.

The TP system must always be consistent with its own rules. No transaction can happen if errors are returned as the transaction is processed. For example, if a table that must be updated is on a hard drive that is inaccessible, the transaction fails.

Isolating transactions means that other processes never see database tables in an intermediate state. They may get to see what the database looked like before or after the transaction, but not during. For example, anyone querying an airline reservation system for seating will see all seats not reserved at that moment. But if two people try booking the last seat on tonight's red-eye at the same time, only one can succeed.

Finally, transactions must be durable, meaning that once the last seat is reserved and the customer receives notification of the booking, that transaction is permanently recorded. Even if the system was hit by lightning after the transaction was complete, TP-capable systems would be able to retrieve it.



Jump to comments

Business Intelligence

Additional Resources

WHITE PAPER
Approximately 60 percent of data migration projects overrun time or budget, while some fail completely. Download this white paper, "Enhancing Your Chance for Successful Data Migration," to learn the critical steps you need to take to execute a data migration project with minimum cost and risk to your business.
WHITE PAPER
Read the Gartner research note to learn why the TCO of a server-based computing deployment used to deliver all applications to users is around 50% lower than that of an unmanaged desktop deployment.
WHITE PAPER
Economic downturns have a tendency to accelerate emerging technologies, boost the adoption of effective solutions, and punish solutions that are not cost competitive or that are out of synch with industry trends. This IDC White Paper presents the results of an IDC survey of 330 companies in Western Europe, Asia/Pacific and the Americas that measures the receptiveness to Linux and takes into consideration changing views driven by the disruptive economic environment that businesses face today.

White Papers & Webcasts

Enterprise Data Governance: Bridging the Business-IT Gap
Register for this live webcast today!

Informatica 9 Launch: Transform your Business. Transform your world.
Business and IT will finally be on the same page. Data quality issues will be a thing of the past. The promise of...

Introducing the HP ProLiant G6 servers
Download this Resource Now!  

 

SAS Information Management Kit

SAS is the leader in business intelligence and analytical software and services. Only SAS offers leading data integration, storage, analytics and business intelligence applications within a comprehensive enterprise intelligence platform. SAS gives 97 of the top 100 companies in the 2007 Fortune 500 THE POWER TO KNOW®.

Webcast: The Information Management Roadmap
Imagine high-quality data, cleansed, analyzed and delivered throughout your organization. Join Computerworld, IT visionary Thornton May and a panel of experts to learn how SAS® can help you make it happen.

View this webcast 
Research Report: Information Management Initiatives at Midsize and Large Organizations
See the top-line results of this Computerworld sponsored survey to see how IT and business leaders are handling information management implementation.

Download this report 
White Paper: Information Management: Better Information for Winning Decisions.
This white paper explains how the SAS Information Evolution Model aids companies in assessing how they use this information to make strategic decisions and drive business.

Download this white paper