Dbms 1
Dbms 1
Aim: Study of MySQL Open source software. Discuss the characteristics like
efficiency, scalability, performance and transactional properties
Features of MySQL:
1. Because of its unique storage engine architecture MySQL performance is very
high.
2. Supports large number of embedded applications which makes MySql very
flexible.
3. Allows transactions to be rolled back, commit and crash recovery.
4. Embedded database library.
5. Full-text indexing and searching.
6. Updatable views.
7. Cursors.
8. Triggers.
9. Cross-platform support
.
Limitation of MySQL:
1. Like other SQL databases, MySQL does not currently comply with the full
SQL standard for some of the implemented functionality, including foreign
key references when using some storage engines other than the default of
InnoDB.
2. No triggers can be defined on views.
3. MySQL, like most other transactional relational databases, is strongly limited
by hard disk performance. This is especially true in terms of write latency.
Characteristics Of MySQL:
1. Scalable:
MySQL server is scalable and easy to use. Scalability refers to the ability of
systems to work easily with small amounts of data, large amounts of data,
clusters of machines, and so on. It is also used in production environment
due to its scalability and ease of use.
2. Performance:
MySQL is faster, more reliable, and cheaper because of its unique storage
engine architecture. It provides very high-performance results in
comparison to other databases without losing an essential functionality of
the software. It has fast loading utilities because of the different cache
memory.
3. Efficiency:
Its efficiency is high because it has a very low memory leakage problem.
4. Transaction:
A transaction in MySQL is a sequential group of statements, queries to
perform as a one single work unit that can be committed or rolled back.
Properties of Transaction:
a. Atomicity:
This property ensures that all statements or operations within the
transaction unit must be executed successfully. Otherwise, if any
operation is failed, the whole transaction will be aborted, and it goes
rolled back into their previous state.
b. Consistency:
This property ensures that the database changes state only when a
transaction will be committed successfully. It is also responsible for
protecting data from crashes.
c. Isolation:
This property guarantees that each operation in the transaction unit
operated independently. It also ensures that statements are transparent
to each other.
d. Durability:
This property guarantees that the result of committed transactions
persists permanently even if the system crashes or failed.