books
Free Books / Computers / Practical mod_perl /

previous page: 20.1.5. Caveats and Troubleshooting
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 20.1.5.2. Transactions

20.1.5.1. Database locking risks




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

When you use Apache::DBIor similar persistent connections, be very careful about locking the database (LOCK TABLE ...) or single rows. MySQL threads keep tables locked until the thread ends (i.e., the connection is closed) or until the tables are explicitly unlocked. If your session dies while tables are locked, they will stay locked, as your connection to the database won't be closed. In Chapter 6 we discussed how to terminate the program cleanly if the session is aborted prematurely.

 

Continue to:

  • prev: 20.1.5. Caveats and Troubleshooting
  • Table of Contents
  • next: 20.1.5.2. Transactions

Books by Stas Bekman:















TOP
previous page: 20.1.5. Caveats and Troubleshooting
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 20.1.5.2. Transactions

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com