MySQL Archive (original) (raw)
Archive is a storage engine for the MySQL relational database management system. Users can use this analytic storage engine to create a table that is “archive” only. Data cannot be deleted from this table, only added. The Archive engine uses a compression strategy based on the zlib library and it packs the rows using a bit header to represent nulls and removes all whitespace for character type fields. When completed, the row is inserted into the compression buffer and flushed to disk by an explicit flush table, a read, or the closing of the table.
Property | Value |
---|---|
dbo:abstract | Archive is a storage engine for the MySQL relational database management system. Users can use this analytic storage engine to create a table that is “archive” only. Data cannot be deleted from this table, only added. The Archive engine uses a compression strategy based on the zlib library and it packs the rows using a bit header to represent nulls and removes all whitespace for character type fields. When completed, the row is inserted into the compression buffer and flushed to disk by an explicit flush table, a read, or the closing of the table. 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. MySQL is examining index support for Archive tables in upcoming releases. 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. Despite the use of zlib, archive files are not compatible with , 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 level locking engine and by keeping a constant version snapshot throughout a single query (making it MVCC). This means that Archive does not lock for concurrent bulk inserts. For bulk inserts it performs an interlaced INSERT, so unlike MyISAM, order is not guaranteed. Users can use the archive_reader tool to take an online snapshot of a table and to change the characteristics of an archive file. To create an Archive table, specify the following engine string: create table t1 ( a int, b varchar(32))ENGINE=ARCHIVE The MySQL Archive Storage Engine was authored and is maintained by Brian Aker. It was introduced in 2004 with MySQL 4.1. (en) |
dbo:author | dbr:Brian_Aker |
dbo:computingPlatform | dbr:PowerPC dbr:SPARC dbr:MIPS_architecture dbr:X86-64 dbr:X86_architecture |
dbo:genre | dbr:Database_engine |
dbo:license | dbr:GNU_General_Public_License |
dbo:operatingSystem | dbr:Cross-platform |
dbo:programmingLanguage | dbr:C++ dbr:C_(programming_language) |
dbo:wikiPageExternalLink | http://dev.mysql.com/doc/refman/5.1/en/archive-storage-engine.html |
dbo:wikiPageID | 13116285 (xsd:integer) |
dbo:wikiPageLength | 3653 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1018691522 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:PowerPC dbr:Brian_Aker dbr:Relational_database_management_system dbr:Cross-platform dbr:SPARC dbr:GNU_General_Public_License dbr:MySQL dbr:MIPS_architecture dbr:Zlib dbr:C++ dbr:C_(programming_language) dbc:MySQL dbr:Database_engine dbr:ACID dbr:Gzip dbc:Database_engines dbr:X86-64 dbr:X86_architecture dbr:MyISAM dbr:Multiversion_concurrency_control dbr:OLTP dbr:Gzio |
dbp:author | dbr:Brian_Aker |
dbp:collapsible | yes (en) |
dbp:genre | dbr:Database_engine |
dbp:license | dbr:GNU_General_Public_License |
dbp:name | ArchiveStorage Engine (en) |
dbp:operatingSystem | dbr:Cross-platform |
dbp:platform | dbr:PowerPC dbr:SPARC dbr:MIPS_architecture dbr:X86-64 dbr:X86_architecture |
dbp:programmingLanguage | dbr:C++ dbr:C_(programming_language) |
dbp:released | 2004 (xsd:integer) |
dbp:wikiPageUsesTemplate | dbt:MySQL dbt:Infobox_Software dbt:Reflist dbt:Database-software-stub |
dbp:wordnet_type | http://www.w3.org/2006/03/wn/wn20/instances/synset-software-noun-1 |
dcterms:subject | dbc:MySQL dbc:Database_engines |
gold:hypernym | dbr:Engine |
rdf:type | owl:Thing dbo:Software schema:CreativeWork dbo:Work wikidata:Q386724 wikidata:Q7397 yago:Abstraction100002137 yago:Code106355894 yago:CodingSystem106353757 yago:Communication100033020 yago:Writing106359877 yago:WrittenCommunication106349220 yago:Software106566077 |
rdfs:comment | Archive is a storage engine for the MySQL relational database management system. Users can use this analytic storage engine to create a table that is “archive” only. Data cannot be deleted from this table, only added. The Archive engine uses a compression strategy based on the zlib library and it packs the rows using a bit header to represent nulls and removes all whitespace for character type fields. When completed, the row is inserted into the compression buffer and flushed to disk by an explicit flush table, a read, or the closing of the table. (en) |
rdfs:label | MySQL Archive (en) |
owl:sameAs | freebase:MySQL Archive wikidata:MySQL Archive https://global.dbpedia.org/id/4rfGa |
prov:wasDerivedFrom | wikipedia-en:MySQL_Archive?oldid=1018691522&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:MySQL_Archive |
foaf:name | ArchiveStorage Engine (en) |
is dbo:wikiPageWikiLink of | dbr:List_of_databases_using_MVCC dbr:Brian_Aker dbr:Comparison_of_MySQL_database_engines dbr:Outline_of_MySQL |
is foaf:primaryTopic of | wikipedia-en:MySQL_Archive |