Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
StateoftheDolphinDevelopingnewAppsinMySQL8
MarkSwarbrickMySQLPrinciplePresalesConsultantJillAnolikMySQLGlobalBusinessUnitIsrael
HighlightsofMySQL8.0technologyupdates
2
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.
3
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
AModernDatabasefortheDigitalAgeDigitalDisruptors&LargeEnterprisesRelyonMySQLtoInnovate
4
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
TheyScalewithMySQL
MobileNetworkSupportingOver800MillionSubscribers
1.7BillionActiveUsers 100TBofUserDataforPayPal
IDsProcessedfor1BillionCitizens
850MillionCandyCrushGamePlays/Day
2BillionEvents/DayforBooking.com
5
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.
DevelopingnewAppsinMySQL8
6
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.
EnablingCustomerInnovation
7
- 3xBetterPerformance- ReplicationEnhancements- JSONSupport- ImprovedSecurity
MySQL5.7
MySQLInnoDBCluster- MySQLGroupReplication- MySQLRouter- MySQLShell
MySQL8.0(RC)- DataDictionary- Roles- Unicode- CTEs- WindowFunctions- Security- Replication
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
Scalable&StableBetter handling of high contention, improved security, and minimizing downtime
DataDrivenOptimizing services with real time data analysis
DeveloperFirstHybrid data model and data access APIs for flexibility for developers
MobileFriendlyReady for location based services. Handling Emoji and Unicode characters
MySQL8.0:EnablesModernWebApplications
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 8
24x7atScale
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQL8.0:MobileApplicationFriendly
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 9
EnhancedGISSupport• Better integration for location based services • Switched to Boost.Geometry library in MySQL 5.7 • Supporting Geography and Spatial Reference Systems (SRS) in MySQL 8.0
UnicodeasDefault• utf8mb4 supporting Emoji is default Character Set of MySQL 8.0 • Up to 16x Faster Performance • Based on Unicode 9.0 • New collations based on UCA with Accent/Case sensitivity
🐬🍺🍣😁
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQL8.0:FlexibilityforDevelopers
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
HybridAPISQLFunctionDataType
MySQLXDevAPIJSONFunctionsJSONDatatype
10
Hybrid CRUD API of both SQL and NoSQL provides more flexibility for development
Various SQL functions to search and modify JSON. Analysing JSON with SQL by converting into table with JSON_TABLE()
Seamlessly managing “unstructured” data in RDBMS tables with efficient update performance
{} ();
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
PerformanceSchemaMore instrumentation enabled by default and better response to view with indexes added
InvisibleIndexesIndexes hidden from optimizer, enables “soft delete” and “staged rollout” of indexes
SolvingContentionNOWAIT and SKIP LOCKEDoptions of SELECT FOR UPDATE provides better handling of hot row contention
MySQL8.0:DeveloperstoAccelerateApplications
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 11
ExpandedHintsHints to control table orders for join and indexes to be merged without reorganize queries
DescendingIndexesFaster by avoiding sorting data in composite index using different sorting orders
SetSessionVariablesSet a session variable for the duration of a single statement with new hint option SET_VAR
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
ResourceGroupTo obtain better efficiency and/or performance by the mapping between threads and CPUs
CloudFriendlyConfigurationsPersist server variables with SET PERSIST and review source of changes in Information Schema
InnoDBDedicatedServerAuto scales InnoDB configurations great for virtual machines & Cloud deployments
MySQL8.0:MakingApplicationmoreScalable
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 12
TransactionScheduling“Contention-Aware Transaction Scheduling” is default scheduling algorithm in InnoDB to boost performance
BetterCostEstimationCost model optimized for newer storage technology and optimizer with memory buffer aware cost estimation
ColumnHistogramsProvides the optimizer with information about column value distribution
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
SecurityEnhancementsIntroducing SQL Role and Dynamic Privileges, expanded transparent data encryption
DataDictionaryIncreased reliability and consistency with transactional meta data repository
MySQLInnoDBClusterBuilt-in automatic distributed recovery, conflict detection and group membership
MySQL8.0:MakingApplicationmoreStable&Secure
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 13
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQL8.0:EnhancedSecurity
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 14
SQL Role Implementation
Easier to manage user and applications rights and SQL standard compliant
Atomic Access Control List
New InnoDB based data dictionary enables ACL statements atomic and reliable
Dynamic Privileges
Provides finer grained administrative level access controls for less use of root user
TDE for Logs
AES 256 encryption of REDO, UNDO and Binary Log in addition to tablespace files
Enhanced Password Options
Establish password-reuse policy with Password History, and faster with caching
OpenSSL Integration
MySQL Community Edition to use OpenSSL as its standard cryptography library
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
InnoDBCluster
15
AppServerswithMySQLRouter
MySQLGroupReplication
MySQLShellSetup,Manage,Orchestrate
“HighAvailabilitybecomesacorefirstclassfeatureofMySQL!”
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQLShell:DBAAdminAPI• Theglobalvariable'dba'isusedtoaccesstheMySQLAdminAPI• mysql-js>dba.help()• PerformDBAoperations– ManageMySQLInnoDBclusters• Createclusters• ValidateMySQLinstances• ConfigureMySQLinstances• Getclusterinfo• Modifyclusters• andmuchmore...
AppServerswithMySQLRouter
MySQLGroupReplication
MySQLShellSetup,Manage,Orchestrate
16
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQLRouter:ClientRoutingandHA• NativesupportforInnoDBclusters– UnderstandsGroupReplicationtopology– Utilizesmetadataschemastoredoneachmember• BootstrapsitselfandsetsupclientroutingfortheInnoDBcluster• AllowsforintelligentclientroutingintotheInnoDBcluster
– Supportsmulti-masterandsingleprimarymodes
• Coreimprovements– Built-inkeyringforeasyandsecurepasswordmanagement
17
AppServerswithMySQLRouter
MySQLGroupReplication
MySQLShellSetup,Manage,Orchestrate
”MySQLRouter2.1,withthenewmetadata_cacheplugin,providestransparentclientconnectionroutingandfailoverintoyourInnoDBclusters!”
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
MySQLGroupReplication:DatabaseHA• GroupReplicationlibrary– ImplementationofReplicatedDatabaseStateMachine• MySQLGCSisbasedonourhome-grownPaxosimplementation
– ProvidesvirtuallysynchronousreplicationforMySQL5.7+• Guaranteeseventualconsistency
– Automatesoperations• Conflictdetectionandresolution• Failuredetection,fail-over,recovery• Groupmembershipmanagementandreconfiguration
“Multi-masterupdateanywherereplicationpluginforMySQLwithbuilt-inconflictdetectionandresolution,automaticdistributedrecovery,andgroupmembership.”
18
AppServerswithMySQLRouter
MySQLGroupReplication
MySQLShellSetup,Manage,Orchestrate
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
EnterpriseMonitor:4.0• NewandimprovedUserInterface– Modernlook-and-feel– Easiernavigation– Betterperformanceandscale
• FullNDBClustersupport– Autodiscovery– Visualtopology– MemoryandCPUreports– Newadvisors
• Userstatisticsreport
19
NEW!
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.| 20
Copyright©2017,Oracleand/oritsaffiliates.Allrightsreserved.|
• OracleCloudoperatedanddeliveredasaservicebehindyourfirewall
• SameMySQLCloudServicetechnology,sameupdatesasOracleCloud
• Conformstoregulatory,privacy,legalandbusinessrequirements
• Moveworkloadsbetweenon-premisesandOracleCloud
• Keepcontroloverbusiness-criticalsystems
• OracleEnterpriseManager&MySQLEnterpriseToolsforunifiedmanagement
21
• MigrateexistingMySQLapplications
• BuildcloudnativeMySQLapplications
• Sameprogramminglanguagessupportason-premise
• InfrastructurechoicesacrossvariousOracleCloudInfrastructureservices
FlexibleDeploymentOptionsSameStandards,SameSoftware,UnifiedManagement
OracleCloudMachine Hybrid OracleCloud
OnPremises OracleCloudHybridCloud
CUSTOMERDATACENTER
FIREWALL
ORACLECLOUDCloudmachine