Skip to content

TravisCI: slow query on MySQL during applying migrations #632

Closed as not planned
@php-coder

Description

@php-coder
2017-09-04 17:52:29.974  INFO 16812 --- [ootstrap.main()] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7a61206e: startup date [Mon Sep 04 17:52:24 UTC 2017]; root of context hierarchy
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:32.806  WARN 16812 --- [ootstrap.main()] liquibase                                : modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-09-04 17:52:33.713  INFO 16812 --- [ootstrap.main()] MySQL                                    : SLOW QUERY created: Mon Sep 04 17:52:33 UTC 2017 duration: 551 connection: 40 statement: 108 resultset: 0 message: Slow query (exceeded 500 ms, duration: 551 ms):INSERT INTO mystamps.DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('create-user-coder', 'php-coder', 'classpath:/liquibase/initial-state.xml', NOW(), 19, '7:da1bd6f4617687ae13c85de8d4df570a', 'sqlFile', '', 'EXECUTED', 'test-data', NULL, '3.5.3', '4547552647')
2017-09-04 17:52:33.731  WARN 16812 --- [ootstrap.main()] MySQL                                    : Slow query explain results for 'INSERT INTO mystamps.DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('create-user-coder', 'php-coder', 'classpath:/liquibase/initial-state.xml', NOW(), 19, '7:da1bd6f4617687ae13c85de8d4df570a', 'sqlFile', '', 'EXECUTED', 'test-data', NULL, '3.5.3', '4547552647')' :
*************************** 1. row ***************************
           id: 1
  select_type: SIMPLE
        table: NULL
         type: NULL
possible_keys: NULL
          key: NULL
      key_len: NULL
          ref: NULL
         rows: NULL
        Extra: No tables used
2017-09-04 17:52:36.713  INFO 16812 --- [ootstrap.main()] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
2017-09-04 17:52:36.741  INFO 16812 --- [ootstrap.main()] application                              : Initializing Spring FrameworkServlet 'dispatcherServlet'
2017-09-04 17:52:36.741  INFO 16812 --- [ootstrap.main()] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2017-09-04 17:52:36.756  INFO 16812 --- [ootstrap.main()] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 15 ms

Example build log: https://travis-ci.org/php-coder/mystamps/jobs/271780074

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions