ArticleslgStudy

computer science

Aria (storage engine)

Aria (storage engine) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Aria (storage engine) rather than just read about it. In short: Aria is a storage engine for the MariaDB and MySQL relational database management systems. Its goal is to make a crash-safe alternative to MyISAM.

Key takeaways

  • Aria (storage engine) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Aria (storage engine) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Aria (storage engine) from memory before moving on to harder problems.

Reference excerpt

Aria is a storage engine for the MariaDB and MySQL relational database management systems. Its goal is to make a crash-safe alternative to MyISAM. It is not transactional. Aria has been in development since 2007 and was first announced by Michael "Monty" Widenius on his blog. Aria is used for internal temporary tables and, since MariaDB 10.4, internal system tables in MariaDB. Aria is not shipped with MySQL or Percona Server. Aria was initially named "Maria", as a reference to Monty's youngest child. It was renamed Aria in 2010 to avoid confusion with the main database it is developed for, MariaDB. Chris Tooley, who won a contest to suggest the name, wrote, "Aria is Maria without the 'M'; also it is a pleasant musical term."

Features Aria is very similar to MyISAM, but its purpose is to be a crash-safe alternative to MyISAM. Aria does not support foreign keys and, currently, transactions. Aria was originally conceived as a crash-safe, and eventually fully transactional, replacement for MyISAM and default storage engine for both MariaDB and MySQL. Development has proceeded in phases: the current release, Aria 1.5, provides crash safety without full transactions, while a fully transactional Aria 2.0 — intended to match major InnoDB features such as ACID compliance and row-level locking — remains on hold. Tables can be created with the TRANSACTIONAL option, which makes them crash-safe and atomic but not transactional in the strict sense, since changes cannot be undone with the ROLLBACK command. Aria supports:

Fulltext indexes; OpenGIS data types; Virtual columns.

Files structure Non-partitioned Aria tables consist of three physical files:

table_name.frm table_name.MAD table_name.MAI The .frm file contains the table definition (this file exists for all storage engines which write data to disk). The .MAD file contains the data. The .MAI file contains the indexes.

Formats Three table formats are available for Aria tables:

PAGE; FIXED; DYNAMIC. PAGE is the only format available for "transactional" tables. It makes Aria tables crash-safe. FIXED and DYNAMIC are the same formats used by MyISAM, and have been mainly implemented for compatibility. However, MyISAM's COMPRESSED format is not available in Aria. In order to set the table format, one can use the ROW_FORMAT option in a CREATE TABLE or ALTER TABLE command.

See also

Falcon InnoDB MyISAM XtraDB

References

External links Aria in the MariaDB docs The Maria engine is released - written by Michael Widenius (founder of MySQL AB) Maria: The new MySQL Storage Engine at Google Videos - A talk given by Michael Widenius

Worked examples

Example 1 — a first encounter with Aria (storage engine)

Start with the simplest possible case. Write down what Aria (storage engine) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Aria (storage engine) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Aria (storage engine) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Aria (storage engine)

In research
Aria (storage engine) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Aria (storage engine) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Aria (storage engine) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Database engines, Database software stubs, Free and open-source software stubs, so understanding it makes those chapters shorter.
In everyday life
Look for Aria (storage engine) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Aria (storage engine)” →

How to study Aria (storage engine) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Aria (storage engine) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Aria (storage engine) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Aria (storage engine) in simple terms?

Aria is a storage engine for the MariaDB and MySQL relational database management systems. Its goal is to make a crash-safe alternative to MyISAM.

Why does Aria (storage engine) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Aria (storage engine)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Aria (storage engine).

Tags

  • Database engines
  • Database software stubs
  • Free and open-source software stubs
  • Free software programmed in C++
  • MariaDB
  • MySQL
  • Software using the GNU General Public License

Keep exploring