What is ACID?
Answers were Sorted based on User's Feedback
Answer / gurmeet shah
Atomicity,Consistency,Isolation,Durability
Atomicity:
1. a transaction is a unit of operation - either all the
transaction's actions are completed or none are
2 atomicity is maintained in the presence of deadlocks.
Consistency: Consistency is the ACID property that ensures
that any changes to values in an instance are consistent
with changes to other values in the same instance
Isolations: The isolation portion of the ACID properties is
needed when there are concurrent transactions. Concurrent
transactions are transactions that occur at the same time
Durability:It refers to the ability of the system to
recover committed transaction updates if either the system
or the storage media fails.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / amith
Automicity transactions are atomic and should be treated
as one in case of rollback. Consistency - the database
should be in consistent state between multiple states in
transaction.
Isolation no other queries can access the data modified by
a running transaction. Durability system crashes should not
lose the data.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is field in mysql?
If we use sum function in mysql, does it return sum of that row or for that column?
The structure of table view buyers is as follows: +----------------+-------------+------+-----+---------+----- -----------+ | Field | Type | Null | Key | Default | Extra | +----------------+-------------+------+-----+---------+----- -----------+ | user_pri_id | int(15) | | PRI | NULL | auto_increment | | userid | varchar(10) | YES | | NULL | | +----------------+-------------+------+-----+---------+----- -----------+ the value of user_pri_id the last row 2345 then What will happen in the following conditions? Condition1: Delete all the rows and insert another row then. What is the starting value for this auto incremented field user_pri_id , Condition2: Delete the last row(having the field value 2345) and insert another row then. What is the value for this auto incremented field user_pri_id
how we will Show selected records sorted in an ascending (asc) or descending (desc).
How can you do the fine tunning?
Write a query to find duplicate rows in table?
State the differences between mongodb and mysql.
What are the advantages of a procedure?
What does mysql flush privileges do?
For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number ?1234?. The query should be able to run under a MySQL 4.0 database.
Does mysql support sequence?
What is procedural api?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)