Giter VIP home page Giter VIP logo

isucon8-qualify's People

Contributors

abicky avatar daisuzu avatar gfx avatar k-masatany avatar karupanerura avatar nekonenene avatar omega014 avatar polidog avatar rkmathi avatar sonots avatar xaicron avatar

Watchers

 avatar

isucon8-qualify's Issues

フルインデックススキャンされる

該当コード:https://github.com/ShuzoN/isucon8-qualify/blob/master/webapp/go/src/torb/app.go#L194

MariaDB [torb]> show index from events;
+--------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table  | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| events |          0 | PRIMARY  |            1 | id          | A         |          20 |     NULL | NULL   |      | BTREE      |         |               |
+--------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
1 row in set (0.00 sec)

MariaDB [torb]> explain SELECT * FROM events ORDER BY id ASC;
+------+-------------+--------+-------+---------------+---------+---------+------+------+-------+
| id   | select_type | table  | type  | possible_keys | key     | key_len | ref  | rows | Extra |
+------+-------------+--------+-------+---------------+---------+---------+------+------+-------+
|    1 | SIMPLE      | events | index | NULL          | PRIMARY | 4       | NULL |   20 |       |
+------+-------------+--------+-------+---------------+---------+---------+------+------+-------+
1 row in set (0.00 sec)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.