Creating Understanding and Educating Programmers, Developers and Technical Communities, one post at a time.

Showing posts with label core concept. Show all posts
Showing posts with label core concept. Show all posts

Monday, June 22, 2009

ACID Properties

To ensure integrity of the data, we require that the database system maintain the following properties of the transactions(these properties are also called ACID properties of a transaction.)

Atomicity: Either all operations of the transaction are reflected properly in the database, or none are.

Consistency Execution of a transaction in isolation (that is, with no other transaction executing concurrently) preserves the consistency of the database.

Isolation Even though multiple transactions may execute concurrently. Each transaction is unaware of other transactions executing concurrently in the system.

Durability After a transactions completes successfully, the changes it has made to the database persist, even if there are system failures.

Sunday, May 10, 2009

void pointer

Pointer to void (void *) is a generic pointer capable of representing any pointer type. All pointer types can be assigned a pointer to void without casting. However, a pointer to void cannot be assigned directly to a pointer of another type - the void pointer must first be cast to proper pointer type.

A void * pointer can not be dereferenced.

Sunday, January 25, 2009

Usage/Power of Boolean

Title of this post is strange to others. When I say power of Boolean, it does not mean any mathematical term, but to some extent it is. Actually, every-thing is based upon bool type.

Our daily life is also using this type. Every person or majority of people use bool efficiently. I am not talking about their end result/product. I am talking about usage of bool type.

What do you think about this type?
Do you have any other thought for this type?

Just answer my questions in comment area.