MySQL + SQL · Lesson 83

DBMS और MySQL में ACID Properties

ACID Properties क्या हैं?

ACID चार properties हैं जो reliable transactions की गारंटी देती हैं। हर DBMS exam में पूछा जाता है।

चार Properties

Propertyमतलब
Atomicityसारे steps हों, या कोई नहीं
ConsistencyDatabase पहले और बाद में valid रहे
Isolationएक साथ चलते transactions दखल न दें
DurabilityCommitted data crashes में भी बचे

Example

Bank transfer में: Atomicity सुनिश्चित करती है कि debit और credit साथ हों; Durability सुनिश्चित करती है कि commit होने के बाद transfer power failure में भी बचे।

सारांश

  • A = Atomicity, C = Consistency, I = Isolation, D = Durability।
  • मिलकर ये transactions को reliable बनाती हैं।
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।