12

What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug
Page 2: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

What's New in MySQL 5.7.5?

Norvald H. RyengSoftware Engineer, MySQL Optimizer Team

London, December 2014

Page 3: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

3Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

AgendaInnoDBOptimizerStrict modeGISTools and OS support

1

2

3

4

5

6

7

Page 4: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

4Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

InnoDB● Online buffer pool resizing● Bulk data load improvements (faster CREATE INDEX)● The executor can use InnoDB temporary tables (configurable)● R-trees● Truncation of undo logs

Page 5: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

5Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Optimizer● New cost model

– Work in progress, so far mostly refactoring● ONLY_FULL_GROUP_BY mode recognizes functional dependencies

– Less strict (still standard compliant)– SELECT name, ANY_VALUE(address), MAX(age) FROM t GROUP BY name;

● Refactoring– Better split between parsing, resolving, planning/optimization and

execution phases– True bottom-up parser

Page 6: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

6Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Strict Mode● Strict mode is now default● Deprecate SQL modes ERROR_FOR_DIVISION_BY_ZERO,

NO_ZERO_DATE and NO_ZERO_IN_DATE– Now part of strict mode

Strict mode is good for you! :-)

Page 7: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

7Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

GIS● InnoDB R-trees● Use Boost::Geometry for many GIS functions

– Replace old, homegrown algorithms● Geohash input/output● GeoJSON input/output

Page 8: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

8Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Tools and OS support● mysql_upgrade and mysql_install_db are now C/C++ programs● Remove obsolete scripts

– mysqlbug– mysql_zap– mysql_waitpid– mysqlhotcopy

● Native syslog support– Replaces a shell script wrapper

Page 9: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

9Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

... and many, many more

http://mysqlserverteam.com/

Page 10: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

10Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Page 11: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug

11Copyright © 2014 Oracle and/or its affiliates. All rights reserved.

Safe Harbor StatementThe preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Page 12: What's new in MySQL 5.7.5? - Meetupfiles.meetup.com/7591662/whats_new_in_575.pdf · mysql_upgrade and mysql_install_db are now C/C++ programs Remove obsolete scripts – mysqlbug