Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


What are wait-for-graphs?? Database management system


Question Posted Friday May 17 2013, 8:00 am

What are wait-for-graphs??

[ Answer this question ]
Want to answer more questions in the Technology category?
Maybe give some free advice about: Computers?


Ashwinjackson answered Saturday May 18 2013, 7:43 am:
The wait-for-graph is a directed graph and consists of nodes and directed arcs; the nodes of the graph are active transactions. An arc of the graph is inserted among two nodes if there is a data-item is needed by the node at the tail of the arc that is being held by the node at the head of the arc.

Algorithm to construct wait-for-graph is as follows:

1. For every transaction Ti active at the time of deadlock detection, make a node labeled Ti in the wait-for-graph.

2. For every case, if there is a transaction Ti, waiting for a data-item that is at present allocated and held by transaction Tj, then there is a directed arc from the node for transaction Ti, to the node for transaction Tj.

This answer is imcomplete if you want to read more about this answer than go thorugh this link:-

[Link](Mouse over link to see full location)

[ Ashwinjackson's advice column | Ask Ashwinjackson A Question
]


More Questions:

<<< Previous Question: pre ejaculation pregnancy
Next Question >>> Highly abusive / dysfunctional family dynamics

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker