• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. 十一個高級MySql筆試題

        時間:2020-11-25 18:25:35 筆試題目 我要投稿

        十一個高級MySql筆試題

          1. Explain MySQL architecture. – The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.)

        十一個高級MySql筆試題

          2. Explain MySQL locks. – Table-level locks allow the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most granular and allow locking of specific rows.

          3. Explain multi-version concurrency control in MySQL. – Each row has two additional columns associated with it – creation time and deletion time, but instead of storing timestamps, MySQL stores version numbers.

          4. What are MySQL transactions? – A set of instructions/queries that should be executed or rolled back as a single atomic unit.

          5. What’s ACID? – Automicity – transactions are atomic and should be treated as one in case of rollback. Consistency – the database should be in consistent state between multiple states in transaction. Isolation – no other queries can access the data modified by a running transaction. Durability – system crashes should not lose the data.

          6. Which storage engines support transactions in MySQL? – Berkeley DB and InnoDB.

          7. How do you convert to a different table type? – ALTER TABLE customers TYPE = InnoDB

          8. How do you index just the first four bytes of the column? – ALTER TABLE customers ADD INDEX (business_name(4))

          9. What’s the difference between PRIMARY KEY and UNIQUE in MyISAM? – PRIMARY KEY cannot be null, so essentially PRIMARY KEY is equivalent to UNIQUE NOT NULL.

          10. How do you prevent MySQL from caching a query? – SELECT SQL_NO_CACHE …

          11. What’s the difference between query_cache_type 1 and 2? – The second one is on-demand and can be retrieved via SELECT SQL_CACHE … If you’re worried about the SQL portability to other servers, you can use SELECT /* SQL_CACHE */ id FROM … – MySQL will interpret the code inside comments, while other servers will ignore it.

        《&.doc》
        将本文的Word文档下载到电脑,方便收藏和打印
        推荐度:
        点击下载文档

        【十一個高級MySql筆試題】相關文章:

        MYSQL基礎筆試題01-06

        MySQL筆試題目集錦01-06

        幾個MySql的筆試題01-06

        遇到的Mysql的筆試題01-06

        360筆試題目07-11

        華為2017筆試題08-16

        華為2017筆試試題08-10

        桂林銀行筆試題筆經07-20

        高級Java筆試題集合12-03

        在线咨询
        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 亚洲午夜久久久影院伊人 | 久久精品国产亚洲精品2020 | 亚洲国产精品久久艾草 | 亚洲国产精品久久精品 | 日韩成AV人网站在线播放 | 午夜亚洲国产理论片中文 |

            十一個高級MySql筆試題

              1. Explain MySQL architecture. – The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.)

            十一個高級MySql筆試題

              2. Explain MySQL locks. – Table-level locks allow the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most granular and allow locking of specific rows.

              3. Explain multi-version concurrency control in MySQL. – Each row has two additional columns associated with it – creation time and deletion time, but instead of storing timestamps, MySQL stores version numbers.

              4. What are MySQL transactions? – A set of instructions/queries that should be executed or rolled back as a single atomic unit.

              5. What’s ACID? – Automicity – transactions are atomic and should be treated as one in case of rollback. Consistency – the database should be in consistent state between multiple states in transaction. Isolation – no other queries can access the data modified by a running transaction. Durability – system crashes should not lose the data.

              6. Which storage engines support transactions in MySQL? – Berkeley DB and InnoDB.

              7. How do you convert to a different table type? – ALTER TABLE customers TYPE = InnoDB

              8. How do you index just the first four bytes of the column? – ALTER TABLE customers ADD INDEX (business_name(4))

              9. What’s the difference between PRIMARY KEY and UNIQUE in MyISAM? – PRIMARY KEY cannot be null, so essentially PRIMARY KEY is equivalent to UNIQUE NOT NULL.

              10. How do you prevent MySQL from caching a query? – SELECT SQL_NO_CACHE …

              11. What’s the difference between query_cache_type 1 and 2? – The second one is on-demand and can be retrieved via SELECT SQL_CACHE … If you’re worried about the SQL portability to other servers, you can use SELECT /* SQL_CACHE */ id FROM … – MySQL will interpret the code inside comments, while other servers will ignore it.