Content deleted Content added
No edit summary |
No edit summary |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 1:
{{Short description|Database engine}}
{{ Infobox Software
| name = ArchiveStorage Engine
Line 8 ⟶ 9:
| developer =
| released = 2004
| latest release version =
| latest release date =
Line 19:
| genre = [[Database engine]]
| license = [[GNU General Public License]]
| website =
}}
'''
One of the current restrictions of Archive tables is that they do not support any indexes, thus necessitating a table scan for any SELECT tasks. Archive tables, however, are supported by the MySQL Query Cache, which can dramatically reduce response times for Archive table queries that are repetitively issued.<ref>
The engine is not [[ACID]] compliant. Unlike [[OLTP]] engines, it uses a "stream" format to disk with no block boundaries. The head of the Archive file generated is a byte array representing the data format and contents of that file. In MySQL 5.1, a copy of the MySQL FRM file is stored in the header of each Archive file. The FRM file, which represents the definition of a table, allows an Archive file to be restored to a MySQL server if the Archive file is copied to the server.
Line 30:
Despite the use of [[zlib]], archive files are not compatible with [[gzio]], the basis of the [[gzip]] tools. It uses its own azio system that is a fork of gzio.
Archive differs from the other MySQL analytical engine, [[MyISAM]], by being a row
Users can use the archive_reader tool to take an online snapshot of a table and to change the characteristics of an archive file.
Line 36:
To create an Archive table, specify the following engine string:
<
create table t1 (
a int,
b varchar(32))
ENGINE=ARCHIVE
</syntaxhighlight>
The MySQL <ref>[https://www.w3schools.blog/ MySQL Tutorial]</ref> Archive Storage Engine was authored and is maintained by [[Brian Aker]]. It was introduced in 2004 with MySQL 4.1.
==References==
|