Sesame HTTP: Non-relational database storage, Sesame database storage
NoSQL stands for Not Only SQL, meaning Not Only SQL, but also non-relational databases. NoSQL is based on key-value pairs and does not need to be parsed at the SQL layer. There is no coupling between data and the performance is very high.
Non-relational databases can be subdivided as follows.
- Key-value storage database: Represents Redis, Voldemort, and Oracle BDB.
- Column storage database: Cassandra, HBase, and Riak.
- Document Database: Represents CouchDB and MongoDB.
- Graph database: Neo4J, InfoGrid, and Infinite Graph.
For crawler data storage, some fields may fail to be extracted and missing from a piece of data, and the data may be adjusted at any time. In addition, data is nested. If you use relational database storage, first, you need to create tables in advance, and second, if there is a data nesting relationship, you need to perform serialization operations to store the data, which is very inconvenient. If a non-relational database is used, it can avoid some troubles and be simpler and more efficient.
This section describes data storage operations for MongoDB and Redis.
Address: https://cuiqingcai.com/5581.html