Upgrading to MySQL 8.0+: a More Automated Upgrade Experience. Dmitry Lenev, Software Developer Oracle/MySQL, November 2018

Size: px
Start display at page:

Download "Upgrading to MySQL 8.0+: a More Automated Upgrade Experience. Dmitry Lenev, Software Developer Oracle/MySQL, November 2018"

Transcription

1 Upgrading to MySQL 8.0+: a More Automated Upgrade Experience Dmitry Lenev, Software Developer Oracle/MySQL, November 2018

2 Safe Harbor Statement The following 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 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.

3 Agenda Introduction A straightforward upgrade to MySQL 8.0 Upgrade to MySQL 8.0 in detail A better future post MySQL 8.0

4 Introduction Upgrading in general Upgrading in general

5 Why upgrade MySQL installation? Security concerns Bug fixes Performance and Scalability New features Reduce tech debt for installation Multiple version upgrade is complex ( ) E.g., deprecated functionality in 5.7, removed in 8.0

6 Why upgrade MySQL installation? Security concerns Bug fixes Performance and Scalability New features Reduce tech debt for installation Multiple version upgrade is complex ( ) E.g., deprecated functionality in 5.7, removed in 8.0

7 Why upgrade MySQL installation? Security concerns Bug fixes Performance and Scalability New features Reduce tech debt for installation Multiple version upgrade is complex ( ) E.g., deprecated functionality in 5.7, removed in 8.0

8 Why upgrade MySQL installation? Security concerns Bug fixes Performance and Scalability New features Reduce tech debt for installation Multiple version upgrade is complex ( ) E.g., deprecated functionality in 5.7, removed in 8.0

9 Why upgrade MySQL installation? Security concerns Bug fixes Performance and Scalability New features Reduce tech debt for installation Multiple version upgrade is complex ( ) E.g., deprecated functionality in 5.7, removed in 8.0

10 Why do we postpone upgrades? Do we have required knowledge? Do we have required resources? Do we have time? Cost for doing the actual work necessary to upgrade For DBAs and possibly consultants Can we afford it? Cost for lost business during the switchover, depending on downtime

11 Why do we postpone upgrades? Do we have required knowledge? Do we have required resources? Do we have time? Cost for doing the actual work necessary to upgrade For DBAs and possibly consultants Can we afford it? Cost for lost business during the switchover, depending on downtime

12 Why do we postpone upgrades? Do we have required knowledge? Do we have required resources? Do we have time? Cost for doing the actual work necessary to upgrade For DBAs and possibly consultants Can we afford it? Cost for lost business during the switchover, depending on downtime

13 Why do we postpone upgrades? Do we have required knowledge? Do we have required resources? Do we have time? Cost for doing the actual work necessary to upgrade For DBAs and possibly consultants Can we afford it? Cost for lost business during the switchover, depending on downtime

14 Why do we postpone upgrades? Do we have required knowledge? Do we have required resources? Do we have time? Cost for doing the actual work necessary to upgrade For DBAs and possibly consultants Can we afford it? Cost for lost business during the switchover, depending on downtime

15 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

16 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

17 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

18 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

19 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

20 Biting the Bullet At some point upgrade needs to happen! DBA input regarding upgrading MySQL: Reducing risk and cost is key Total duration of upgrade should be short For customer apps, keep old MySQL behavior by default, change behavior later Want to test new version gradually When switching downtime should be minimal

21 Upgrade to MySQL 8.0 The straightforward case The straightforward case

22 MySQL upgrade , smooth sailing! Read release notes: Conclusion No problems Run upgrade_checker -e "util.checkforserverupgrade(); The MySQL server at localhost:3307 will now be checked for compatibility issues for upgrade to MySQL MySQL version: Source distribution 1) Usage of db objects with names conflicting with reserved keywords in 8.0 No issues found 2) Usage of utf8mb3 charset No issues found No known compatibility errors or issues for upgrading the target server to MySQL 8 were found.

23 MySQL upgrade , smooth sailing! Read release notes: Conclusion No problems Run upgrade_checker -e "util.checkforserverupgrade(); The MySQL server at localhost:3307 will now be checked for compatibility issues for upgrade to MySQL MySQL version: Source distribution 1) Usage of db objects with names conflicting with reserved keywords in 8.0 No issues found 2) Usage of utf8mb3 charset No issues found No known compatibility errors or issues for upgrading the target server to MySQL 8 were found.

24 MySQL upgrade , smooth sailing! Read release notes: Conclusion No problems Run upgrade_checker -e "util.checkforserverupgrade(); The MySQL server at localhost:3307 will now be checked for compatibility issues for upgrade to MySQL MySQL version: Source distribution 1) Usage of db objects with names conflicting with reserved keywords in 8.0 No issues found 2) Usage of utf8mb3 charset No issues found No known compatibility errors or issues for upgrading the target server to MySQL 8 were found.

25 MySQL upgrade , smooth sailing! Backup your data directory Install and start MySQL 8.0 In-place upgrade Run mysql_upgrade --socket=/me/mysql/mysql.sock --port= user=root Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Upgrading system table data. Checking system database. mysql.columns_priv mysql.component mysql.db... Upgrade process completed successfully. OK OK OK

26 MySQL upgrade , smooth sailing! Backup your data directory Install and start MySQL 8.0 In-place upgrade Run mysql_upgrade --socket=/me/mysql/mysql.sock --port= user=root Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Upgrading system table data. Checking system database. mysql.columns_priv mysql.component mysql.db... Upgrade process completed successfully. OK OK OK

27 MySQL upgrade , smooth sailing! Backup your data directory Install and start MySQL 8.0 In-place upgrade Run mysql_upgrade --socket=/me/mysql/mysql.sock --port= user=root Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Upgrading system table data. Checking system database. mysql.columns_priv mysql.component mysql.db... Upgrade process completed successfully. OK OK OK

28 MySQL upgrade , smooth sailing! Backup your data directory Install and start MySQL 8.0 In-place upgrade Run mysql_upgrade --socket=/me/mysql/mysql.sock --port= user=root Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Upgrading system table data. Checking system database. mysql.columns_priv mysql.component mysql.db... Upgrade process completed successfully. OK OK OK

29 MySQL upgrade , smooth sailing! Restart the server and look at messages in the error log T09:11: Z 0 [System] [MY ] [Server] /me/mysqld (mysqld ) starting as process T09:11: Z 0 [System] [MY ] [Server] /me/mysqld: ready for connections. Version: '8.0.12' socket: /me/mysql/mysql.sock' port: 3307 Source distribution Verify that apps and services are working as expected Simple installation we assume that can be reactive about app issues.

30 MySQL upgrade , smooth sailing! Restart the server and look at messages in the error log T09:11: Z 0 [System] [MY ] [Server] /me/mysqld (mysqld ) starting as process T09:11: Z 0 [System] [MY ] [Server] /me/mysqld: ready for connections. Version: '8.0.12' socket: /me/mysql/mysql.sock' port: 3307 Source distribution Verify that apps and services are working as expected Simple installation we assume that can be reactive about app issues.

31 Improvements to upgrade to MySQL 8.0

32 Goals for MySQL upgrade experience Upgrade to be faster and with lower risk Eliminate legacy issues with metadata Transition from legacy metadata handling to transactional data dictionary The upgrade process will produce consistent data dictionary Help DBAs upgrading to MySQL 8.0 Better support preparing for upgrade Added upgrade_checker to the MySQL Shell Better support during upgrade Added upgrade checks to MySQL Server Prohibit legacy issues from entering MySQL 8.0 metadata store

33 Goals for MySQL upgrade experience Upgrade to be faster and with lower risk Eliminate legacy issues with metadata Transition from legacy metadata handling to transactional data dictionary The upgrade process will produce consistent data dictionary Help DBAs upgrading to MySQL 8.0 Better support preparing for upgrade Added upgrade_checker to the MySQL Shell Better support during upgrade Added upgrade checks to MySQL Server Prohibit legacy issues from entering MySQL 8.0 metadata store

34 Goals for MySQL upgrade experience Upgrade to be faster and with lower risk Eliminate legacy issues with metadata Transition from legacy metadata handling to transactional data dictionary The upgrade process will produce consistent data dictionary Help DBAs upgrading to MySQL 8.0 Better support preparing for upgrade Added upgrade_checker to the MySQL Shell Better support during upgrade Added upgrade checks to MySQL Server Prohibit legacy issues from entering MySQL 8.0 metadata store

35 Goals for MySQL upgrade experience Upgrade to be faster and with lower risk Eliminate legacy issues with metadata Transition from legacy metadata handling to transactional data dictionary The upgrade process will produce consistent data dictionary Help DBAs upgrading to MySQL 8.0 Better support preparing for upgrade Added upgrade_checker to the MySQL Shell Better support during upgrade Added upgrade checks to MySQL Server Prohibit legacy issues from entering MySQL 8.0 metadata store

36 Goals for MySQL upgrade experience Upgrade to be faster and with lower risk Eliminate legacy issues with metadata Transition from legacy metadata handling to transactional data dictionary The upgrade process will produce consistent data dictionary Help DBAs upgrading to MySQL 8.0 Better support preparing for upgrade Added upgrade_checker to the MySQL Shell Better support during upgrade Added upgrade checks to MySQL Server Prohibit legacy issues from entering MySQL 8.0 metadata store

37 MySQL Data Dictionary before MySQL 8.0 Data Dictionary Files FRM TRG OPT File system SQL System Tables (mysql.*) MyISAM user events proc InnoDB System Tables InnoDB

38 Transactional Data Dictionary in MySQL 8.0 Data Dictionary SQL DD DD Table DD Table InnoDB

39 Upgrade to MySQL 8.0 in detail and how upgrade_checker helps

40 MySQL 8.0 features Read release notes and dev.mysql.com/doc/refman/8.0/en/upgrading.html Read blogs on New features in 8.0, and there is a lot of them Transactional Data Dictionary, and Atomic DDL Geography support Roles Persistent runtime configuration ++++

41 MySQL 8.0 Deprecation/Removals, Samples Features removed Query Cache, Non-native partitioning Options and variables removed Log_errors/Log_warnings replaced by log_error_verbosity Secure_auth system var, --secure_auth client option MYSQL_SECURE_AUTH from mysql options SQL modes removed Account management The PASSWORD() function has been removed, using GRANT to create users Syntaxes affected EXTENDED and PARTITIONS keywords in EXPLAIN \N as synonim for NULL in SQL

42 MySQL 8.0 Deprecation/Removals, Samples Features removed Query Cache, Non-native partitioning Options and variables removed Log_errors/Log_warnings replaced by log_error_verbosity Secure_auth system var, --secure_auth client option MYSQL_SECURE_AUTH from mysql options SQL modes removed Account management The PASSWORD() function has been removed, using GRANT to create users Syntaxes affected EXTENDED and PARTITIONS keywords in EXPLAIN \N as synonim for NULL in SQL

43 MySQL 8.0 Deprecation/Removals, Samples Features removed Query Cache, Non-native partitioning Options and variables removed Log_errors/Log_warnings replaced by log_error_verbosity Secure_auth system var, --secure_auth client option MYSQL_SECURE_AUTH from mysql options SQL modes removed Account management The PASSWORD() function has been removed, using GRANT to create users Syntaxes affected EXTENDED and PARTITIONS keywords in EXPLAIN \N as synonim for NULL in SQL

44 MySQL 8.0 Deprecation/Removals, Samples Features removed Query Cache, Non-native partitioning Options and variables removed Log_errors/Log_warnings replaced by log_error_verbosity Secure_auth system var, --secure_auth client option MYSQL_SECURE_AUTH from mysql options SQL modes removed Account management The PASSWORD() function has been removed, using GRANT to create users Syntaxes affected EXTENDED and PARTITIONS keywords in EXPLAIN \N as synonim for NULL in SQL

45 MySQL 8.0 Deprecation/Removals, Samples Features removed Query Cache, Non-native partitioning Options and variables removed Log_errors/Log_warnings replaced by log_error_verbosity Secure_auth system var, --secure_auth client option MYSQL_SECURE_AUTH from mysql options SQL modes removed Account management The PASSWORD() function has been removed, using GRANT to create users Syntaxes affected EXTENDED and PARTITIONS keywords in EXPLAIN \N as synonim for NULL in SQL

46 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

47 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

48 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

49 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

50 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

51 MySQL 8.0 Defaults Changes There are a lot of changes to the defaults in 8.0, see Some important ones: Default characterset and collation to 'utf8mb4' and 'utf8mb4_0900_ai_ci The default/preferred authentication plugin caching_sha2_password innodb_undo_tablespaces changed from 0 to 2 log_bin has been changed from OFF to ON Upgrade from MySQL 5.7: ALTER INSTANCE ROTATE INNODB MASTER KEY

52 MySQL 8.0 Defaults Changes Especially note character set and collation defaults changes! Note that for upgrading SCHEMAs from 5.7 to 8.0, each schema has its own specified default charset and collation, so nothing needs to be done to preserve these Rolling upgrade with 5.7 master For new schemas using defaults, you will get master charset and collation on 8.0 slaves too New tables in existing schemas inherit schema defaults, so no problem.

53 MySQL 8.0 Defaults Changes Especially note character set and collation defaults changes! Note that for upgrading SCHEMAs from 5.7 to 8.0, each schema has its own specified default charset and collation, so nothing needs to be done to preserve these Rolling upgrade with 5.7 master For new schemas using defaults, you will get master charset and collation on 8.0 slaves too New tables in existing schemas inherit schema defaults, so no problem.

54 MySQL 8.0 Defaults Changes Especially note character set and collation defaults changes! Note that for upgrading SCHEMAs from 5.7 to 8.0, each schema has its own specified default charset and collation, so nothing needs to be done to preserve these Rolling upgrade with 5.7 master For new schemas using defaults, you will get master charset and collation on 8.0 slaves too New tables in existing schemas inherit schema defaults, so no problem.

55 MySQL upgrade_checker New tool in MySQL 5.7 shell upgrade_checker will check your MySQL 5.7 installation readiness for upgrade Clean up legacy issues Running the tool on 5.7 installation, users can make changes when time permits before upgrade Upgrade checker is in active development and more checks will be added Part of MySQL update releases Note that we think it is unlikely that there are installations with all the issues explained in the following slides

56 MySQL upgrade_checker New tool in MySQL 5.7 shell upgrade_checker will check your MySQL 5.7 installation readiness for upgrade Clean up legacy issues Running the tool on 5.7 installation, users can make changes when time permits before upgrade Upgrade checker is in active development and more checks will be added Part of MySQL update releases Note that we think it is unlikely that there are installations with all the issues explained in the following slides

57 MySQL upgrade_checker New tool in MySQL 5.7 shell upgrade_checker will check your MySQL 5.7 installation readiness for upgrade Clean up legacy issues Running the tool on 5.7 installation, users can make changes when time permits before upgrade Upgrade checker is in active development and more checks will be added Part of MySQL update releases Note that we think it is unlikely that there are installations with all the issues explained in the following slides

58 MySQL upgrade_checker New tool in MySQL 5.7 shell upgrade_checker will check your MySQL 5.7 installation readiness for upgrade Clean up legacy issues Running the tool on 5.7 installation, users can make changes when time permits before upgrade Upgrade checker is in active development and more checks will be added Part of MySQL update releases Note that we think it is unlikely that there are installations with all the issues explained in the following slides

59 MySQL upgrade_checker New tool in MySQL 5.7 shell upgrade_checker will check your MySQL 5.7 installation readiness for upgrade Clean up legacy issues Running the tool on 5.7 installation, users can make changes when time permits before upgrade Upgrade checker is in active development and more checks will be added Part of MySQL update releases Note that we think it is unlikely that there are installations with all the issues explained in the following slides

60 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

61 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

62 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

63 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

64 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

65 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

66 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

67 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

68 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

69 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

70 Issues detected by upgrade_checker Usage of old temporal types Conflicting db object names and reserved keywords Usage of utf8mb3 charset Reserved table names in mysql schema Foreign key names longer than 64 chars Usage of obsolete sql_modes ENUM/SET columns with elements longer than 255 chars Usage of partitioned tables in shared tablespaces Usage of removed functions Usage of removed GROUP BY ASC/DESC Issues reported by CHECK TABLE FOR UPGRADE command

71 Issues detected by upgrade_checker: Example 1 The Transactional Data Dictionary is stored as tables in mysql schema, and should not conflict with user table names. Detect with SQL: SELECT TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE LOWER(TABLE_SCHEMA) = 'mysql AND LOWER(TABLE_NAME) IN ('catalogs, character_sets...); ACTION: RENAME tables with conflicting names.

72 Issues detected by upgrade_checker: Example 1 The Transactional Data Dictionary is stored as tables in mysql schema, and should not conflict with user table names. Detect with SQL: SELECT TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE LOWER(TABLE_SCHEMA) = 'mysql AND LOWER(TABLE_NAME) IN ('catalogs, character_sets...); ACTION: RENAME tables with conflicting names.

73 Issues detected by upgrade_checker: Example 1 The Transactional Data Dictionary is stored as tables in mysql schema, and should not conflict with user table names. Detect with SQL: SELECT TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE LOWER(TABLE_SCHEMA) = 'mysql AND LOWER(TABLE_NAME) IN ('catalogs, character_sets...); ACTION: RENAME tables with conflicting names.

74 Issues detected by upgrade_checker: Example 2 In MySQL 5.7, several spatial functions available under multiple names were deprecated. E.g. PointFromText Detect with SQL Use I_S to check view definitions. E.g: select table_name from information_schema.views where view_definition like "%function% Do similar check for routines, triggers, events, generated columns ACTION: Use the new functions in 8.0 with prefix ST_ or MBR_.

75 Issues detected by upgrade_checker: Example 2 In MySQL 5.7, several spatial functions available under multiple names were deprecated. E.g. PointFromText Detect with SQL Use I_S to check view definitions. E.g: select table_name from information_schema.views where view_definition like "%function% Do similar check for routines, triggers, events, generated columns ACTION: Use the new functions in 8.0 with prefix ST_ or MBR_.

76 Issues detected by upgrade_checker: Example 2 In MySQL 5.7, several spatial functions available under multiple names were deprecated. E.g. PointFromText Detect with SQL Use I_S to check view definitions. E.g: select table_name from information_schema.views where view_definition like "%function% Do similar check for routines, triggers, events, generated columns ACTION: Use the new functions in 8.0 with prefix ST_ or MBR_.

77 Issues detected by upgrade_checker: Example 3 Data types like old style decimals, old style TIME/ DATETIME/ TIMESTAMPS etc that have persisted up until MySQL 5.7 due to binary upgrade are not supported by MySQL 8.0. Tables using these types can be identified by running CHECK TABLE FOR UPGRADE or mysqlcheck tool with --check-upgrade option in MySQL 5.7 ACTION: Fix through REPAIR TABLE and/or dump/reload for old style varchar/decimal.

78 Issues detected by upgrade_checker: Example 3 Data types like old style decimals, old style TIME/ DATETIME/ TIMESTAMPS etc that have persisted up until MySQL 5.7 due to binary upgrade are not supported by MySQL 8.0. Tables using these types can be identified by running CHECK TABLE FOR UPGRADE or mysqlcheck tool with --check-upgrade option in MySQL 5.7 ACTION: Fix through REPAIR TABLE and/or dump/reload for old style varchar/decimal.

79 Issues detected by upgrade_checker: Example 3 Data types like old style decimals, old style TIME/ DATETIME/ TIMESTAMPS etc that have persisted up until MySQL 5.7 due to binary upgrade are not supported by MySQL 8.0. Tables using these types can be identified by running CHECK TABLE FOR UPGRADE or mysqlcheck tool with --check-upgrade option in MySQL 5.7 ACTION: Fix through REPAIR TABLE and/or dump/reload for old style varchar/decimal.

80 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

81 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

82 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

83 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

84 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

85 Once the upgrade_check runs clean Backup your data directory Install and start new MySQL 8.0 version Run mysql_upgrade Restart the server and inspect the error log Reconnect apps and verify that they work as expected Attempt to upgrade without a clean upgrade_checker run will abort the upgrade

86 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

87 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

88 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

89 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

90 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

91 Testing applications against new version Apps might require testing against upgraded server. Some strategies: No testing (works when you can afford being reactive) Upgrade one of slaves and test against it Mirroring load to test system (proxy and replay tools) Predefined test scenarios On SQL layer, on app layer... Benchmarks

92 A better future with MySQL 8.0

93 Upgrade MySQL 8.0 How can we continue improving the upgrade? We want to reduce time and risk even further Bulk of time spent for in-place upgrade of MySQL: Harvest metadata for analysis Examine all user tables

94 Upgrade MySQL 8.0 How can we continue improving the upgrade? We want to reduce time and risk even further Bulk of time spent for in-place upgrade of MySQL: Harvest metadata for analysis Examine all user tables

95 Transactional Data Dictionary in MySQL 8.0 Data Dictionary SQL DD DD Table DD Table InnoDB

96 Upgrade MySQL 8.0 MySQL now stores all metadata in InnoDB (Done) Enables fast metadata analysis with SQL-queries Added metadata for versioning (Done) The new mysqld executable knows which version it is upgrading from Improved protection of metadata good for security reasons (Partly done) Enforced metadata integrity Remove need for mysql_upgrade client (WIP) Move functionality to mysqld Docker container friendly

97 Upgrade MySQL 8.0 MySQL now stores all metadata in InnoDB (Done) Enables fast metadata analysis with SQL-queries Added metadata for versioning (Done) The new mysqld executable knows which version it is upgrading from Improved protection of metadata good for security reasons (Partly done) Enforced metadata integrity Remove need for mysql_upgrade client (WIP) Move functionality to mysqld Docker container friendly

98 Upgrade MySQL 8.0 MySQL now stores all metadata in InnoDB (Done) Enables fast metadata analysis with SQL-queries Added metadata for versioning (Done) The new mysqld executable knows which version it is upgrading from Improved protection of metadata good for security reasons (Partly done) Enforced metadata integrity Remove need for mysql_upgrade client (WIP) Move functionality to mysqld Docker container friendly

99 Upgrade MySQL 8.0 MySQL now stores all metadata in InnoDB (Done) Enables fast metadata analysis with SQL-queries Added metadata for versioning (Done) The new mysqld executable knows which version it is upgrading from Improved protection of metadata good for security reasons (Partly done) Enforced metadata integrity Remove need for mysql_upgrade client (WIP) Move functionality to mysqld Docker container friendly

100 Upgrade MySQL 8.0 the GREAT news The traditional MySQL upgrade revisited: 1. Stop old MySQL Server 2. Change binaries to new MySQL Server version 3. Adjust config, my.cnf of new server version 4. Start new MySQL Server Analyze metadata and automatically upgrade, making upgrade process fast 5. Run mysql_upgrade to possibly upgrade system and user tables Potentially time consuming 6. Restart MySQL server Reduces downtime, container/docker friendly.

101 Upgrade MySQL 8.0 the GREAT news The traditional MySQL upgrade revisited: 1. Stop old MySQL Server 2. Change binaries to new MySQL Server version 3. Adjust config, my.cnf of new server version 4. Start new MySQL Server Analyze metadata and automatically upgrade, making upgrade process fast 5. Run mysql_upgrade to possibly upgrade system and user tables Potentially time consuming 6. Restart MySQL server Reduces downtime, container/docker friendly.

102 Upgrade MySQL 8.0 the GREAT news The traditional MySQL upgrade revisited: 1. Stop old MySQL Server 2. Change binaries to new MySQL Server version 3. Adjust config, my.cnf of new server version 4. Start new MySQL Server Analyze metadata and automatically upgrade, making upgrade process fast 5. Run mysql_upgrade to possibly upgrade system and user tables Potentially time consuming 6. Restart MySQL server Reduces downtime, container/docker friendly.

103 Upgrade MySQL 8.0 the GREAT news The traditional MySQL upgrade revisited: 1. Stop old MySQL Server 2. Change binaries to new MySQL Server version 3. Adjust config, my.cnf of new server version 4. Start new MySQL Server Analyze metadata and automatically upgrade, making upgrade process fast 5. Run mysql_upgrade to possibly upgrade system and user tables Potentially time consuming 6. Restart MySQL server Reduces downtime, container/docker friendly.

104 Summary: Upgrade MySQL 8.0 Lowers risk The upgrade_checker identifies potential issues In active development Faster upgrade process Fast metadata analysis Fast metadata upgrade Removal of mysql_upgrade Simplified upgrade process Fewer steps Automatic metadata upgrade

105 Summary: Upgrade MySQL 8.0 Lowers risk The upgrade_checker identifies potential issues In active development Faster upgrade process Fast metadata analysis Fast metadata upgrade Removal of mysql_upgrade Simplified upgrade process Fewer steps Automatic metadata upgrade

106 Summary: Upgrade MySQL 8.0 Lowers risk The upgrade_checker identifies potential issues In active development Faster upgrade process Fast metadata analysis Fast metadata upgrade Removal of mysql_upgrade Simplified upgrade process Fewer steps Automatic metadata upgrade

107 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

108 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

109 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

110 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

111 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

112 Recap: Upgrade to MySQL 8.0 Prepare you upgrade (release notes, resources) DO run the upgrade_checker Fix issues until it runs clean TEST your applications on MySQL 8.0 DO your backup Upgrade to MySQL 8.0

113 Try for yourself! Downloadable Enjoy and give us feedback! Thank you!

114 MySQL Upgrade Resources

What's New in MySQL 5.7?

What's New in MySQL 5.7? What's New in MySQL 5.7? Norvald H. Ryeng Software Engineer norvald.ryeng@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information

More information

MySQL 8.0: Atomic DDLs Implementation and Impact

MySQL 8.0: Atomic DDLs Implementation and Impact MySQL 8.0: Atomic DDLs Implementation and Impact Ståle Deraas, Senior Development Manager Oracle, MySQL 26 Sept 2017 Copyright 2017, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor

More information

State of the Dolphin Developing new Apps in MySQL 8

State of the Dolphin Developing new Apps in MySQL 8 State of the Dolphin Developing new Apps in MySQL 8 Highlights of MySQL 8.0 technology updates Mark Swarbrick MySQL Principle Presales Consultant Jill Anolik MySQL Global Business Unit Israel Copyright

More information

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I Oracle 1Z0-873 MySQL 5 Database Administrator Certified Professional Part I Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-873 A. Use the --log-queries-indexes option. B. Use the

More information

MySQL for Database Administrators Ed 3.1

MySQL for Database Administrators Ed 3.1 Oracle University Contact Us: 1.800.529.0165 MySQL for Database Administrators Ed 3.1 Duration: 5 Days What you will learn The MySQL for Database Administrators training is designed for DBAs and other

More information

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) Prerequisites Have some experience with relational databases and SQL What will you learn? The MySQL for Database Administrators

More information

#MySQL #oow16. MySQL Server 8.0. Geir Høydalsvik

#MySQL #oow16. MySQL Server 8.0. Geir Høydalsvik #MySQL #oow16 MySQL Server 8.0 Geir Høydalsvik Copyright Copyright 2 2016, 016,Oracle Oracle aand/or nd/or its its aaffiliates. ffiliates. AAll ll rights rights reserved. reserved. Safe Harbor Statement

More information

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015 MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL

More information

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona MariaDB 10.3 vs MySQL 8.0 Tyler Duzan, Product Manager Percona Who Am I? My name is Tyler Duzan Formerly an operations engineer for more than 12 years focused on security and automation Now a Product Manager

More information

CO MySQL for Database Administrators

CO MySQL for Database Administrators CO-61762 MySQL for Database Administrators Summary Duration 5 Days Audience Administrators, Database Designers, Developers Level Professional Technology Oracle MySQL 5.5 Delivery Method Instructor-led

More information

Managing MySQL Version Upgrades. Operating Systems. About the Author OTN TOUR years with MySQL / 26 years with RDBMS

Managing MySQL Version Upgrades. Operating Systems. About the Author OTN TOUR years with MySQL / 26 years with RDBMS About the Author Ronald BRADFORD Managing MySQL Version Upgrades Ronald Bradford http://ronaldbradford.com @RonaldBradford 16 years with MySQL / 26 years with RDBMS Senior Consultant at MySQL Inc (06-08)

More information

InnoDB: What s new in 8.0

InnoDB: What s new in 8.0 InnoDB: What s new in 8.0 Sunny Bains Director Software Development Copyright 2017, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor Statement The following is intended to outline

More information

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved. What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 Insert Information Protection Policy Classification from Slide 12 Getting Started with MySQL Santo Leto Principal Technical Support Engineer, MySQL Jesper Wisborg Krogh Principal Technical Support Engineer,

More information

Why we re excited about MySQL 8

Why we re excited about MySQL 8 Why we re excited about MySQL 8 Practical Look for Devs and Ops Peter Zaitsev, CEO, Percona February 4nd, 2018 FOSDEM 1 In the Presentation Practical view on MySQL 8 Exciting things for Devs Exciting things

More information

InnoDB: What s new in 8.0

InnoDB: What s new in 8.0 #MySQL #oow17 InnoDB: What s new in 8.0 Sunny Bains Director Software Development Copyright 2017, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor Statement The following is intended

More information

MySQL Architecture and Components Guide

MySQL Architecture and Components Guide Guide This book contains the following, MySQL Physical Architecture MySQL Logical Architecture Storage Engines overview SQL Query execution InnoDB Storage Engine MySQL 5.7 References: MySQL 5.7 Reference

More information

Upgrading MySQL Best Practices. Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc

Upgrading MySQL Best Practices. Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc Upgrading MySQL Best Practices Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc MySQL Upgrade How many of you have performed MySQL upgrade? Home many of you have done

More information

Mastering phpmyadmiri 3.4 for

Mastering phpmyadmiri 3.4 for Mastering phpmyadmiri 3.4 for Effective MySQL Management A complete guide to getting started with phpmyadmin 3.4 and mastering its features Marc Delisle [ t]open so 1 I community experience c PUBLISHING

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

<Insert Picture Here> Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager

<Insert Picture Here> Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager http://www.tocker.ca/ Safe Harbor Statement The following is intended to outline our general product direction.

More information

Building Highly Available and Scalable Real- Time Services with MySQL Cluster

Building Highly Available and Scalable Real- Time Services with MySQL Cluster Building Highly Available and Scalable Real- Time Services with MySQL Cluster MySQL Sales Consulting Director Philip Antoniades April, 3rd, 2012 1 Copyright 2012, Oracle and/or its affiliates. All rights

More information

<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2

<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2 Looking at Performance - What s new in MySQL Workbench 6.2 Mario Beck MySQL Sales Consulting Manager EMEA The following is intended to outline our general product direction. It is

More information

MySQL Group Replication in a nutshell

MySQL Group Replication in a nutshell 1 / 126 2 / 126 MySQL Group Replication in a nutshell the core of MySQL InnoDB Cluster Oracle Open World September 19th 2016 Frédéric Descamps MySQL Community Manager 3 / 126 Safe Harbor Statement The

More information

mysql Certified MySQL 5.0 DBA Part I

mysql Certified MySQL 5.0 DBA Part I mysql 005-002 Certified MySQL 5.0 DBA Part I http://killexams.com/exam-detail/005-002 QUESTION: 116 Which of the following correctly defines the general difference between a read lock and a write lock?

More information

Migrating To MySQL The Live Database Upgrade Guide

Migrating To MySQL The Live Database Upgrade Guide Migrating To MySQL 5.7 - The Live Database Upgrade Guide October 4, 2016 Krzysztof Książek Severalnines krzysztof@severalnines.com 1 Agenda! Why upgrading to MySQL 5.7?! Preparing an upgrade - changes

More information

Everything You Need to Know About MySQL Group Replication

Everything You Need to Know About MySQL Group Replication Everything You Need to Know About MySQL Group Replication Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Lead Copyright 2017, Oracle and/or its affiliates. All rights

More information

NoSQL + SQL = MySQL. Nicolas De Rico Principal Solutions Architect

NoSQL + SQL = MySQL. Nicolas De Rico Principal Solutions Architect NoSQL + SQL = MySQL Nicolas De Rico Principal Solutions Architect nicolas.de.rico@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for

More information

MySQL Cluster Web Scalability, % Availability. Andrew

MySQL Cluster Web Scalability, % Availability. Andrew MySQL Cluster Web Scalability, 99.999% Availability Andrew Morgan @andrewmorgan www.clusterdb.com Safe Harbour Statement The following is intended to outline our general product direction. It is intended

More information

<Insert Picture Here> MySQL Cluster What are we working on

<Insert Picture Here> MySQL Cluster What are we working on MySQL Cluster What are we working on Mario Beck Principal Consultant The following is intended to outline our general product direction. It is intended for information purposes only,

More information

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ]

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] s@lm@n Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] Oracle 1z0-883 : Practice Test Question No : 1 Consider the Mysql Enterprise Audit plugin. You are checking

More information

Oracle Database 11g Data Guard

Oracle Database 11g Data Guard Oracle Database 11g Data Guard Overview This course introduces the delegate to the main architectural concepts of Data Guard. Delegates will learn how to use Oracle Data Guard to protect Oracle Databases

More information

What s new in Percona Xtradb Cluster 5.6. Jay Janssen Lead Consultant February 5th, 2014

What s new in Percona Xtradb Cluster 5.6. Jay Janssen Lead Consultant February 5th, 2014 What s new in Percona Xtradb Cluster 5.6 Jay Janssen Lead Consultant February 5th, 2014 Overview PXC 5.6 is the aggregation of Percona Server 5.6 Codership MySQL 5.6 patches Galera 3.x Agenda Major new

More information

Welcome to Virtual Developer Day MySQL!

Welcome to Virtual Developer Day MySQL! Welcome to Virtual Developer Day MySQL! Keynote: Developer and DBA Guide to What s New in MySQL 5.6 Rob Young Director of Product Management, MySQL 1 Program Agenda 9:00 AM Keynote: What s New in MySQL

More information

MySQL & NoSQL: The Best of Both Worlds

MySQL & NoSQL: The Best of Both Worlds MySQL & NoSQL: The Best of Both Worlds Mario Beck Principal Sales Consultant MySQL mario.beck@oracle.com 1 Copyright 2012, Oracle and/or its affiliates. All rights Safe Harbour Statement The following

More information

Oracle Database 18c and Autonomous Database

Oracle Database 18c and Autonomous Database Oracle Database 18c and Autonomous Database Maria Colgan Oracle Database Product Management March 2018 @SQLMaria Safe Harbor Statement The following is intended to outline our general product direction.

More information

Chapter 8: Working With Databases & Tables

Chapter 8: Working With Databases & Tables Chapter 8: Working With Databases & Tables o Working with Databases & Tables DDL Component of SQL Databases CREATE DATABASE class; o Represented as directories in MySQL s data storage area o Can t have

More information

Oracle Transportation Management. Migration Guide Release 6.2 Part No. E

Oracle Transportation Management. Migration Guide Release 6.2 Part No. E Oracle Transportation Management Migration Guide Release 6.2 Part No. E20095-04 December 2012 Oracle Transportation Management Migration Guide, Release 6.2 Part No. E20095-0 Copyright 2001, 2012, Oracle

More information

ApsaraDB for RDS. Quick Start (MySQL)

ApsaraDB for RDS. Quick Start (MySQL) Get started with ApsaraDB The ApsaraDB Relational Database Service (RDS) is a stable and reliable online database service with auto-scaling capabilities. Based on the Apsara distributed file system and

More information

MySQL 5.0 Certification Study Guide

MySQL 5.0 Certification Study Guide MySQL 5.0 Certification Study Guide Paul DuBois, Stefan Hinz, and Carsten Pedersen MySQC Press 800 East 96th Street, Indianapolis, Indiana 46240 USA Table of Contents Introduction 1 About This Book 1 Sample

More information

What's new in MySQL 5.5? Performance/Scale Unleashed

What's new in MySQL 5.5? Performance/Scale Unleashed What's new in MySQL 5.5? Performance/Scale Unleashed Mikael Ronström Senior MySQL Architect The preceding is intended to outline our general product direction. It is intended for

More information

Backup Strategies with MySQL Enterprise Backup

Backup Strategies with MySQL Enterprise Backup Fast, Consistent, Online Backups for MySQL Backup Strategies with MySQL Enterprise Backup John Russell Oracle/InnoDB Calvin Sun Oracle/InnoDB Mike Frank Oracle/MySQL The preceding

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

MySQL Enterprise Security

MySQL Enterprise Security MySQL Enterprise Security Mike Frank Product Management Director Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only,

More information

MySQL Document Store. How to replace a NoSQL database by MySQL without effort but with a lot of gains?

MySQL Document Store. How to replace a NoSQL database by MySQL without effort but with a lot of gains? 1 / 71 2 / 71 3 / 71 MySQL Document Store How to replace a NoSQL database by MySQL without effort but with a lot of gains? Percona University, Ghent, Belgium June 2017 Frédéric Descamps - MySQL Community

More information

Consolidate and Prepare for Cloud Efficiencies Oracle Database 12c Oracle Multitenant Option

Consolidate and Prepare for Cloud Efficiencies Oracle Database 12c Oracle Multitenant Option Consolidate and Prepare for Cloud Efficiencies Oracle Database 12c Oracle Multitenant Option Eric Rudie Master Principal Sales Consultant Oracle Public Sector 27 September 2016 Safe Harbor Statement The

More information

<Insert Picture Here> New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More!

<Insert Picture Here> New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More! New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More! Mike Frank MySQL Product Management - Director The following is intended to outline our general

More information

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2 Oracle Database 11g: New Features for Administrators DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g: New Features for Administrators DBA Release 2 training explores new change

More information

Mix n Match Async and Group Replication for Advanced Replication Setups. Pedro Gomes Software Engineer

Mix n Match Async and Group Replication for Advanced Replication Setups. Pedro Gomes Software Engineer Mix n Match Async and Group Replication for Advanced Replication Setups Pedro Gomes (pedro.gomes@oracle.com) Software Engineer 4th of February Copyright 2017, Oracle and/or its affiliates. All rights reserved.

More information

MySQL for Developers Ed 3

MySQL for Developers Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Developers Ed 3 Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to plan, design and implement applications

More information

Oracle Multitenant What s new in Oracle Database 12c Release ?

Oracle Multitenant What s new in Oracle Database 12c Release ? Oracle Multitenant What s new in Oracle Database 12c Release 12.1.0.2? Saurabh K. Gupta Principal Technologist, Database Product Management Who am I? Principal Technologist, Database Product Management

More information

What s New in MariaDB Server 10.3

What s New in MariaDB Server 10.3 What s New in MariaDB Server 10.3 What s New in MariaDB Server 10.3 Database Compatibility Enhancements PL/SQL Compatibility for MariaDB Stored Functions including packages PL/SQL Compatibility for MariaDB

More information

InnoDB: Status, Architecture, and Latest Enhancements

InnoDB: Status, Architecture, and Latest Enhancements InnoDB: Status, Architecture, and Latest Enhancements O'Reilly MySQL Conference, April 14, 2011 Inaam Rana, Oracle John Russell, Oracle Bios Inaam Rana (InnoDB / MySQL / Oracle) Crash recovery speedup

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 ADVANCED MYSQL REPLICATION ARCHITECTURES Luís

More information

G a l e r a C l u s t e r Schema Upgrades

G a l e r a C l u s t e r Schema Upgrades G a l e r a C l u s t e r Schema Upgrades Seppo Jaakola Codership Agenda Galera Cluster Overview DDL vs DML Demo of DDL Replication in Galera Cluster Rolling Schema Upgrade (RSU) Total Order Isolation

More information

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018 MySQL InnoDB Cluster MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients FOSDEM 18 - February 04, 2018 Safe Harbor Statement The following is intended to outline our

More information

Using the MySQL Document Store

Using the MySQL Document Store Using the MySQL Document Store Alfredo Kojima, Sr. Software Dev. Manager, MySQL Mike Zinner, Sr. Software Dev. Director, MySQL Safe Harbor Statement The following is intended to outline our general product

More information

Oracle Database 12c Release 2

Oracle Database 12c Release 2 Oracle Database 12c Release 2 New Features (OVERVIEW) Rhoda Sarmiento-Pereira Oracle Support Safe Harbor Statement The following is intended to outline our general product direction. It is intended for

More information

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content:

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content: MySQL Database Administration & Design Course Description: MySQL is the open source community's most popular Relational Database Management System (RDBMS) offering, and is a key part of LAMP - Linux, Apache,

More information

Backing up or Exporting Databases Using mysqldump

Backing up or Exporting Databases Using mysqldump Despite the steps you take to secure and protect your databases, events such as power failures, natural disasters, and equipment failure can lead to the corruption and loss of data. As a result, one of

More information

<Insert Picture Here> Boosting performance with MySQL partitions

<Insert Picture Here> Boosting performance with MySQL partitions Boosting performance with MySQL partitions Giuseppe Maxia MySQL Community Team Lead at Oracle 1 about me -Giuseppe Maxia a.k.a. The Data Charmer MySQL Community Team Lead Long time

More information

MySQL HA Solutions Selecting the best approach to protect access to your data

MySQL HA Solutions Selecting the best approach to protect access to your data MySQL HA Solutions Selecting the best approach to protect access to your data Sastry Vedantam sastry.vedantam@oracle.com February 2015 Copyright 2015, Oracle and/or its affiliates. All rights reserved

More information

TINYINT[(M)] [UNSIGNED] [ZEROFILL] A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255.

TINYINT[(M)] [UNSIGNED] [ZEROFILL] A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255. MySQL: Data Types 1. Numeric Data Types ZEROFILL automatically adds the UNSIGNED attribute to the column. UNSIGNED disallows negative values. SIGNED (default) allows negative values. BIT[(M)] A bit-field

More information

Modern Development With MySQL

Modern Development With MySQL Modern Development With MySQL Nicolas De Rico nicolas.de.rico@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

EDB xdb Replication Server 5.1

EDB xdb Replication Server 5.1 EDB xdb Replication Server 5.1 Release Notes February 24, 2014 EDB xdb Replication Server, Version 5.1 Release Notes by EnterpriseDB Corporation Copyright 2014 EnterpriseDB Corporation. All rights reserved.

More information

NoSQL and SQL: The Best of Both Worlds

NoSQL and SQL: The Best of Both Worlds NoSQL and SQL: The Best of Both Worlds Mario Beck MySQL Presales Manager EMEA Mablomy.blogspot.de 5 th November, 2015 Copyright 2015, Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement

More information

3 / 120. MySQL 8.0. Frédéric Descamps - MySQL Community Manager - Oracle

3 / 120. MySQL 8.0. Frédéric Descamps - MySQL Community Manager - Oracle 1 / 120 2 / 120 3 / 120 MySQL 8.0 a Document Store with all the benefits of a transactional RDBMS Frédéric Descamps - MySQL Community Manager - Oracle 4 / 120 Save the date! 5 / 120 Safe Harbor Statement

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Re-Engineering Your Database Design with Oracle SQL Developer Data Modeler Swarnapriya Shridhar Curriculum IDC Operations Manager 2

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 MySQL : 5.6 the Next Generation Lynn Ferrante Principal Consultant, Technical Sales Engineering Northern California Oracle Users Group November 2012 2 Safe Harbor Statement The

More information

Oracle Database 11g: New Features for Administrators Release 2

Oracle Database 11g: New Features for Administrators Release 2 Oracle University Contact Us: 0845 777 7711 Oracle Database 11g: New Features for Administrators Release 2 Duration: 5 Days What you will learn This course gives you the opportunity to learn about and

More information

MySQL for Developers Ed 3

MySQL for Developers Ed 3 Oracle University Contact Us: 0845 777 7711 MySQL for Developers Ed 3 Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to plan, design and implement applications

More information

Mysql Workbench Doesn't Show

Mysql Workbench Doesn't Show Mysql Workbench Doesn't Show Information_schema Right now both on MySQL Workbench and also phpmyadmin I can see and view schema and the tables in side it. 'show create table 'actions'': Table 'resource.actions'

More information

What s New in MariaDB Server Max Mether VP Server

What s New in MariaDB Server Max Mether VP Server What s New in MariaDB Server 10.3 Max Mether VP Server Recap MariaDB 10.2 New in MariaDB 10.2 - GA since May 2017 What s New in 10.2 Analytics SQL Window Functions Common Table Expressions (CTE) JSON JSON

More information

MySQL JSON. Morgan Tocker MySQL Product Manager. Copyright 2015 Oracle and/or its affiliates. All rights reserved.

MySQL JSON. Morgan Tocker MySQL Product Manager. Copyright 2015 Oracle and/or its affiliates. All rights reserved. MySQL 5.7 + JSON Morgan Tocker MySQL Product Manager Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not

More information

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 005-002 Title : Certified MySQL 5.0 DBA Part I Version : Demo 1 / 10 1. Will the following SELECT query

More information

MySQL 5.6: Advantages in a Nutshell. Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013

MySQL 5.6: Advantages in a Nutshell. Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013 MySQL 5.6: Advantages in a Nutshell Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013 About Presentation Brief Overview Birds eye view of features coming in 5.6 Mainly documentation

More information

ALTER TABLE Improvements in MARIADB Server. Marko Mäkelä Lead Developer InnoDB MariaDB Corporation

ALTER TABLE Improvements in MARIADB Server. Marko Mäkelä Lead Developer InnoDB MariaDB Corporation ALTER TABLE Improvements in MARIADB Server Marko Mäkelä Lead Developer InnoDB MariaDB Corporation Generic ALTER TABLE in MariaDB CREATE TABLE ; INSERT SELECT; RENAME ; DROP TABLE ; Retroactively named

More information

MySQL Performance Tuning 101

MySQL Performance Tuning 101 MySQL Performance Tuning 101 Hands-on-Lab Mirko Ortensi Senior Support Engineer MySQL Support @ Oracle October 3, 2017 Copyright 2017, Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement

More information

MySQL for Database Administrators Volume I Student Guide

MySQL for Database Administrators Volume I Student Guide MySQL for Database Administrators Volume I Student Guide D61762GC20 Edition 2.0 September 2011 D74260 Disclaimer This document contains proprietary information and is protected by copyright and other intellectual

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights The following is intended to outline Oracle s general product direction. It is intended for information purposes only, and may not be incorporated

More information

Switching to Innodb from MyISAM. Matt Yonkovit Percona

Switching to Innodb from MyISAM. Matt Yonkovit Percona Switching to Innodb from MyISAM Matt Yonkovit Percona -2- DIAMOND SPONSORSHIPS THANK YOU TO OUR DIAMOND SPONSORS www.percona.com -3- Who We Are Who I am Matt Yonkovit Principal Architect Veteran of MySQL/SUN/Percona

More information

Tips from the Trenches Preventing downtime for the over extended DBA. Andrew Moore Senior Remote DBA Percona Managed Services

Tips from the Trenches Preventing downtime for the over extended DBA. Andrew Moore Senior Remote DBA Percona Managed Services Tips from the Trenches Preventing downtime for the over extended DBA Andrew Moore Senior Remote DBA Percona Managed Services Your Presenter Andrew Moore @mysqlboy on twitter 1+ year in Manager Services

More information

Configuring a JDBC Resource for MySQL in Metadata Manager

Configuring a JDBC Resource for MySQL in Metadata Manager Configuring a JDBC Resource for MySQL in Metadata Manager 2011 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

MySQL Cluster for Real Time, HA Services

MySQL Cluster for Real Time, HA Services MySQL Cluster for Real Time, HA Services Bill Papp (bill.papp@oracle.com) Principal MySQL Sales Consultant Oracle Agenda Overview of MySQL Cluster Design Goals, Evolution, Workloads,

More information

ORACLE 11g R2 New Features

ORACLE 11g R2 New Features KNOWLEDGE POWER Oracle Grid Infrastructure Installation and Upgrade Enhancements Oracle Restart ASM Enhancements Storage Enhancements Data Warehouse and Partitioning Enhancements Oracle SecureFiles Security

More information

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX /

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX / MySQL High Availability Michael Messina Senior Managing Consultant, Rolta-AdvizeX mmessina@advizex.com / mike.messina@rolta.com Introduction Michael Messina Senior Managing Consultant Rolta-AdvizeX, Working

More information

Sql Server Check If Global Temporary Table Exists

Sql Server Check If Global Temporary Table Exists Sql Server Check If Global Temporary Table Exists I am trying to create a temp table from the a select statement so that I can get the schema information from the temp I have yet to see a valid justification

More information

High Availability Using MySQL Group Replication

High Availability Using MySQL Group Replication High Availability Using MySQL Group Replication Luís Soares (luis.soares@oracle.com) Principal Software Engineer 1 Safe Harbor Statement The following is intended to outline our general product direction.

More information

IBM EXAM - C DB Fundamentals. Buy Full Product.

IBM EXAM - C DB Fundamentals. Buy Full Product. IBM EXAM - C2090-610 DB2 10.1 Fundamentals Buy Full Product http://www.examskey.com/c2090-610.html Examskey IBM C2090-610 exam demo product is here for you to test the quality of the product. This IBM

More information

Mysql Tutorial Create Database User Grant All Specification

Mysql Tutorial Create Database User Grant All Specification Mysql Tutorial Create Database User Grant All Specification The world's most popular open source database This part of CREATE USER syntax is shared with GRANT, so the description here applies to GRANT

More information

MySQL High Availability

MySQL High Availability MySQL High Availability InnoDB Cluster and NDB Cluster Ted Wennmark ted.wennmark@oracle.com Copyright 2016, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor Statement The following

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following 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

More information

Oracle APEX 18.1 New Features

Oracle APEX 18.1 New Features Oracle APEX 18.1 New Features May, 2018 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Like all programming models, MySQL identifiers follow certain rules and conventions.

Like all programming models, MySQL identifiers follow certain rules and conventions. Identifier Names Like all programming models, MySQL identifiers follow certain rules and conventions. Here are the rules to adhere to for naming identifiers to create objects in MySQL: - Contain any alphanumeric

More information

Mysql Structure Of Information_schema Tables Update_time Null

Mysql Structure Of Information_schema Tables Update_time Null Mysql Structure Of Information_schema Tables Update_time Null Dec 21, 2011 : Fastest way to check if InnoDB table has changed, Apr 04, 2013 : How to Jun 03, 2013 : Is there a way to find the least recently

More information

Backup & Restore. Maximiliano Bubenick Sr Remote DBA

Backup & Restore. Maximiliano Bubenick Sr Remote DBA Backup & Restore Maximiliano Bubenick Sr Remote DBA Agenda Why backups? Backup Types Raw Backups Logical Backups Binlog mirroring Backups Locks Tips Why Backups? Why Backups? At some point something will

More information

MySQL as a Document Store. Ted Wennmark

MySQL as a Document Store. Ted Wennmark MySQL as a Document Store Ted Wennmark ted.wennmark@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and

More information

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer MySQL Group Replication Bogdan Kecman MySQL Principal Technical Engineer Bogdan.Kecman@oracle.com 1 Safe Harbor Statement The following is intended to outline our general product direction. It is intended

More information

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Kurt Engeleiter Principal Product Manager Safe Harbor Statement The following is intended to outline our general product direction.

More information

1Copyright 2012, Oracle and/or its affiliates. All rights reserved.

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Patterns of SaaS: Database refactoring Leonid Igolnik, Marcin Burlinski Insert Picture Here The following is intended to outline our

More information