Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MySQL 5.7のJSON型について | MySQL Casual Talks in Fuk...

MySQL 5.7のJSON型について | MySQL Casual Talks in Fukuoka vol.6 #mysql_casual_fukuoka /mysql-casual-talks-fukuoka-vol6

Manabu Matsuzaki

December 13, 2016
Tweet

More Decks by Manabu Matsuzaki

Other Decks in Technology

Transcript

  1. MySQLͷྺ࢙ • MySQL 5.7 ʢ2015/10ϦϦʔεʣ • MySQL 5.6 ʢ2013/02ϦϦʔεʣ •

    MySQL 5.5 ʢ2010/12ϦϦʔεʣ • MySQL 5.1 ʢ2008/11ϦϦʔεʣ • MySQL 5.0 ʢ2005/10ϦϦʔεʣ • MySQL 4.1 ʢ2004/10ϦϦʔεʣ • MySQL 4.0 ʢ2003/03ϦϦʔεʣ • MySQL 3.23 ʢ2001/01ϦϦʔεʣ • MySQL 3.23Ҏલ
  2. Java͔Β࢖ͬͯΈͨ • αϯϓϧΞϓϦͷιʔε
 https://github.com/matsumana/mysql-json-sandbox
 • ؀ڥ • OSɿ CentOS 7.2

    (1511) • MySQLɿ 5.7.16 Community Edition • JDBC Driverɿ Connector/J 5.1.40 • Java8 (1.8.0_111) • Frameworkɿ Spring Boot 1.4.1 • ORMɿ MyBatis 3.4.0
  3. ϦϯΫू • MySQL :: MySQL 5.7 Reference Manual :: 12.6

    The JSON Data Type • ॻ੶ൃߦͷ͓஌ΒͤɿৄղMySQL 5.7 ʙਐԽͨ͠MySQLΛΑ͘஌Δ ͨΊͷςΫχΧϧΨΠυʙ • MySQL 5.7.8͔ΒInnoDBͷgenerated column͸࣮ମΛऔΒͣʹΠϯ σοΫεΛ࡞ΕΔΑ͏ʹͳͬͨ • PostgreSQLͷΞϯνύλʔϯ : ԿͰ΋͔ΜͰ΋jsonʹೖΕΔ • SQLΞϯνύλʔϯ • αϯϓϧΞϓϦͷιʔε