PostgreSQL Ends the Waiting Game New Hampshire

This article takes a close-up look at how multi-version concurrency control cuts read-write waiting time in PostgreSQL.

Local Companies

Marzen Group Llc
(603) 889-9522
35 Pine Street Ext
Nashua, NH
Cherrywind Technologies
(603) 224-1021
515 4th Range Rd
Pembroke, NH
Clark Consulting
(603) 742-3473
410 Dover Point Rd
Dover, NH
Victorex
(603) 428-8200
51 Rush Rd
Henniker, NH
Global American Inc
(603) 886-3900
17 Hampshire Dr
Hudson, NH
QED Connect
(603)881-3884
2 Townsend West Unit 1
Nashua, NH
Sequoya Technologies Group Llc
(603) 924-7977
162 Hancock Rd
Peterborough, NH
Open Systems Resources Inc
(603) 595-6500
105 State Route 101A Unit 19
Amherst, NH
Echo Management Group
(603) 447-8600
15 Washington St
Conway, NH
Kenney Dennen & Lague PC
(603) 898-1300
Salem, NH

provided by: 
Originally published at Internet.com


The Waiting ... Is the Hardest Part



Please wait ... and wait and wait again. One of the nagging problems many databases can't seem to shake is that at some point a user is going to have to wait while someone else updates the system. Whether the database system is using table-level, page-level, column-level, or row-level locking, the same problem arises: readers (SELECTs) wait for writers (UPDATEs) to finish, and writers (UPDATEs) wait for readers (SELECTs) to finish.

PostgreSQL, the open source database that is often compared to most advanced commercial databases, has a mechanism called MVCC (MultiVersion Concurrency Control). MVCC has the ability to perform row-level locking as well as lock rows for writing in one session while giving access to these rows unaffected in another session. It's been said that MySQL, a lightweight open source database, has a version of MVCC, but the two aren't really comparable since MySQL can do only table locking for reading. This is one of the many instances where PostgreSQL has the upper hand.

With PostgreSQL, readers never wait for writers, and writers never wait for readers. I can already hear the objections to the claim that there is no "no-locking" in PostgreSQL, so let me explain PostgreSQL's MVCC in further detail...

Read article at Internet.com site

Featured Local Company

QED Connect

(603)881-3884
2 Townsend West Unit 1
Nashua, NH
http://www.qedconnect.com

QED Connect, Inc. is an information security Software-as-a-Service (SaaS) provider that gives organizations visibility, management and control of activity on all their computers, laptops and wireless devices. The company’s popular SaaS, Omni Manager, is an affordable way to monitor and manage how employees are using company computers and the Internet at any time, from any location in the world. This solves the problems created by today’s ‘virtual’ work environment of branch offices, remote workers and traveling employees. Omni Manager is a web-hosted software application that includes e-mail and Internet filtering and blocking, antivirus, instant messaging management, asset tracking, application usage monitoring and policy management. ROI is delivered by employee productivity gains, cost savings and improved operational efficiencies.

Related Article
- Random Numbers and Tic Tac Toe with Visual Basic .NET New Hampshire
The holidays are a time for fun. Learn about random numbers from Paul Kimmel's latest Visual Basic Today column from CodeGuru.com. Includes a Tic Tac Toe game!
Related Article
- Random Numbers and Tic Tac Toe with Visual Basic .NET New Hampshire
The holidays are a time for fun. Learn about random numbers from Paul Kimmel's latest Visual Basic Today column from CodeGuru.com. Includes a Tic Tac Toe game!

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML