<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 十一個(gè)高級MySql筆試題

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

    十一個(gè)高級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.)

    十一個(gè)高級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.

    【十一個(gè)高級MySql筆試題】相關(guān)文章:

    MYSQL基礎(chǔ)筆試題01-06

    MySQL筆試題目集錦01-06

    幾個(gè)MySql的筆試題01-06

    遇到的Mysql的筆試題01-06

    360筆試題目07-11

    華為2017筆試題08-16

    華為2017筆試試題08-10

    桂林銀行筆試題筆經(jīng)07-20

    高級Java筆試題集合12-03

    主站蜘蛛池模板: 亚洲精品永久在线观看| 国产精品久久毛片完整版| 2021国产精品视频| 亚洲国产午夜中文字幕精品黄网站| 精品视频第一页| 老司机性色福利精品视频| 亚洲?V乱码久久精品蜜桃| 国产乱人伦精品一区二区在线观看| 精品精品国产自在久久高清| 精品久久久久久无码专区| 亚洲av永久无码精品秋霞电影影院 | 国产成人精品日本亚洲| 亚洲国产精品无码久久| 日本精品一区二区三区在线视频 | 久久久久四虎国产精品| 久久精品水蜜桃av综合天堂| 亚洲精品无码久久久| 久久久久久久亚洲精品| 国产精品 综合 第五页| 99热精品毛片全部国产无缓冲| 久久这里只精品国产99热| 国产精品一二二区| 精品在线免费观看| 久久亚洲欧美日本精品| 亚洲国产精品lv| 2023国产精品自拍| 国产精品福利电影一区二区三区四区欧美白嫩精品 | 亚洲国产精品无码久久一区二区 | 国产99视频精品专区| 久久青草国产精品一区| 69堂国产成人精品视频不卡| 国产精品特级毛片一区二区三区 | 精品精品国产高清a毛片| 国产成人精品一区二三区在线观看| 久久精品国产一区二区三区日韩| 国内精品91最新在线观看| 国产精品青草久久久久婷婷| 国产精品亚洲欧美一区麻豆| 久久这里只精品国产99热| 最新亚洲精品国自产在线观看| 911亚洲精品国内自产|