SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
What's	
  new	
  in	
  MySQL	
  5.7	
  
Ryusuke	
  Kajiyama	
  /	
  梶山隆輔	
  /	
  @RKajiyama	
  
MySQL	
  Sales	
  ConsulNng	
  Senior	
  Manager,	
  Asia	
  Pacific	
  &	
  Japan	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Safe	
  Harbor	
  Statement	
  
The	
  following	
  is	
  intended	
  to	
  outline	
  our	
  general	
  product	
  direcNon.	
  It	
  is	
  intended	
  for	
  
informaNon	
  purposes	
  only,	
  and	
  may	
  not	
  be	
  incorporated	
  into	
  any	
  contract.	
  It	
  is	
  not	
  a	
  
commitment	
  to	
  deliver	
  any	
  material,	
  code,	
  or	
  funcNonality,	
  and	
  should	
  not	
  be	
  relied	
  upon	
  
in	
  making	
  purchasing	
  decisions.	
  The	
  development,	
  release,	
  and	
  Nming	
  of	
  any	
  features	
  or	
  
funcNonality	
  described	
  for	
  Oracle’s	
  products	
  remains	
  at	
  the	
  sole	
  discreNon	
  of	
  Oracle.	
  
3	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
	
  A	
  Year	
  of	
  Anniversaries!	
  
20	
  Years:	
  MySQL	
  
10	
  Years:	
  Oracle	
  stewardship	
  of	
  InnoDB	
  
	
  5	
  Years:	
  Oracle	
  stewardship	
  of	
  MySQL	
  
	
  
Thank	
  You,	
  MySQL	
  Community,	
  for	
  20	
  years	
  of	
  
ContribuNons	
  to	
  MySQL!	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
   5	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
   6	
4.0	
  
Full	
  Text	
  Search/GIS	
  (MyISAM)	
  
MulN-­‐table	
  UPDATE/DELETE	
  
libmysqld	
  (embedded	
  MySQL)	
Oracle	
  MySQL	
   Sun	
  
3.23	
  
MyISAM	
  
InnoDB	
  
ReplicaNon	
  
5.1	
  
Pluggable	
  Storage	
  Engine	
  
ParNNoning	
  
Task	
  Scheduler	
5.6	
  
memcached	
  API	
  
UNDO	
  Tablespace	
  
Global	
  TransacNon	
  ID	
  
MulN	
  Thread	
  Slave	
  
Online	
  ALTER	
  TABLE	
  
Transportable	
  Tablespace	
  
5.5	
  
InnoDB	
  as	
  Default	
  
Semi-­‐sync	
  ReplicaNon	
  
PERFORMANCE_SCHEMA	
  
1.0-­‐3.22	
  
Storage	
  Engine	
  (ISAM,	
  HEAP)	
MulN	
  Thread	
Windows	
  ready/64bit	
  
Character	
  sets	
  (SJIS/UJIS)	
5.0	
  
Stored	
  Procedures	
  
Stored	
  FuncNons	
Cursors/Triggers/Views	
  
XA	
  TransacNons	
INFORMATION_SCHEMA	
  
4.1	
  
Unicode	
  
Subquery	
  
CSV,	
  ARCHIVE	
  
ndbcluster	
  
1995	
 2000	
 2005	
 2010	
 2015	
5.7+	
  
New	
  OpNmizer	
  Cost	
  Model	
  
Loss-­‐Less	
  ReplicaNon	
  
MulN	
  Source	
  ReplicaNon	
  
Group	
  RplicaNon	
  
CJK	
  Full	
  Text	
  Search/GIS	
  (InnoDB)	
  
Enhanced	
  Security	
  
Data	
  DicNonary	
  
NoSQL	
  OpNons	
  
	
  
	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  Performance	
  
– Read-­‐Only	
  TransacNon	
  
– SSD	
  OpNmizaNons	
  
– UNDO	
  Tablespace	
  
– Faster	
  Subqueries	
  
– JSON	
  EXPLAIN	
  
– Memcached	
  API	
  
•  Availability	
– Global	
  TransacNon	
  ID	
  
– Auto	
  Failover	
  
– MulN	
  Thread	
  Slave	
  
– Binlog	
  Group	
  Commit	
  
– OpNmized	
  Row-­‐Based	
  
ReplicaNon	
  
– Crash-­‐safe	
  Slave	
  
– ReplicaNon	
  Checksum	
7	
•  OperaNons	
  
– Online	
  ALTER	
  TABLE	
  
– Dump	
  and	
  Import	
  of	
  
InnoDB	
  Buffer	
  Pool	
  
– Transportable	
  Tablespace	
  
– Enhanced	
  Security	
  
•  Password	
  Policy	
  
•  SHA256	
  
•  Password	
  ExpiraNon	
  
What's	
  new	
  in	
  MySQL5.6
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7	
  Release	
  Candidate	
  Available!	
  
8	
  
Enhanced	
  InnoDB:	
  faster	
  online	
  &	
  bulk	
  
load	
  operaNons	
  
ReplicaNon	
  Improvements	
  (incl.	
  mulN-­‐
source,	
  mulN-­‐threaded	
  slaves...)	
  
New	
  OpNmizer	
  Cost	
  Model:	
  greater	
  user	
  
control	
  &	
  berer	
  query	
  performance	
  
Performance	
  Schema	
  Improvements	
  
MySQL	
  SYS	
  Schema	
  
Performance	
  &	
  Scalability	
   Manageability	
  
2	
  X	
  Faster	
  than	
  MySQL	
  5.6	
  
Improved	
  Security:	
  safer	
  iniNalizaNon,	
  
setup	
  &	
  management	
  
NEW!	
  JSON	
  Support	
  (now	
  in	
  labs)	
  
RC	
  
And	
  many	
  more	
  new	
  features	
  and	
  enhancements...	
  hrp://mysqlserverteam.com/the-­‐mysql-­‐5-­‐7-­‐7-­‐release-­‐candidate-­‐is-­‐available/	
  	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Improvements	
  Leading	
  up	
  to	
  RC1	
  
•  InnoDB	
  for	
  berer	
  transacNonal	
  throughput,	
  availability,	
  IO	
  	
  
•  ReplicaDon	
  for	
  berer	
  scalability	
  and	
  availability	
  
•  Fabric	
  for	
  high	
  availability	
  and	
  sharding	
  
•  Performance	
  Schema	
  for	
  new	
  and	
  improved	
  performance	
  metrics	
  
•  OpDmizer	
  for	
  berer	
  EXPLAINing,	
  parsing,	
  query	
  performance	
  
•  GIS	
  with	
  naNve	
  InnoDB	
  spaNal	
  indexes	
  and	
  Boost.Geometry	
  integraNon	
  
•  Security	
  with	
  easier,	
  safer	
  instance	
  iniNalizaNon,	
  setup	
  and	
  management	
  
Available	
  Now!	
  dev.mysql.com/downloads/mysql/	
  
9	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
0	
  
100,000	
  
200,000	
  
300,000	
  
400,000	
  
500,000	
  
600,000	
  
700,000	
  
8	
   16	
   32	
   64	
   128	
   256	
   512	
   1,024	
  
Queries	
  per	
  Second	
  
ConnecDons	
  
MySQL	
  5.7:	
  Sysbench	
  Read	
  Only	
  (Point	
  Select)	
  
MySQL	
  5.7	
  
MySQL	
  5.6	
  
MySQL	
  5.5	
  
MySQL	
  5.7:	
  Sysbench:	
  Read	
  Only	
  
	
  
Intel(R)	
  Xeon(R)	
  CPU	
  E7-­‐4860	
  x86_64	
  
4	
  sockets	
  x	
  10	
  cores-­‐HT	
  (80	
  CPU	
  threads)	
  
2.3	
  GHz,	
  512	
  GB	
  RAM	
  
Oracle	
  Linux	
  6.5	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  2x	
  Faster	
  than	
  MySQL	
  5.6	
  
	
   	
   	
   	
  3x	
  Faster	
  than	
  MySQL	
  5.5	
  
645,000	
  QPS	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  InnoDB,	
  NoSQL	
  With	
  Memcached	
  
	
  
6x	
  Faster	
  than	
  MySQL	
  5.6	
  
Thank	
  you,	
  Facebook	
  
	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
0	
  
200,000	
  
400,000	
  
600,000	
  
800,000	
  
1,000,000	
  
1,200,000	
  
8	
   16	
   32	
   64	
   128	
   256	
   512	
   1,024	
  
Queries	
  per	
  Second	
  
ConnecDons	
  
MySQL	
  5.7	
  vs	
  5.6	
  -­‐	
  InnoDB	
  &	
  Memcached	
  
MySQL	
  5.7	
  
MySQL	
  5.6	
  
1	
  Million	
  QPS	
  
Intel(R)	
  Xeon(R)	
  CPU	
  E7-­‐4860	
  x86_64	
  
4	
  sockets	
  x	
  10	
  cores-­‐HT	
  (80	
  CPU	
  threads)	
  
2.3	
  GHz,	
  512	
  GB	
  RAM	
  
Oracle	
  Linux	
  6.5	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7	
  Parser	
  &	
  OpNmizer	
  Refactoring	
  
OpNmizer	
  
Logical	
  transformaNons	
  
Cost-­‐based	
  opNmizer:	
  
Join	
  order	
  and	
  access	
  methods	
  
Plan	
  refinement	
  
Query	
  execuNon	
  plan	
  
Query	
  execuNon	
  
Parser	
  
Resolver:	
  
SemanNc	
  check,name	
  resoluNon	
  
SQL	
  	
  DML	
  query	
  
Query	
  result	
  
Storage	
  Engine	
  
InnoDB	
   MyISAM	
  
Improves	
  readability,	
  
maintainability	
  and	
  stability	
  	
  
– Cleanly	
  separate	
  the	
  parsing,	
  
opNmizing,	
  and	
  execuNon	
  stages	
  
– Allows	
  for	
  easier	
  feature	
  addiNons,	
  
with	
  lessened	
  risk	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Parser	
  Refactoring	
  
	
  
•  Challenge:	
  
– Overly	
  complex,	
  hard	
  to	
  add	
  new	
  syntax	
  
•  SoluNon:	
  
– Create	
  an	
  internal	
  parse	
  tree	
  borom-­‐up	
  
– Create	
  an	
  AST	
  (Abstract	
  Syntax	
  Tree)	
  from	
  the	
  parse	
  
tree	
  and	
  the	
  	
  user's	
  context.	
  	
  
– Have	
  syntax	
  rules	
  that	
  are	
  more	
  precisely	
  defined	
  
and	
  are	
  closer	
  to	
  	
  the	
  SQL	
  standard.	
  	
  
– More	
  precise	
  error	
  messages	
  
– Berer	
  support	
  for	
  larger	
  syntax	
  rules	
  in	
  the	
  future	
  
Resolver
Optimizer
SE
Lexical Scanner (lexer)
GNU Bison-generated Parser
(bottom-up parsing style)
Contextualization
Parser (new)
Executor
AST
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  OpNmizer	
  and	
  Parser	
  refactoring	
  
–  Improves	
  readability,	
  maintainability	
  and	
  
stability	
  	
  
–  Cleanly	
  separate	
  the	
  parsing,	
  opNmizing,	
  and	
  
execuNon	
  stages	
  
–  Allows	
  for	
  easier	
  feature	
  addiNons,	
  with	
  
lessened	
  risk	
  
•  New	
  hint	
  framework	
  
–  Easier	
  to	
  manage	
  	
  
–  With	
  support	
  for	
  addiNonal	
  new	
  hints	
  	
  
•  Improved	
  JSON	
  EXPLAIN	
  
•  EXPLAIN	
  for	
  running	
  thread	
  
•  New	
  Cost	
  based	
  OpNmizer	
  
•  Generated	
  Columns	
  
•  Support	
  for	
  InnoDB	
  based	
  internal	
  temp	
  
tables	
  	
  
•  Berer	
  ONLY_FULL_GROUP_BY	
  mode	
  
•  Berer	
  support	
  for	
  InnoDB	
  &	
  GIS	
  
•  Many	
  specific	
  new	
  opNmizaNons	
  	
  
Queries	
  execute	
  faster,	
  while	
  using	
  less	
  
CPU	
  and	
  disk	
  space!	
  
	
  
MySQL	
  5.7:	
  OpNmizer	
  Improvements	
  
	
  
14	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7	
  OpNmizer:	
  New	
  Cost	
  Model	
  
•  More	
  accurate	
  cost	
  esNmates	
  
– Berer	
  decisions	
  by	
  the	
  opNmizer	
  should	
  improve	
  query	
  performance	
  
•  Adapt	
  to	
  new	
  hardware	
  architectures	
  
– SSDs,	
  larger	
  memory	
  sizes,	
  improved	
  caches	
  
•  More	
  maintainable	
  cost	
  model	
  implementaNon	
  
– Avoid	
  hard	
  coded	
  “cost	
  constants”	
  
– Refactoring	
  of	
  exisNng	
  cost	
  model	
  code	
  
•  Configurable	
  and	
  tunable	
  
– mysql.server_cost	
  and	
  mysql.engine_cost	
  tables	
  
– API	
  for	
  determining	
  where	
  data	
  resides:	
  on	
  disk	
  or	
  in	
  cache	
  	
  
15	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Query	
  Rewrite	
  Plugin	
  
•  New	
  pre	
  and	
  post	
  parse	
  query	
  rewrite	
  APIs	
  	
  
– Users	
  can	
  write	
  their	
  own	
  plug-­‐ins	
  
•  Provides	
  a	
  post-­‐parse	
  query	
  plugin	
  
– Rewrite	
  problemaNc	
  queries	
  without	
  the	
  need	
  to	
  make	
  applicaNon	
  changes	
  
– Add	
  hints	
  
– Modify	
  join	
  order	
  
– Many	
  more	
  …	
  
•  Improve	
  problemaNc	
  queries	
  from	
  ORMs,	
  third	
  party	
  apps,	
  etc	
  
•  Eliminates	
  many	
  legacy	
  use	
  cases	
  for	
  proxies	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  OpNmizer	
  -­‐	
  Cost	
  Info	
  in	
  JSON	
  EXPLAIN	
  
	
  
•  Expanded	
  JSON	
  EXPLAIN	
  
– Now	
  includes	
  all	
  available	
  cost	
  info	
  
– Used	
  for	
  Visual	
  Explain	
  In	
  MySQL	
  Workbench	
  
17	
  
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "200.40"
},
"table": {
"table_name": "nicer_but_slower_film_list",
"access_type": "ALL",
"rows_examined_per_scan": 992,
"rows_produced_per_join": 992,
"filtered": 100,
"cost_info": {
"read_cost": "2.00",
"eval_cost": "198.40",
"prefix_cost": "200.40",
"data_read_per_join": "852K"
},
"used_columns": [
"FID",
"title",
"description",
"category",
"price",
"length",
"rating",
"actors"
],
...
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Memory	
  InstrumentaDon	
  
•  Aggregates	
  staNsNcs	
  by	
  
–  Type	
  of	
  memory	
  used	
  
(caches,	
  internal	
  buffers,	
  …)	
  
–  Thread/account/user/host	
  
indirectly	
  performing	
  the	
  
memory	
  operaNon	
  	
  
•  Arributes	
  include	
  	
  
–  Memory	
  used	
  (bytes)	
  
–  OperaNon	
  counts	
  
–  High/Low	
  Water	
  Marks	
  	
  
Statement	
  InstrumentaDon	
  
•  Stored	
  Procedures	
  	
  
•  Stored	
  FuncNons	
  
•  Prepared	
  Statements	
  
•  TransacNons	
  
AddiDonal	
  InformaDon	
  
•  ReplicaNon	
  slave	
  status	
  
•  MDL	
  lock	
  instrumentaNon	
  
•  Status	
  and	
  variables	
  per	
  
thread	
  
•  Server	
  stage	
  tracking	
  
•  Track	
  long	
  running	
  SQL	
  
•  Improved	
  configuraNon	
  
and	
  ease-­‐of-­‐use	
  
•  All	
  while	
  reducing	
  total	
  
footprint	
  and	
  overhead	
  	
  
	
  
MySQL	
  5.7:	
  Performance	
  Schema	
  
	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
HTTP	
  Plugin	
  for	
  MySQL	
  
•  Server	
  Plugin	
  adds	
  HTTP(S)	
  endpoints	
  to	
  MySQL	
  
•  Results	
  are	
  serialized	
  to	
  JSON	
  format	
  encoded	
  as	
  UTF8	
  
•  Provides	
  3	
  choices	
  of	
  User	
  Endpoint	
  Types	
  
– SQL	
  
– CRUD	
  -­‐	
  Key-­‐Value	
  
– JSON	
  -­‐	
  Document	
  
•  For	
  more	
  details;	
  
hrp://www.slideshare.net/nixnutz/hrp-­‐plugin-­‐for-­‐mysql-­‐39598656	
  
19	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
HTTP	
  Plugin	
  for	
  MySQL	
The	
  SQL	
  endpoint	
  and	
  JSON	
  	
shell> curl --user basic_auth_user:basic_auth_passwd
--url "http://127.0.0.1:8080/sql/db/SELECT+1”
[
{
"meta":[
{"type":8,"catalog":"def","database":"","table":"”,
"org_table":"","column":"1","org_column":"","charset":63,
"length":1,"flags":129,"decimals":0}
],
"data":[
["1"]
],
"status":[{"server_status":2,"warning_count":0}]
}
]
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
HTTP	
  Plugin	
  for	
  MySQL	
  -­‐	
  IniNal	
  version	
  
•  HTTP	
  Basic	
  AuthenNcaNon	
  for	
  SSL	
  and	
  Non-­‐SSL	
  	
  
•  No	
  query	
  cache	
  support	
  	
  
•  No	
  commercial	
  thread	
  pool	
  plugin	
  support	
  	
  
•  Not	
  all	
  MySQL	
  pluggable	
  auth	
  methods	
  supported	
  	
  
•  Unlimited:	
  all	
  SQL	
  statements	
  	
  
•  Unlimited:	
  everything	
  the	
  server	
  returns	
  	
  
21	
  
shell> curl --user basic_auth_user:basic_auth_passwd
--url "http://.../sql/db/SELECT+col_float+FROM+sql_types"
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
HTTP	
  Plugin	
  for	
  MySQL	
GET	
  =	
  SELECT	
  
shell> curl ... --url "http://../crud/db/sql_types/1"
{
"id" : "1",
"col_char" : "CHAR(127)" ,
"col_null" : null,
"col_date" : "2014-12-23",
"col_decimal" : "123.45",
"col_float" : "0.9999",
"col_bigint" : "9223372036854775807"
}
shell> curl ... --url 'http://../crud/db/simple/'
{
"errno" : 2000,
"error" : "The request URL must include a primary key value”
}
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Binlog	
  Events	
Formerly	
  known	
  as	
  Binlog	
  API	
•  C++	
  library	
  for	
  reading	
  Binary	
  log	
  
•  Can	
  read	
  binary	
  log	
  from	
  server	
  or	
  from	
  file	
  
– One	
  transport	
  for	
  each	
  kind	
  of	
  source	
  
– Currently	
  have	
  file	
  and	
  mysql	
  transport	
  
•  Decode	
  binary	
  log	
  events	
  
– Contain	
  code	
  to	
  decode	
  the	
  events	
  
•  Event	
  Driven	
  API	
  
23
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  JSON	
  
•  OpNmized	
  for	
  read	
  intensive	
  workload	
  	
  
•  NaNve	
  JSON	
  data	
  types	
  
– NaNve	
  internal	
  binary	
  format	
  for	
  efficient	
  processing	
  &	
  storage	
  
•  Built-­‐in	
  JSON	
  funcNons	
  
– Allowing	
  you	
  to	
  efficiently	
  store,	
  search,	
  update,	
  and	
  manipulate	
  Documents	
  
•  JSON	
  Comparator	
  
– Allows	
  for	
  easy	
  integraNon	
  of	
  Document	
  data	
  within	
  your	
  SQL	
  queries	
  
•  Indexing	
  of	
  Documents	
  using	
  Generated	
  Columns	
  	
  
– InnoDB	
  supports	
  indexes	
  on	
  both	
  stored	
  and	
  virtual	
  Generated	
  Columns	
  
– New	
  expression	
  analyzer	
  automaNcally	
  uses	
  the	
  best	
  “funcNonal”	
  index	
  available	
  
24	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  JSON	
25	
mysql> CREATE TABLE employees (data JSON);
Query OK, 0 rows affected (0,01 sec)
mysql> INSERT INTO employees VALUES ('{"id": 1, "name": "Jane"}');
Query OK, 1 row affected (0,00 sec)
mysql> INSERT INTO employees VALUES ('{"id": 2, "name": "Joe"}');
Query OK, 1 row affected (0,00 sec)
mysql> select * from employees;
+---------------------------+
| data |
+---------------------------+
| {"id": 1, "name": "Jane"} |
| {"id": 2, "name": "Joe"} |
+---------------------------+
2 rows in set (0,00 sec)
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  JSON	
•  Document	
  ValidaNon	
  
– on	
  insert	
  only	
  	
  
•  Efficient	
  Access	
  
26	
mysql> INSERT INTO employees VALUES ('some random text');
ERROR 3130 (22032): Invalid JSON text: "Expect a value here." at position 0 in
value (or column) 'some random text'.	
mysql> select jsn_extract(data, '$.name') from employees;
+-----------------------------+
| jsn_extract(data, '$.name') |
+-----------------------------+
| "Jane" |
| "Joe" |
+-----------------------------+
2 rows in set (0,00 sec)
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  jsn_array()
–  Build	
  a	
  JSON	
  array	
  from	
  list	
  of	
  expressions	
  
•  jsn_object()
–  Builds	
  JSON	
  objects	
  from	
  a	
  variable	
  length	
  list	
  
of	
  key/value	
  pairs	
  
•  jsn_insert()
–  Adds	
  'missing'	
  data	
  to	
  JSON	
  documents	
  
•  jsn_remove()
–  Removes	
  arributes	
  from	
  exisNng	
  JSON	
  
documents	
  
•  jsn_set()
–  Sets	
  arributes	
  within	
  JSON	
  documents	
  
•  jsn_replace()
–  Replaces	
  (but	
  doesn't	
  add)	
  arributes	
  within	
  
JSON	
  documents	
  
•  jsn_append()
–  Adds	
  a	
  value	
  to	
  the	
  end	
  of	
  an	
  array	
  
•  jsn_merge()
–  Merges	
  two	
  arrays	
  	
  
•  jsn_extract()
–  Returns	
  a	
  value	
  nested	
  inside	
  of	
  a	
  JSON	
  
document	
  
27	
  
JSON	
  FuncNons	
  for	
  CreaNng	
  &	
  ManipulaNng	
  
	
  JSON	
  Documents	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  jsn_search()
–  Search	
  for	
  values	
  within	
  JSON	
  documents	
  and	
  
return	
  their	
  locaNons	
  
•  jsn_contains()
–  Checks	
  for	
  a	
  specific	
  element	
  and	
  value	
  
•  jsn_contains_path()
–  Determine	
  if	
  a	
  specific	
  element	
  is	
  present	
  in	
  a	
  
document	
  in	
  a	
  specific	
  posiNon	
  
•  jsn_valid()
–  Check	
  if	
  document	
  is	
  a	
  valid	
  JSON	
  document	
  
•  jsn_type()
–  Find	
  the	
  type	
  of	
  a	
  value	
  within	
  a	
  document	
  
•  jsn_keys()
–  Returns	
  arrays	
  of	
  the	
  key	
  names	
  for	
  the	
  JSON	
  
documents	
  
•  jsn_length()
–  Number	
  of	
  elements	
  in	
  JSON	
  document	
  
•  jsn_depth()
–  Level	
  of	
  nesNng	
  in	
  JSON	
  document	
  
•  jsn_unquote()
–  Helps	
  move	
  from	
  JSON	
  to	
  other	
  MySQL	
  types	
  
•  jsn_quote()
–  Helps	
  move	
  from	
  other	
  MySQL	
  types	
  to	
  JSON	
  
28	
  
Query	
  and	
  Search	
  JSON	
  FuncNons	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Generated	
  Columns	
  
•  Virtual	
  Generated	
  Column	
  
– Generated	
  on	
  the	
  fly	
  when	
  the	
  column	
  is	
  read	
  
– Can	
  be	
  indexed	
  
•  Stored	
  Generated	
  Column	
  
– Generated	
  when	
  the	
  referenced	
  column	
  is	
  wriren	
  to	
  
– Can	
  be	
  indexed	
  
mysql> ALTER TABLE employees ADD name VARCHAR(100)
GENERATED ALWAYS AS(jsn_extract(info, '$.name')) VIRTUAL;
mysql> ALTER TABLE employees ADD INDEX(name);
hrp://mysqlserverteam.com/	
  
Digging	
  into	
  your	
  Documents	
  
labs.mysql.com	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  Save	
  memory/storage	
  and	
  simplify	
  
applicaNon	
  
– Joins	
  between	
  Documents	
  
•  Normalize	
  data	
  where	
  it	
  makes	
  sense	
  
– Foreign	
  Keys	
  between	
  Documents	
  
– Update	
  mulNple	
  Documents	
  in	
  a	
  single	
  
atomic	
  transacNon	
  
•  Leverage	
  all	
  of	
  your	
  data	
  
– Read/write	
  Document	
  and	
  relaNonal	
  
data	
  in	
  a	
  single	
  query/transacNon	
  
•  20	
  years	
  of	
  product	
  maturity	
  
30	
  
So	
  Just	
  Another	
  Document	
  Store?	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  SYS	
  Schema	
  
	
  
Helper	
  objects	
  for	
  DBAs,	
  Developers	
  and	
  OperaDons	
  staff	
  
•  Helps	
  simplify	
  DBA	
  /	
  Ops	
  tasks	
  	
  	
  
	
  -­‐	
  Monitor	
  server	
  health,	
  user,	
  host	
  staNsNcs	
  
	
  -­‐	
  Spot,	
  diagnose,	
  and	
  tune	
  performance	
  issues	
  
•  	
  Easy	
  to	
  understand	
  views	
  with	
  insights	
  into	
  	
  	
  
	
  -­‐	
  IO	
  hot	
  spots,	
  Locking,	
  Costly	
  SQL	
  statements	
  	
  	
  
	
  -­‐	
  Schema,	
  table	
  and	
  index	
  staNsNcs	
  	
  	
  
•  SYS	
  is	
  similar	
  to	
  
-­‐	
  Oracle	
  V$	
  catalog	
  views	
  
-­‐	
  Microso{	
  SQL	
  DMVs	
  (Dynamic	
  Mgmnt	
  Views)	
  
	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  Replaced	
  custom	
  code	
  with	
  Boost.Geometry	
  
–  For	
  spaNal	
  calculaNons	
  
–  For	
  spaNal	
  analysis	
  	
  
–  Enabling	
  full	
  OGC	
  compliance	
  
–  We’re	
  also	
  Boost.Geometry	
  contributors!	
  
•  InnoDB	
  R-­‐tree	
  based	
  spaNal	
  indexes	
  
–  Full	
  ACID,	
  MVCC,	
  &	
  transacNonal	
  support	
  
–  Index	
  records	
  contain	
  minimum	
  bounding	
  box	
  
•  GeoHash	
  
•  GeoJSON	
  
•  Helper	
  funcNons	
  such	
  as	
  ST_Distance_Sphere()	
  and	
  ST_MakeEnvelope()	
  
MySQL	
  5.7:	
  GIS	
  Improvements	
  
	
  
32	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  NaNve	
  ParNNoning	
  
–  Eliminates	
  previous	
  limitaNons	
  
–  Eliminates	
  resource	
  usage	
  problems	
  
–  Transportable	
  tablespace	
  support	
  
•  NaNve	
  Full-­‐Text	
  Search	
  	
  
–  Including	
  full	
  CJK	
  support!	
  
•  NaNve	
  SpaNal	
  Indexes	
  
•  Transparent	
  page	
  compression	
  	
  
•  Support	
  for	
  32K	
  and	
  64K	
  pages	
  
–  Use	
  with	
  transparent	
  page	
  compression	
  for	
  
very	
  high	
  compression	
  raNos	
  
•  General	
  TABLESPACE	
  support	
  	
  
–  Store	
  mulNple	
  tables	
  in	
  user	
  defined	
  shared	
  
tablespaces	
  	
  
•  Support	
  for	
  MySQL	
  Group	
  ReplicaNon	
  
–  High	
  priority	
  transacNons	
  
•  Improved	
  support	
  for	
  cache	
  preloading	
  
–  Load	
  your	
  horest	
  data	
  loaded	
  at	
  startup	
  
•  Configurable	
  fill-­‐factor	
  	
  
–  Allows	
  for	
  improvements	
  in	
  storage	
  footprint	
  
•  Improved	
  bulk-­‐data	
  load	
  performance	
  
MySQL	
  5.7:	
  InnoDB	
  Improvements	
  
	
  
33	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  InnoDB	
  –	
  Always	
  Online	
  
	
  
•  Resize	
  the	
  InnoDB	
  Buffer	
  Pool	
  online	
  	
  
– Allows	
  DBAs	
  to	
  tune	
  the	
  buffer	
  size	
  without	
  any	
  downNme	
  
– Adapt	
  in	
  real-­‐Nme	
  to	
  changes	
  in	
  database	
  usage	
  parerns	
  
•  Separate	
  UNDO	
  tablespace	
  
– With	
  automaNc	
  online	
  truncaNon	
  	
  
•  AddiNonal	
  Online	
  ALTER	
  TABLE	
  support	
  
– Enlarge	
  VARCHAR,	
  Rename	
  Index	
  
•  Dynamic	
  configuraNon	
  
– Making	
  exisNng	
  se}ngs	
  dynamically	
  configurable	
  
– As	
  a	
  design	
  principle	
  for	
  new	
  features	
  &	
  se}ngs	
  
34	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  InnoDB	
  -­‐	
  Bulk	
  Load	
  for	
  Create	
  Index	
  	
  
	
  
•  Much	
  faster	
  INDEX	
  creaNon	
  and	
  bulk	
  loads	
  	
  
•  Sorted	
  index	
  builds,	
  done	
  from	
  the	
  borom-­‐up	
  
– Improves	
  speed	
  by	
  increasing	
  locality	
  and	
  decreasing	
  node	
  spli}ng	
  
•  Pages	
  are	
  compressed	
  only	
  when	
  full	
  
•  New	
  innodb_fill_factor	
  opNon	
  controls	
  free	
  space	
  le{	
  in	
  each	
  page	
  
•  Performance	
  results	
  show	
  
– 2-­‐3x	
  performance	
  improvement	
  for	
  ADD/CREATE	
  INDEX	
  operaNons	
  
•  Up	
  to	
  500x	
  improvement	
  with	
  larger	
  -­‐-­‐innodb_sort_buffer_size	
  values	
  
– 2-­‐5%	
  improvement	
  for	
  standard	
  INSERT	
  operaNons	
  	
  
35	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  InnoDB	
  Temporary	
  Tables	
  	
  
	
  
•  New	
  separate	
  tablespace	
  for	
  temporary	
  tables	
  
– Improved	
  CREATE/DROP	
  performance	
  
– DDL	
  changes	
  are	
  transient,	
  which	
  eliminates	
  some	
  disk	
  IO	
  
•  OpNmize	
  DML	
  operaNons	
  
– No	
  REDO	
  logging,	
  no	
  change	
  buffering,	
  less	
  locking	
  
•  New	
  intrinsic	
  temporary	
  tables	
  
– Specialized	
  temporary	
  tables	
  with	
  tailored	
  ACID/MVCC	
  semanNcs	
  
– Light	
  weight	
  and	
  ultra-­‐fast,	
  great	
  for	
  intermediate	
  query	
  execuNon	
  operaNons	
  
•  InnoDB	
  as	
  default	
  storage	
  engine	
  for	
  disk	
  based	
  temp	
  tables	
  
– OpNmizer	
  switched	
  from	
  MyISAM	
  to	
  InnoDB	
  (faster)	
  for	
  internal	
  temp	
  tables	
  
36	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  InnoDB	
  Full-­‐Text	
  CJK	
  Support	
  
	
  
•  Two	
  new	
  Full-­‐Text	
  Parser	
  plugins	
  
•  N-­‐gram	
  parser	
  supports	
  Chinese,	
  Japanese,	
  &	
  Korean	
  
– Supports	
  all	
  ideographic	
  languages	
  that	
  do	
  not	
  use	
  word	
  delimiters	
  
•  MeCab	
  parser	
  supports	
  Japanese	
  
– NaNve	
  Japanese	
  focused	
  language	
  support	
  
•  Easily	
  customized	
  	
  
– Token	
  sizes,	
  stop	
  words,	
  …	
  
•  Supports	
  advanced	
  searches	
  	
  
– BOOLEAN	
  MODE,	
  NATURAL	
  LANGUAGE	
  MODE,	
  with	
  Ranking	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
EAF:	
  InnoDB	
  Compression	
  
	
  Thank	
  you,	
  SanDisk	
  Fusion-­‐io	
  
	
  
•  Transparent	
  Page	
  Level	
  Compression	
  
– Happens	
  transparently	
  in	
  background	
  threads	
  
– Managed	
  enNrely	
  within	
  the	
  IO	
  layer	
  
– Uses	
  sparse	
  file	
  and	
  "hole	
  punching"	
  support	
  in	
  OS	
  kernels	
  and	
  File	
  Systems	
  
•  Reduces	
  IO	
  	
  
– Improves	
  MySQL	
  performance	
  
– Improves	
  storage	
  efficiency	
  
– Reduces	
  write	
  cycles,	
  thus	
  increasing	
  SSD	
  lifespan	
  
•  Applies	
  to	
  all	
  InnoDB	
  data,	
  including	
  the	
  system	
  tablespace	
  and	
  UNDO	
  logs	
  
38	
  
labs.mysql.com	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Syslog	
  Support	
  for	
  Linux/Unix	
  pla€orms	
  
	
  
	
  
•  NaNve	
  support	
  for	
  syslog	
  
•  Simple	
  opNon	
  to	
  (re)direct	
  log	
  output	
  to	
  naNve	
  syslog	
  facility	
  
•  Start-­‐up	
  server	
  configuraNon	
  opNon	
  
•  Dynamically	
  in	
  the	
  running	
  server	
  
– 	
  System	
  variable	
  log_syslog	
  (ON/OFF,	
  defaults	
  to	
  OFF).	
  
Thank	
  you,	
  Simon	
  Mudd	
  at	
  booking.com	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Security	
  -­‐	
  EncrypNon,	
  Passwords,	
  InstallaNon	
  
	
  
•  AES	
  256	
  EncrypNon	
  	
  
– Default	
  in	
  MySQL	
  5.7	
  	
  
•  Password	
  rotaNon	
  policies	
  
– Can	
  be	
  set	
  globally,	
  and	
  at	
  the	
  user	
  level	
  
•  Deployment:	
  enable	
  secure	
  unarended	
  install	
  by	
  default	
  
– Random	
  password	
  set	
  on	
  install	
  
– Remove	
  anonymous	
  accounts	
  
– Deployment	
  without	
  test	
  account,	
  schema,	
  demo	
  files	
  
•  Easier	
  instance	
  iniNalizaNon	
  and	
  setup:	
  mysqld	
  –iniNalize	
  
•  New	
  detecNon	
  and	
  support	
  for	
  systemd	
  	
  
40	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  Security	
  –	
  SSL,	
  Proxy	
  User	
  
	
  
•  SSL	
  
– Enabled	
  by	
  default	
  
– Auto-­‐detecNon	
  of	
  exisNng	
  keys	
  and	
  certs	
  
– Auto	
  generaNon	
  of	
  keys	
  and	
  certs	
  when	
  needed	
  	
  
– New	
  helper	
  uNlity:	
  mysql_ssl_rsa_setup	
  
•  Extended	
  Proxy	
  User	
  Support	
  
– Added	
  Built-­‐in	
  AuthenNcaNon	
  Plugins	
  support	
  for	
  Proxy	
  Users	
  
– Allows	
  mulNple	
  users	
  to	
  share	
  a	
  single	
  set	
  of	
  managed	
  privileges	
  
41	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  GTID	
  enhancements	
  
–  On-­‐line,	
  phased	
  deployment	
  of	
  GTIDs	
  
–  Binary	
  logging	
  on	
  slave	
  now	
  opNonal	
  
•  Enhanced	
  Semi-­‐synchronous	
  replicaNon	
  
–  Write	
  guaranteed	
  to	
  be	
  received	
  by	
  slave	
  
before	
  being	
  observed	
  by	
  clients	
  of	
  the	
  master	
  
–  OpNon	
  to	
  wait	
  on	
  Acks	
  from	
  mulNple	
  slaves	
  
•  MulN-­‐Source	
  ReplicaNon	
  
–  Consolidate	
  updates	
  from	
  mulNple	
  Masters	
  
into	
  one	
  Slave	
  
•  Dynamic	
  slave	
  filters	
  
•  8-­‐10x	
  Faster	
  slave	
  throughput	
  
–  O{en	
  removes	
  slave	
  as	
  a	
  borleneck;	
  keep	
  pace	
  
with	
  master	
  with	
  8+	
  slave	
  threads	
  
–  OpNon	
  to	
  preserve	
  Commit	
  order	
  
–  AutomaNc	
  slave	
  transacNon	
  retries	
  
	
  
MySQL	
  5.7:	
  ReplicaNon	
  Improvements	
  
	
  
42	
  
0%#
50%#
100%#
150%#
200%#
250%#
1# 8# 24# 48#
Slave#Threads#
Slave#throughput#vs.#96#Thread#Master#
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  MulN-­‐Source	
  ReplicaNon	
  
– Consolidate	
  updates	
  from	
  mulNple	
  
Masters	
  into	
  one	
  Slave	
  
•  Consolidated	
  view	
  of	
  all	
  shards	
  
•  More	
  flexible	
  topologies	
  
•  Centralized	
  point	
  for	
  backups	
  
– CompaNble	
  with	
  Semi-­‐Sync	
  ReplicaNon	
  
&	
  enhanced	
  MTS	
  
•  Performance	
  Schema	
  tables	
  for	
  
monitoring	
  slave	
  
•  Online	
  OperaNons:	
  Dynamic	
  
ReplicaNon	
  Filters,	
  switch	
  master	
  
MySQL	
  5.7:	
  ReplicaNon	
  Improvements	
  
Binlog	
  
Master	
  1	
  
Binlog	
  
Master	
  2	
  
…	
  
…	
  
Binlog	
  
Master	
  N	
  
IO	
  1	
  
Relay	
  1	
  
Coordinator	
  
W1	
   W2	
   …	
   WX	
  
IO	
  2	
  
Relay	
  2	
  
Coordinator	
  
W1	
   W2	
   …	
   WX	
  
…	
  
…	
  
Coordinator	
  
W1	
   W2	
   …	
   WX	
  
IO	
  N	
  
Relay	
  N	
  
Coordinator	
  
W1	
   W2	
   …	
   WX	
  
Slave	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  MulN-­‐master	
  update	
  anywhere	
  
–  Conflict	
  detecNon	
  and	
  resoluNon	
  (transacNon	
  rollback)	
  
–  OpNmisNc	
  State	
  Machine	
  ReplicaNon	
  
•  AutomaNc	
  group	
  membership	
  management	
  and	
  failure	
  
detecNon	
  
–  No	
  need	
  for	
  server	
  fail-­‐over	
  
–  ElasNc	
  scale	
  out/in	
  
–  No	
  single	
  point	
  of	
  failure	
  
–  AutomaNc	
  reconfiguraNon	
  
•  Well	
  integrated	
  
–  InnoDB	
  
–  GTID-­‐based	
  replicaNon	
  
–  PERFORMANCE_SCHEMA	
  
EAF:	
  Group	
  ReplicaNon	
  
	
  
ApplicaNon	
  
MySQL	
  Masters	
   ReplicaNon	
  	
  
Plugin	
  
API	
  
MySQL	
  
Server	
  
Group	
  Comms	
  
labs.mysql.com	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Fabric	
  1.5	
  
•  High	
  Availability	
  
–  Server	
  monitoring	
  with	
  auto-­‐promoNon	
  and	
  
transparent	
  applicaNon	
  failover	
  
•  OpNonally	
  scale-­‐out	
  through	
  sharding	
  
–  ApplicaNon	
  provides	
  shard	
  key	
  
–  Range	
  or	
  Hash	
  
–  Tools	
  for	
  resharding	
  
–  Global	
  updates	
  &	
  tables	
  
•  Fabric-­‐aware	
  connectors	
  rather	
  than	
  
proxy:	
  Python,	
  Java,	
  PHP,	
  .NET,	
  C	
  (labs)	
  
–  Lower	
  latency,	
  borleneck-­‐free	
  
•  Server	
  provisioning	
  using	
  OpenStack	
  etc.	
  
High	
  Availability	
  +	
  Sharding-­‐Based	
  Scale-­‐out	
  
MySQL	
  Fabric	
  
Connector	
  
ApplicaNon	
  
Read-­‐slaves	
  
mappings	
  
SQL	
  
HA	
  group	
  
Read-­‐slaves	
  
HA	
  group	
  
Connector	
  
ApplicaNon	
  
GA	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Workbench	
  6.3	
  
	
  
•  Fabric	
  	
  
– Add	
  node,	
  browse,	
  view,	
  connect	
  
•  Performance	
  Dashboard	
  	
  
– Performance	
  Schema	
  Reports	
  &	
  Graphs	
  
•  Visual	
  Explain	
  
•  GIS	
  Viewer	
  
•  MigraNon	
  	
  
– New	
  Microso{	
  Access	
  	
  
– Microso{	
  SQL	
  Server,	
  Sybase,	
  	
  
PostgreSQL,	
  SQLite	
  
	
  
GA	
  
46	
  
•  New	
  Easy	
  to	
  Use	
  Wizards	
  for	
  
– Fast	
  Data	
  MigraNon	
  
– Table<-­‐>File	
  Data	
  Import/Export	
  (like	
  Excel)	
  
– SSL	
  CerNficate	
  CreaNon	
  
	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  on	
  Windows	
  
•  MySQL	
  Installer	
  for	
  Windows	
  
•  MySQL	
  Workbench	
  
•  MySQL	
  MigraNon	
  Wizard	
  
–  Microso{	
  SQL	
  Server	
  
–  Microso{	
  Access	
  
•  MySQL	
  for	
  Visual	
  Studio	
  
•  MySQL	
  for	
  Excel	
  
•  MySQL	
  NoNfier	
  
•  MySQL	
  Connector/.Net	
  
•  MySQL	
  Connector/ODBC	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Repos	
  
•  DistribuNons	
  
–  Oracle,	
  Red	
  Hat,	
  CentOS	
  	
  
–  Fedora	
  
–  Ubuntu,	
  Debian	
  
–  SUSE	
  
•  Official	
  MySQL	
  Docker	
  Image	
  from	
  Oracle	
  
•  Coming	
  Soon	
  
–  Preconfigured	
  Containers	
  
–  Improved	
  support	
  for	
  popular	
  DevOps	
  
deployment	
  tools	
  
hrps://dev.mysql.com/downloads/repo	
  	
  	
  
	
  
MySQL	
  on	
  GitHub	
  
•  Git	
  for	
  MySQL	
  Engineering	
  
–  Fast,	
  flexible	
  and	
  great	
  for	
  a	
  distributed	
  team	
  
–  Great	
  tooling	
  	
  
–  Large	
  and	
  vibrant	
  community	
  
•  GitHub	
  for	
  MySQL	
  Community	
  
–  Easy	
  and	
  fast	
  code	
  availability	
  to	
  the	
  community	
  
and	
  to	
  downstream	
  projects	
  
–  New	
  Pull	
  Requests	
  
	
  
hrps://github.com/mysql	
  	
  
	
  
	
  
48	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  AddiNonal	
  Info	
  
	
  
•  hrp://mysqlserverteam.com/whats-­‐new-­‐in-­‐mysql-­‐5-­‐7-­‐first-­‐release-­‐candidate/	
  
•  hrp://mysqlserverteam.com/json-­‐labs-­‐release-­‐overview/	
  
•  hrp://mysqlserverteam.com/?s=query+rewrite	
  
•  hrp://mysqlserverteam.com/category/performance/opNmizer/	
  
•  hrp://mysqlserverteam.com/category/innodb/	
  
•  hrp://mysqlserverteam.com/category/mysql/performance-­‐schema/	
  
•  hrp://mysqlserverteam.com/category/gis/	
  
•  hrp://mysqlserverteam.com/category/full-­‐text-­‐search/	
  
•  hrp://mysqlserverteam.com/category/dicNonary/	
  
•  hrp://dev.mysql.com/doc/refman/5.7/en/	
  
49	
  
TWJUG August, What's new in MySQL 5.7 RC

Contenu connexe

Tendances

MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMark Swarbrick
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility SolutionsMark Swarbrick
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMark Swarbrick
 
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best PracticesOracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best PracticesSven Sandberg
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016Geir Høydalsvik
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMatt Lord
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesTarique Saleem
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016Ted Wennmark
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivanIvan Tu
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise MonitorTed Wennmark
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)Mario Beck
 
MySQL Security
MySQL SecurityMySQL Security
MySQL SecurityMario Beck
 
MySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMario Beck
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONMario Beck
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterOlivier DASINI
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017Ivan Ma
 
2012 ohiolinuxfest replication
2012 ohiolinuxfest replication2012 ohiolinuxfest replication
2012 ohiolinuxfest replicationsqlhjalp
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial EditionMario Beck
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMatt Lord
 

Tendances (20)

MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats new
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility Solutions
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best PracticesOracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
MySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMySQL 5.7: Focus on Replication
MySQL 5.7: Focus on Replication
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
 
2012 ohiolinuxfest replication
2012 ohiolinuxfest replication2012 ohiolinuxfest replication
2012 ohiolinuxfest replication
 
MySQL User Camp: GTIDs
MySQL User Camp: GTIDsMySQL User Camp: GTIDs
MySQL User Camp: GTIDs
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial Edition
 
MySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB ClustersMySQL High Availability -- InnoDB Clusters
MySQL High Availability -- InnoDB Clusters
 

En vedette

MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20Ryusuke Kajiyama
 
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデートRyusuke Kajiyama
 
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise OsakaRyusuke Kajiyama
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7Ryusuke Kajiyama
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?Ryusuke Kajiyama
 
Art of MySQL Replication.
Art of MySQL Replication.Art of MySQL Replication.
Art of MySQL Replication.Mikiya Okuno
 
20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQL20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQLRyusuke Kajiyama
 
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+Ryusuke Kajiyama
 
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQLMySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQLRyusuke Kajiyama
 
MySQLチューニング
MySQLチューニングMySQLチューニング
MySQLチューニングyoku0825
 
MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良Shinya Sugiyama
 
Pi4Jで簡単! ラズパイでトイレ空室管理システムを つくってみたよ
Pi4Jで簡単!   ラズパイでトイレ空室管理システムを つくってみたよPi4Jで簡単!   ラズパイでトイレ空室管理システムを つくってみたよ
Pi4Jで簡単! ラズパイでトイレ空室管理システムを つくってみたよYoshio Kajikuri
 
Shlideshare
ShlideshareShlideshare
Shlidesharehyun
 

En vedette (13)

MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
 
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
 
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
 
Art of MySQL Replication.
Art of MySQL Replication.Art of MySQL Replication.
Art of MySQL Replication.
 
20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQL20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQL
 
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
 
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQLMySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
 
MySQLチューニング
MySQLチューニングMySQLチューニング
MySQLチューニング
 
MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良MySQL 5.7とレプリケーションにおける改良
MySQL 5.7とレプリケーションにおける改良
 
Pi4Jで簡単! ラズパイでトイレ空室管理システムを つくってみたよ
Pi4Jで簡単!   ラズパイでトイレ空室管理システムを つくってみたよPi4Jで簡単!   ラズパイでトイレ空室管理システムを つくってみたよ
Pi4Jで簡単! ラズパイでトイレ空室管理システムを つくってみたよ
 
Shlideshare
ShlideshareShlideshare
Shlideshare
 

Similaire à TWJUG August, What's new in MySQL 5.7 RC

Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL SupportMysql User Camp
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7Olivier DASINI
 
제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQLTommy Lee
 
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4Frazer Clement
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015Sanjay Manwani
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014Sanjay Manwani
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMark Swarbrick
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 Geir Høydalsvik
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQLTed Wennmark
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017Ivan Ma
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_ptMySQL Brasil
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmapslidethanks
 
MySQL Strategy&Roadmap
MySQL Strategy&RoadmapMySQL Strategy&Roadmap
MySQL Strategy&Roadmapslidethanks
 
RMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New FeaturesRMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New FeaturesDave Stokes
 
MySQL Tech Tour 2015 - 5.7 InnoDB
MySQL Tech Tour 2015 - 5.7 InnoDBMySQL Tech Tour 2015 - 5.7 InnoDB
MySQL Tech Tour 2015 - 5.7 InnoDBMark Swarbrick
 
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke KajiyamaInsight Technology, Inc.
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_finalManuel Contreras
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL Brasil
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16Sanjay Manwani
 

Similaire à TWJUG August, What's new in MySQL 5.7 RC (20)

Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7
 
제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL
 
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL 5.7 what's new
MySQL 5.7 what's newMySQL 5.7 what's new
MySQL 5.7 what's new
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_pt
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmap
 
MySQL Strategy&Roadmap
MySQL Strategy&RoadmapMySQL Strategy&Roadmap
MySQL Strategy&Roadmap
 
RMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New FeaturesRMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New Features
 
MySQL Tech Tour 2015 - 5.7 InnoDB
MySQL Tech Tour 2015 - 5.7 InnoDBMySQL Tech Tour 2015 - 5.7 InnoDB
MySQL Tech Tour 2015 - 5.7 InnoDB
 
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_final
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15
 
MySQL :What's New #GIDS16
MySQL :What's New #GIDS16MySQL :What's New #GIDS16
MySQL :What's New #GIDS16
 

Plus de Ryusuke Kajiyama

[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストアRyusuke Kajiyama
 
[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門Ryusuke Kajiyama
 
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能Ryusuke Kajiyama
 
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0Ryusuke Kajiyama
 
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合Ryusuke Kajiyama
 
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状Ryusuke Kajiyama
 
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」Ryusuke Kajiyama
 
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーションRyusuke Kajiyama
 
MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014Ryusuke Kajiyama
 
State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014Ryusuke Kajiyama
 
20140518 JJUG MySQL Clsuter as NoSQL
20140518 JJUG MySQL Clsuter as NoSQL20140518 JJUG MySQL Clsuter as NoSQL
20140518 JJUG MySQL Clsuter as NoSQLRyusuke Kajiyama
 
2012.10.20 OSC 2012 Hiroshima
2012.10.20 OSC 2012 Hiroshima2012.10.20 OSC 2012 Hiroshima
2012.10.20 OSC 2012 HiroshimaRyusuke Kajiyama
 

Plus de Ryusuke Kajiyama (13)

[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア
 
[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門
 
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
 
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
 
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
 
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
 
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
 
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
 
MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014
 
State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014
 
20140518 JJUG MySQL Clsuter as NoSQL
20140518 JJUG MySQL Clsuter as NoSQL20140518 JJUG MySQL Clsuter as NoSQL
20140518 JJUG MySQL Clsuter as NoSQL
 
2012.10.20 OSC 2012 Hiroshima
2012.10.20 OSC 2012 Hiroshima2012.10.20 OSC 2012 Hiroshima
2012.10.20 OSC 2012 Hiroshima
 
MySQL de NoSQL Fukuoka
MySQL de NoSQL FukuokaMySQL de NoSQL Fukuoka
MySQL de NoSQL Fukuoka
 

Dernier

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Dernier (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

TWJUG August, What's new in MySQL 5.7 RC

  • 1. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   What's  new  in  MySQL  5.7   Ryusuke  Kajiyama  /  梶山隆輔  /  @RKajiyama   MySQL  Sales  ConsulNng  Senior  Manager,  Asia  Pacific  &  Japan  
  • 2. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Safe  Harbor  Statement   The  following  is  intended  to  outline  our  general  product  direcNon.  It  is  intended  for   informaNon  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a   commitment  to  deliver  any  material,  code,  or  funcNonality,  and  should  not  be  relied  upon   in  making  purchasing  decisions.  The  development,  release,  and  Nming  of  any  features  or   funcNonality  described  for  Oracle’s  products  remains  at  the  sole  discreNon  of  Oracle.   3  
  • 3. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |    A  Year  of  Anniversaries!   20  Years:  MySQL   10  Years:  Oracle  stewardship  of  InnoDB    5  Years:  Oracle  stewardship  of  MySQL     Thank  You,  MySQL  Community,  for  20  years  of   ContribuNons  to  MySQL!  
  • 4. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   5  
  • 5. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   6 4.0   Full  Text  Search/GIS  (MyISAM)   MulN-­‐table  UPDATE/DELETE   libmysqld  (embedded  MySQL) Oracle  MySQL   Sun   3.23   MyISAM   InnoDB   ReplicaNon   5.1   Pluggable  Storage  Engine   ParNNoning   Task  Scheduler 5.6   memcached  API   UNDO  Tablespace   Global  TransacNon  ID   MulN  Thread  Slave   Online  ALTER  TABLE   Transportable  Tablespace   5.5   InnoDB  as  Default   Semi-­‐sync  ReplicaNon   PERFORMANCE_SCHEMA   1.0-­‐3.22   Storage  Engine  (ISAM,  HEAP) MulN  Thread Windows  ready/64bit   Character  sets  (SJIS/UJIS) 5.0   Stored  Procedures   Stored  FuncNons Cursors/Triggers/Views   XA  TransacNons INFORMATION_SCHEMA   4.1   Unicode   Subquery   CSV,  ARCHIVE   ndbcluster   1995 2000 2005 2010 2015 5.7+   New  OpNmizer  Cost  Model   Loss-­‐Less  ReplicaNon   MulN  Source  ReplicaNon   Group  RplicaNon   CJK  Full  Text  Search/GIS  (InnoDB)   Enhanced  Security   Data  DicNonary   NoSQL  OpNons      
  • 6. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  Performance   – Read-­‐Only  TransacNon   – SSD  OpNmizaNons   – UNDO  Tablespace   – Faster  Subqueries   – JSON  EXPLAIN   – Memcached  API   •  Availability – Global  TransacNon  ID   – Auto  Failover   – MulN  Thread  Slave   – Binlog  Group  Commit   – OpNmized  Row-­‐Based   ReplicaNon   – Crash-­‐safe  Slave   – ReplicaNon  Checksum 7 •  OperaNons   – Online  ALTER  TABLE   – Dump  and  Import  of   InnoDB  Buffer  Pool   – Transportable  Tablespace   – Enhanced  Security   •  Password  Policy   •  SHA256   •  Password  ExpiraNon   What's  new  in  MySQL5.6
  • 7. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7  Release  Candidate  Available!   8   Enhanced  InnoDB:  faster  online  &  bulk   load  operaNons   ReplicaNon  Improvements  (incl.  mulN-­‐ source,  mulN-­‐threaded  slaves...)   New  OpNmizer  Cost  Model:  greater  user   control  &  berer  query  performance   Performance  Schema  Improvements   MySQL  SYS  Schema   Performance  &  Scalability   Manageability   2  X  Faster  than  MySQL  5.6   Improved  Security:  safer  iniNalizaNon,   setup  &  management   NEW!  JSON  Support  (now  in  labs)   RC   And  many  more  new  features  and  enhancements...  hrp://mysqlserverteam.com/the-­‐mysql-­‐5-­‐7-­‐7-­‐release-­‐candidate-­‐is-­‐available/    
  • 8. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Improvements  Leading  up  to  RC1   •  InnoDB  for  berer  transacNonal  throughput,  availability,  IO     •  ReplicaDon  for  berer  scalability  and  availability   •  Fabric  for  high  availability  and  sharding   •  Performance  Schema  for  new  and  improved  performance  metrics   •  OpDmizer  for  berer  EXPLAINing,  parsing,  query  performance   •  GIS  with  naNve  InnoDB  spaNal  indexes  and  Boost.Geometry  integraNon   •  Security  with  easier,  safer  instance  iniNalizaNon,  setup  and  management   Available  Now!  dev.mysql.com/downloads/mysql/   9  
  • 9. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   0   100,000   200,000   300,000   400,000   500,000   600,000   700,000   8   16   32   64   128   256   512   1,024   Queries  per  Second   ConnecDons   MySQL  5.7:  Sysbench  Read  Only  (Point  Select)   MySQL  5.7   MySQL  5.6   MySQL  5.5   MySQL  5.7:  Sysbench:  Read  Only     Intel(R)  Xeon(R)  CPU  E7-­‐4860  x86_64   4  sockets  x  10  cores-­‐HT  (80  CPU  threads)   2.3  GHz,  512  GB  RAM   Oracle  Linux  6.5                      2x  Faster  than  MySQL  5.6          3x  Faster  than  MySQL  5.5   645,000  QPS  
  • 10. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  InnoDB,  NoSQL  With  Memcached     6x  Faster  than  MySQL  5.6   Thank  you,  Facebook                             0   200,000   400,000   600,000   800,000   1,000,000   1,200,000   8   16   32   64   128   256   512   1,024   Queries  per  Second   ConnecDons   MySQL  5.7  vs  5.6  -­‐  InnoDB  &  Memcached   MySQL  5.7   MySQL  5.6   1  Million  QPS   Intel(R)  Xeon(R)  CPU  E7-­‐4860  x86_64   4  sockets  x  10  cores-­‐HT  (80  CPU  threads)   2.3  GHz,  512  GB  RAM   Oracle  Linux  6.5  
  • 11. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7  Parser  &  OpNmizer  Refactoring   OpNmizer   Logical  transformaNons   Cost-­‐based  opNmizer:   Join  order  and  access  methods   Plan  refinement   Query  execuNon  plan   Query  execuNon   Parser   Resolver:   SemanNc  check,name  resoluNon   SQL    DML  query   Query  result   Storage  Engine   InnoDB   MyISAM   Improves  readability,   maintainability  and  stability     – Cleanly  separate  the  parsing,   opNmizing,  and  execuNon  stages   – Allows  for  easier  feature  addiNons,   with  lessened  risk  
  • 12. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Parser  Refactoring     •  Challenge:   – Overly  complex,  hard  to  add  new  syntax   •  SoluNon:   – Create  an  internal  parse  tree  borom-­‐up   – Create  an  AST  (Abstract  Syntax  Tree)  from  the  parse   tree  and  the    user's  context.     – Have  syntax  rules  that  are  more  precisely  defined   and  are  closer  to    the  SQL  standard.     – More  precise  error  messages   – Berer  support  for  larger  syntax  rules  in  the  future   Resolver Optimizer SE Lexical Scanner (lexer) GNU Bison-generated Parser (bottom-up parsing style) Contextualization Parser (new) Executor AST
  • 13. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  OpNmizer  and  Parser  refactoring   –  Improves  readability,  maintainability  and   stability     –  Cleanly  separate  the  parsing,  opNmizing,  and   execuNon  stages   –  Allows  for  easier  feature  addiNons,  with   lessened  risk   •  New  hint  framework   –  Easier  to  manage     –  With  support  for  addiNonal  new  hints     •  Improved  JSON  EXPLAIN   •  EXPLAIN  for  running  thread   •  New  Cost  based  OpNmizer   •  Generated  Columns   •  Support  for  InnoDB  based  internal  temp   tables     •  Berer  ONLY_FULL_GROUP_BY  mode   •  Berer  support  for  InnoDB  &  GIS   •  Many  specific  new  opNmizaNons     Queries  execute  faster,  while  using  less   CPU  and  disk  space!     MySQL  5.7:  OpNmizer  Improvements     14  
  • 14. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7  OpNmizer:  New  Cost  Model   •  More  accurate  cost  esNmates   – Berer  decisions  by  the  opNmizer  should  improve  query  performance   •  Adapt  to  new  hardware  architectures   – SSDs,  larger  memory  sizes,  improved  caches   •  More  maintainable  cost  model  implementaNon   – Avoid  hard  coded  “cost  constants”   – Refactoring  of  exisNng  cost  model  code   •  Configurable  and  tunable   – mysql.server_cost  and  mysql.engine_cost  tables   – API  for  determining  where  data  resides:  on  disk  or  in  cache     15  
  • 15. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Query  Rewrite  Plugin   •  New  pre  and  post  parse  query  rewrite  APIs     – Users  can  write  their  own  plug-­‐ins   •  Provides  a  post-­‐parse  query  plugin   – Rewrite  problemaNc  queries  without  the  need  to  make  applicaNon  changes   – Add  hints   – Modify  join  order   – Many  more  …   •  Improve  problemaNc  queries  from  ORMs,  third  party  apps,  etc   •  Eliminates  many  legacy  use  cases  for  proxies  
  • 16. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  OpNmizer  -­‐  Cost  Info  in  JSON  EXPLAIN     •  Expanded  JSON  EXPLAIN   – Now  includes  all  available  cost  info   – Used  for  Visual  Explain  In  MySQL  Workbench   17   { "query_block": { "select_id": 1, "cost_info": { "query_cost": "200.40" }, "table": { "table_name": "nicer_but_slower_film_list", "access_type": "ALL", "rows_examined_per_scan": 992, "rows_produced_per_join": 992, "filtered": 100, "cost_info": { "read_cost": "2.00", "eval_cost": "198.40", "prefix_cost": "200.40", "data_read_per_join": "852K" }, "used_columns": [ "FID", "title", "description", "category", "price", "length", "rating", "actors" ], ...
  • 17. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Memory  InstrumentaDon   •  Aggregates  staNsNcs  by   –  Type  of  memory  used   (caches,  internal  buffers,  …)   –  Thread/account/user/host   indirectly  performing  the   memory  operaNon     •  Arributes  include     –  Memory  used  (bytes)   –  OperaNon  counts   –  High/Low  Water  Marks     Statement  InstrumentaDon   •  Stored  Procedures     •  Stored  FuncNons   •  Prepared  Statements   •  TransacNons   AddiDonal  InformaDon   •  ReplicaNon  slave  status   •  MDL  lock  instrumentaNon   •  Status  and  variables  per   thread   •  Server  stage  tracking   •  Track  long  running  SQL   •  Improved  configuraNon   and  ease-­‐of-­‐use   •  All  while  reducing  total   footprint  and  overhead       MySQL  5.7:  Performance  Schema    
  • 18. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   HTTP  Plugin  for  MySQL   •  Server  Plugin  adds  HTTP(S)  endpoints  to  MySQL   •  Results  are  serialized  to  JSON  format  encoded  as  UTF8   •  Provides  3  choices  of  User  Endpoint  Types   – SQL   – CRUD  -­‐  Key-­‐Value   – JSON  -­‐  Document   •  For  more  details;   hrp://www.slideshare.net/nixnutz/hrp-­‐plugin-­‐for-­‐mysql-­‐39598656   19  
  • 19. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   HTTP  Plugin  for  MySQL The  SQL  endpoint  and  JSON   shell> curl --user basic_auth_user:basic_auth_passwd --url "http://127.0.0.1:8080/sql/db/SELECT+1” [ { "meta":[ {"type":8,"catalog":"def","database":"","table":"”, "org_table":"","column":"1","org_column":"","charset":63, "length":1,"flags":129,"decimals":0} ], "data":[ ["1"] ], "status":[{"server_status":2,"warning_count":0}] } ]
  • 20. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   HTTP  Plugin  for  MySQL  -­‐  IniNal  version   •  HTTP  Basic  AuthenNcaNon  for  SSL  and  Non-­‐SSL     •  No  query  cache  support     •  No  commercial  thread  pool  plugin  support     •  Not  all  MySQL  pluggable  auth  methods  supported     •  Unlimited:  all  SQL  statements     •  Unlimited:  everything  the  server  returns     21   shell> curl --user basic_auth_user:basic_auth_passwd --url "http://.../sql/db/SELECT+col_float+FROM+sql_types"
  • 21. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   HTTP  Plugin  for  MySQL GET  =  SELECT   shell> curl ... --url "http://../crud/db/sql_types/1" { "id" : "1", "col_char" : "CHAR(127)" , "col_null" : null, "col_date" : "2014-12-23", "col_decimal" : "123.45", "col_float" : "0.9999", "col_bigint" : "9223372036854775807" } shell> curl ... --url 'http://../crud/db/simple/' { "errno" : 2000, "error" : "The request URL must include a primary key value” }
  • 22. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Binlog  Events Formerly  known  as  Binlog  API •  C++  library  for  reading  Binary  log   •  Can  read  binary  log  from  server  or  from  file   – One  transport  for  each  kind  of  source   – Currently  have  file  and  mysql  transport   •  Decode  binary  log  events   – Contain  code  to  decode  the  events   •  Event  Driven  API   23
  • 23. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  JSON   •  OpNmized  for  read  intensive  workload     •  NaNve  JSON  data  types   – NaNve  internal  binary  format  for  efficient  processing  &  storage   •  Built-­‐in  JSON  funcNons   – Allowing  you  to  efficiently  store,  search,  update,  and  manipulate  Documents   •  JSON  Comparator   – Allows  for  easy  integraNon  of  Document  data  within  your  SQL  queries   •  Indexing  of  Documents  using  Generated  Columns     – InnoDB  supports  indexes  on  both  stored  and  virtual  Generated  Columns   – New  expression  analyzer  automaNcally  uses  the  best  “funcNonal”  index  available   24  
  • 24. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  JSON 25 mysql> CREATE TABLE employees (data JSON); Query OK, 0 rows affected (0,01 sec) mysql> INSERT INTO employees VALUES ('{"id": 1, "name": "Jane"}'); Query OK, 1 row affected (0,00 sec) mysql> INSERT INTO employees VALUES ('{"id": 2, "name": "Joe"}'); Query OK, 1 row affected (0,00 sec) mysql> select * from employees; +---------------------------+ | data | +---------------------------+ | {"id": 1, "name": "Jane"} | | {"id": 2, "name": "Joe"} | +---------------------------+ 2 rows in set (0,00 sec)
  • 25. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  JSON •  Document  ValidaNon   – on  insert  only     •  Efficient  Access   26 mysql> INSERT INTO employees VALUES ('some random text'); ERROR 3130 (22032): Invalid JSON text: "Expect a value here." at position 0 in value (or column) 'some random text'. mysql> select jsn_extract(data, '$.name') from employees; +-----------------------------+ | jsn_extract(data, '$.name') | +-----------------------------+ | "Jane" | | "Joe" | +-----------------------------+ 2 rows in set (0,00 sec)
  • 26. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  jsn_array() –  Build  a  JSON  array  from  list  of  expressions   •  jsn_object() –  Builds  JSON  objects  from  a  variable  length  list   of  key/value  pairs   •  jsn_insert() –  Adds  'missing'  data  to  JSON  documents   •  jsn_remove() –  Removes  arributes  from  exisNng  JSON   documents   •  jsn_set() –  Sets  arributes  within  JSON  documents   •  jsn_replace() –  Replaces  (but  doesn't  add)  arributes  within   JSON  documents   •  jsn_append() –  Adds  a  value  to  the  end  of  an  array   •  jsn_merge() –  Merges  two  arrays     •  jsn_extract() –  Returns  a  value  nested  inside  of  a  JSON   document   27   JSON  FuncNons  for  CreaNng  &  ManipulaNng    JSON  Documents  
  • 27. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  jsn_search() –  Search  for  values  within  JSON  documents  and   return  their  locaNons   •  jsn_contains() –  Checks  for  a  specific  element  and  value   •  jsn_contains_path() –  Determine  if  a  specific  element  is  present  in  a   document  in  a  specific  posiNon   •  jsn_valid() –  Check  if  document  is  a  valid  JSON  document   •  jsn_type() –  Find  the  type  of  a  value  within  a  document   •  jsn_keys() –  Returns  arrays  of  the  key  names  for  the  JSON   documents   •  jsn_length() –  Number  of  elements  in  JSON  document   •  jsn_depth() –  Level  of  nesNng  in  JSON  document   •  jsn_unquote() –  Helps  move  from  JSON  to  other  MySQL  types   •  jsn_quote() –  Helps  move  from  other  MySQL  types  to  JSON   28   Query  and  Search  JSON  FuncNons  
  • 28. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Generated  Columns   •  Virtual  Generated  Column   – Generated  on  the  fly  when  the  column  is  read   – Can  be  indexed   •  Stored  Generated  Column   – Generated  when  the  referenced  column  is  wriren  to   – Can  be  indexed   mysql> ALTER TABLE employees ADD name VARCHAR(100) GENERATED ALWAYS AS(jsn_extract(info, '$.name')) VIRTUAL; mysql> ALTER TABLE employees ADD INDEX(name); hrp://mysqlserverteam.com/   Digging  into  your  Documents   labs.mysql.com  
  • 29. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  Save  memory/storage  and  simplify   applicaNon   – Joins  between  Documents   •  Normalize  data  where  it  makes  sense   – Foreign  Keys  between  Documents   – Update  mulNple  Documents  in  a  single   atomic  transacNon   •  Leverage  all  of  your  data   – Read/write  Document  and  relaNonal   data  in  a  single  query/transacNon   •  20  years  of  product  maturity   30   So  Just  Another  Document  Store?  
  • 30. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  SYS  Schema     Helper  objects  for  DBAs,  Developers  and  OperaDons  staff   •  Helps  simplify  DBA  /  Ops  tasks        -­‐  Monitor  server  health,  user,  host  staNsNcs    -­‐  Spot,  diagnose,  and  tune  performance  issues   •   Easy  to  understand  views  with  insights  into        -­‐  IO  hot  spots,  Locking,  Costly  SQL  statements        -­‐  Schema,  table  and  index  staNsNcs       •  SYS  is  similar  to   -­‐  Oracle  V$  catalog  views   -­‐  Microso{  SQL  DMVs  (Dynamic  Mgmnt  Views)    
  • 31. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  Replaced  custom  code  with  Boost.Geometry   –  For  spaNal  calculaNons   –  For  spaNal  analysis     –  Enabling  full  OGC  compliance   –  We’re  also  Boost.Geometry  contributors!   •  InnoDB  R-­‐tree  based  spaNal  indexes   –  Full  ACID,  MVCC,  &  transacNonal  support   –  Index  records  contain  minimum  bounding  box   •  GeoHash   •  GeoJSON   •  Helper  funcNons  such  as  ST_Distance_Sphere()  and  ST_MakeEnvelope()   MySQL  5.7:  GIS  Improvements     32  
  • 32. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  NaNve  ParNNoning   –  Eliminates  previous  limitaNons   –  Eliminates  resource  usage  problems   –  Transportable  tablespace  support   •  NaNve  Full-­‐Text  Search     –  Including  full  CJK  support!   •  NaNve  SpaNal  Indexes   •  Transparent  page  compression     •  Support  for  32K  and  64K  pages   –  Use  with  transparent  page  compression  for   very  high  compression  raNos   •  General  TABLESPACE  support     –  Store  mulNple  tables  in  user  defined  shared   tablespaces     •  Support  for  MySQL  Group  ReplicaNon   –  High  priority  transacNons   •  Improved  support  for  cache  preloading   –  Load  your  horest  data  loaded  at  startup   •  Configurable  fill-­‐factor     –  Allows  for  improvements  in  storage  footprint   •  Improved  bulk-­‐data  load  performance   MySQL  5.7:  InnoDB  Improvements     33  
  • 33. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  InnoDB  –  Always  Online     •  Resize  the  InnoDB  Buffer  Pool  online     – Allows  DBAs  to  tune  the  buffer  size  without  any  downNme   – Adapt  in  real-­‐Nme  to  changes  in  database  usage  parerns   •  Separate  UNDO  tablespace   – With  automaNc  online  truncaNon     •  AddiNonal  Online  ALTER  TABLE  support   – Enlarge  VARCHAR,  Rename  Index   •  Dynamic  configuraNon   – Making  exisNng  se}ngs  dynamically  configurable   – As  a  design  principle  for  new  features  &  se}ngs   34  
  • 34. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  InnoDB  -­‐  Bulk  Load  for  Create  Index       •  Much  faster  INDEX  creaNon  and  bulk  loads     •  Sorted  index  builds,  done  from  the  borom-­‐up   – Improves  speed  by  increasing  locality  and  decreasing  node  spli}ng   •  Pages  are  compressed  only  when  full   •  New  innodb_fill_factor  opNon  controls  free  space  le{  in  each  page   •  Performance  results  show   – 2-­‐3x  performance  improvement  for  ADD/CREATE  INDEX  operaNons   •  Up  to  500x  improvement  with  larger  -­‐-­‐innodb_sort_buffer_size  values   – 2-­‐5%  improvement  for  standard  INSERT  operaNons     35  
  • 35. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  InnoDB  Temporary  Tables       •  New  separate  tablespace  for  temporary  tables   – Improved  CREATE/DROP  performance   – DDL  changes  are  transient,  which  eliminates  some  disk  IO   •  OpNmize  DML  operaNons   – No  REDO  logging,  no  change  buffering,  less  locking   •  New  intrinsic  temporary  tables   – Specialized  temporary  tables  with  tailored  ACID/MVCC  semanNcs   – Light  weight  and  ultra-­‐fast,  great  for  intermediate  query  execuNon  operaNons   •  InnoDB  as  default  storage  engine  for  disk  based  temp  tables   – OpNmizer  switched  from  MyISAM  to  InnoDB  (faster)  for  internal  temp  tables   36  
  • 36. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  InnoDB  Full-­‐Text  CJK  Support     •  Two  new  Full-­‐Text  Parser  plugins   •  N-­‐gram  parser  supports  Chinese,  Japanese,  &  Korean   – Supports  all  ideographic  languages  that  do  not  use  word  delimiters   •  MeCab  parser  supports  Japanese   – NaNve  Japanese  focused  language  support   •  Easily  customized     – Token  sizes,  stop  words,  …   •  Supports  advanced  searches     – BOOLEAN  MODE,  NATURAL  LANGUAGE  MODE,  with  Ranking  
  • 37. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   EAF:  InnoDB  Compression    Thank  you,  SanDisk  Fusion-­‐io     •  Transparent  Page  Level  Compression   – Happens  transparently  in  background  threads   – Managed  enNrely  within  the  IO  layer   – Uses  sparse  file  and  "hole  punching"  support  in  OS  kernels  and  File  Systems   •  Reduces  IO     – Improves  MySQL  performance   – Improves  storage  efficiency   – Reduces  write  cycles,  thus  increasing  SSD  lifespan   •  Applies  to  all  InnoDB  data,  including  the  system  tablespace  and  UNDO  logs   38   labs.mysql.com  
  • 38. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Syslog  Support  for  Linux/Unix  pla€orms       •  NaNve  support  for  syslog   •  Simple  opNon  to  (re)direct  log  output  to  naNve  syslog  facility   •  Start-­‐up  server  configuraNon  opNon   •  Dynamically  in  the  running  server   –   System  variable  log_syslog  (ON/OFF,  defaults  to  OFF).   Thank  you,  Simon  Mudd  at  booking.com  
  • 39. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Security  -­‐  EncrypNon,  Passwords,  InstallaNon     •  AES  256  EncrypNon     – Default  in  MySQL  5.7     •  Password  rotaNon  policies   – Can  be  set  globally,  and  at  the  user  level   •  Deployment:  enable  secure  unarended  install  by  default   – Random  password  set  on  install   – Remove  anonymous  accounts   – Deployment  without  test  account,  schema,  demo  files   •  Easier  instance  iniNalizaNon  and  setup:  mysqld  –iniNalize   •  New  detecNon  and  support  for  systemd     40  
  • 40. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  Security  –  SSL,  Proxy  User     •  SSL   – Enabled  by  default   – Auto-­‐detecNon  of  exisNng  keys  and  certs   – Auto  generaNon  of  keys  and  certs  when  needed     – New  helper  uNlity:  mysql_ssl_rsa_setup   •  Extended  Proxy  User  Support   – Added  Built-­‐in  AuthenNcaNon  Plugins  support  for  Proxy  Users   – Allows  mulNple  users  to  share  a  single  set  of  managed  privileges   41  
  • 41. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  GTID  enhancements   –  On-­‐line,  phased  deployment  of  GTIDs   –  Binary  logging  on  slave  now  opNonal   •  Enhanced  Semi-­‐synchronous  replicaNon   –  Write  guaranteed  to  be  received  by  slave   before  being  observed  by  clients  of  the  master   –  OpNon  to  wait  on  Acks  from  mulNple  slaves   •  MulN-­‐Source  ReplicaNon   –  Consolidate  updates  from  mulNple  Masters   into  one  Slave   •  Dynamic  slave  filters   •  8-­‐10x  Faster  slave  throughput   –  O{en  removes  slave  as  a  borleneck;  keep  pace   with  master  with  8+  slave  threads   –  OpNon  to  preserve  Commit  order   –  AutomaNc  slave  transacNon  retries     MySQL  5.7:  ReplicaNon  Improvements     42   0%# 50%# 100%# 150%# 200%# 250%# 1# 8# 24# 48# Slave#Threads# Slave#throughput#vs.#96#Thread#Master#
  • 42. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  MulN-­‐Source  ReplicaNon   – Consolidate  updates  from  mulNple   Masters  into  one  Slave   •  Consolidated  view  of  all  shards   •  More  flexible  topologies   •  Centralized  point  for  backups   – CompaNble  with  Semi-­‐Sync  ReplicaNon   &  enhanced  MTS   •  Performance  Schema  tables  for   monitoring  slave   •  Online  OperaNons:  Dynamic   ReplicaNon  Filters,  switch  master   MySQL  5.7:  ReplicaNon  Improvements   Binlog   Master  1   Binlog   Master  2   …   …   Binlog   Master  N   IO  1   Relay  1   Coordinator   W1   W2   …   WX   IO  2   Relay  2   Coordinator   W1   W2   …   WX   …   …   Coordinator   W1   W2   …   WX   IO  N   Relay  N   Coordinator   W1   W2   …   WX   Slave  
  • 43. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  MulN-­‐master  update  anywhere   –  Conflict  detecNon  and  resoluNon  (transacNon  rollback)   –  OpNmisNc  State  Machine  ReplicaNon   •  AutomaNc  group  membership  management  and  failure   detecNon   –  No  need  for  server  fail-­‐over   –  ElasNc  scale  out/in   –  No  single  point  of  failure   –  AutomaNc  reconfiguraNon   •  Well  integrated   –  InnoDB   –  GTID-­‐based  replicaNon   –  PERFORMANCE_SCHEMA   EAF:  Group  ReplicaNon     ApplicaNon   MySQL  Masters   ReplicaNon     Plugin   API   MySQL   Server   Group  Comms   labs.mysql.com  
  • 44. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Fabric  1.5   •  High  Availability   –  Server  monitoring  with  auto-­‐promoNon  and   transparent  applicaNon  failover   •  OpNonally  scale-­‐out  through  sharding   –  ApplicaNon  provides  shard  key   –  Range  or  Hash   –  Tools  for  resharding   –  Global  updates  &  tables   •  Fabric-­‐aware  connectors  rather  than   proxy:  Python,  Java,  PHP,  .NET,  C  (labs)   –  Lower  latency,  borleneck-­‐free   •  Server  provisioning  using  OpenStack  etc.   High  Availability  +  Sharding-­‐Based  Scale-­‐out   MySQL  Fabric   Connector   ApplicaNon   Read-­‐slaves   mappings   SQL   HA  group   Read-­‐slaves   HA  group   Connector   ApplicaNon   GA  
  • 45. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Workbench  6.3     •  Fabric     – Add  node,  browse,  view,  connect   •  Performance  Dashboard     – Performance  Schema  Reports  &  Graphs   •  Visual  Explain   •  GIS  Viewer   •  MigraNon     – New  Microso{  Access     – Microso{  SQL  Server,  Sybase,     PostgreSQL,  SQLite     GA   46   •  New  Easy  to  Use  Wizards  for   – Fast  Data  MigraNon   – Table<-­‐>File  Data  Import/Export  (like  Excel)   – SSL  CerNficate  CreaNon    
  • 46. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  on  Windows   •  MySQL  Installer  for  Windows   •  MySQL  Workbench   •  MySQL  MigraNon  Wizard   –  Microso{  SQL  Server   –  Microso{  Access   •  MySQL  for  Visual  Studio   •  MySQL  for  Excel   •  MySQL  NoNfier   •  MySQL  Connector/.Net   •  MySQL  Connector/ODBC  
  • 47. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Repos   •  DistribuNons   –  Oracle,  Red  Hat,  CentOS     –  Fedora   –  Ubuntu,  Debian   –  SUSE   •  Official  MySQL  Docker  Image  from  Oracle   •  Coming  Soon   –  Preconfigured  Containers   –  Improved  support  for  popular  DevOps   deployment  tools   hrps://dev.mysql.com/downloads/repo         MySQL  on  GitHub   •  Git  for  MySQL  Engineering   –  Fast,  flexible  and  great  for  a  distributed  team   –  Great  tooling     –  Large  and  vibrant  community   •  GitHub  for  MySQL  Community   –  Easy  and  fast  code  availability  to  the  community   and  to  downstream  projects   –  New  Pull  Requests     hrps://github.com/mysql         48  
  • 48. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  AddiNonal  Info     •  hrp://mysqlserverteam.com/whats-­‐new-­‐in-­‐mysql-­‐5-­‐7-­‐first-­‐release-­‐candidate/   •  hrp://mysqlserverteam.com/json-­‐labs-­‐release-­‐overview/   •  hrp://mysqlserverteam.com/?s=query+rewrite   •  hrp://mysqlserverteam.com/category/performance/opNmizer/   •  hrp://mysqlserverteam.com/category/innodb/   •  hrp://mysqlserverteam.com/category/mysql/performance-­‐schema/   •  hrp://mysqlserverteam.com/category/gis/   •  hrp://mysqlserverteam.com/category/full-­‐text-­‐search/   •  hrp://mysqlserverteam.com/category/dicNonary/   •  hrp://dev.mysql.com/doc/refman/5.7/en/   49