Database engine development and common database internal principles Learning (1)

Source: Internet
Author: User

Database engine Development

The study of teacher Wang Tao's Database engine course has been a long time ago, limited to its own ability, especially the lack of understanding of the database, at that time can be said to swallow like learning, however, the harvest is still very large, and today, Think of their own understanding of the database to a higher level, but also because of the relatively complex and changeable modern database, the database model is much simpler than other databases, so re-turned out, again to learn, trying to clear the source layer of various database structure!

because it's a note-type blog post, it's constantly being updated.

Clue
  • Database development
  • relational database theory
  • Introduction to NoSQL Databases
1. Record:
  1. Talking about the nature of database
      1. A database is a software that provides access to services
      2. Internet service available
      3. Provides high availability
      4. Provides high performance
      5. Provides a generalized interface to reduce learning costs across a variety of databases
  2. Why do I need a database
      1. A unified standard for database access to various language interfaces
      2. Provide reliable data Services
      3. Provides high-performance database access performance
  3. Data Management History
      1. The first thing to do is to save the data with a card.
      2. Tape Storage (1951)
      3. Disk Save (1956 IBM 5MB)
  4. Database management System
      1. Mesh Database (IDS)
      2. Hierarchical database (IBM's IMS)
      3. relational database (Oracle,db2,mysql) (1970 proposes a relational database theory base model, 1974 debates relational database, 1979 Oracle V2 release, the world's first commercially available database, 1983 support transactions, DB2 1981 years before the release of commercial, 1991 only to the common platform)
      4. Non-relational database (object model, XML storage, graph storage)
        1. Relational database theory is too demanding, it thrives on hardware performance improvements, inability to handle big data, and NoSQL is thriving.
  5. Database-dependent Technologies
      1. Operating system
      2. Store
      3. Internet
  6. Application Scenarios for Databases
      1. At the bottom level of the application
  7. The theoretical basis of the relational model
      1. All information is represented as data values in the relationship. Therefore, the relationship variables are not related to each other at design time; instead, the designer uses the same domain in multiple relationship variables, and if one property relies on another property, the dependency is enforced by referential integrity.
  8. NoSQL type
      1. Key-value Key-value pairs
        1. Achieve a leap in data by simplifying data operations
      2. Big-table
      3. Document documents
        1. The closest to a relational type of NoSQL
        2. The core lies in the nesting of relationships
      4. Graph graph
        1. SNS type of System
  9. Document-based Database model
      1. Solving the relational model is too idealistic
      2. Relational models are difficult to maintain
      3. Semi-structured for xml,json,rest services
      4. Easy and easy to learn
      5. Non-fixed field, non-fixed length data, non-stationary access
2. Simplification:
    1. The essence of a database is a software that provides data access services
      1. The database provides highly available, high-performance access services, and provides a unified development interface for each language platform
    2. Relational database is a very perfect mathematical theory of the database, flourished in the hardware performance of a large increase in hardware bottlenecks when the inability to process data beyond the scale. The cost of cross-server join operations is huge. As well as the theoretical perfection of the coupling degree of the data model, the model change is very difficult, the complexity of business change is very high
    3. NoSQL type
      1. Key-value Database
      2. BigTable Database
      3. Document Type Database
      4. Graphics database
    4. Document Type Database
      1. A NoSQL database closest to a relational database whose core is the relational join becomes nested
      2. With semi-structured data storage such as Xml,json, restful services can be conveniently provided
      3. Easy to learn, very flexible business model
      4. Non-fixed field, non-fixed length data, non-stationary access
3. Recite:
    1. The database is a highly available software that provides high-performance access services that unify the development interfaces of each language platform.
    2. In the distributed database, the main cost of the relational database is that the network cost of the cross-server join is very large, and the join itself is one of the most important characteristics of the relational database.
    3. A document database is a semi-structured database whose core is the relational join nesting, and because it stores semi-structured data such as Xml,json, it is very convenient to provide rest services.
4. Consider:
    1. Any merit comes at a price.
    2. There is no silver bullet, and one solution can solve all problems, especially under the constraints of hardware conditions
    3. The pros and cons of relational databases are a problem worth thinking about, only to solve this problem to really know when to use NoSQL, but this series of notes blog is mainly used to learn the principles of the database, this is not the focus, in the future may be issued a variety of NoSQL note posts.
5. Review:
Summarize
  1. Relational databases have limitations in the case of big data
  2. A document-based database is a semi-structured database



From for notes (Wiz)



Database engine development and common database internal principles Learning (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.