Git Product home page Git Product logo

mysqlreport's People

Contributors

brotkrueml avatar froemken avatar georgringer avatar sfroemkenjw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mysqlreport's Issues

Invalid service "dashboard.widget.mysql-max-used-connections": class "TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidge t" does not exist.

Extension is not working under TYPO3 11.5.30, but composer.json "require" says different: "^11.5.23 || ^12.2.0"
Also the ext_emconf.php says, it should be compatible with TYPO3 11.5.23 and up: 'typo3' => '11.5.23-12.5.99'

After install backend breaks with this error message:

Invalid service "dashboard.widget.mysql-max-used-connections": class "TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget" does not exist.

The class TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget is not available under TYPO3 11.5

Error while EXPLAIN on TYPO3_9-5 branch

An exception occurred while executing 'EXPLAIN SELECT backend_layout, backend_layout_next_level, uid FROM pages WHERE (uid = ) AND ((pages.deleted = 0) AND (pages.hidden = 0) AND (pages.starttime <= 1667920020) AND ((pages.endtime = 0) OR (pages.endtime > 1667920020)))': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND ((pages.deleted = 0) AND (pages.hidden = 0) AND (pages.`starttim' at line 1

Missing uid value

round times

there is imo no benefit in having times like "0.0057640075683594" i suggest to round it to something like "0.005764". this improves also the readability

Incompatible queries with mysql only-full-group-by

The methods ProfileRepository::getProfileRecordsByUniqueIdentifier and ProfileRepository::findProfileRecordsForCall use incomplete groupby statements.
Furthermore the select part omit proper quoting.

For getProfileRecordsByUniqueIdentifier:

Quoting:
->add('select', 'crdate, unique_call_identifier, mode, SUM(duration) as duration, COUNT(*) as amount')
should be

->select('crdate', 'unique_call_identifier', 'mode')
->selectLiteral('SUM(duration) as duration', 'COUNT(*) as amount')

GroupBy must be:
->groupBy('unique_call_identifier', 'crdate' , 'mode')

For findProfileRecordsForCall:

Quoting:
->add('select', 'query_type, unique_call_identifier, SUM(duration) as duration, COUNT(*) as amount')
should be

->select('query_type', 'unique_call_identifier')
->selectLiteral('SUM(duration) as duration', 'COUNT(*) as amount')

GroupBy must be:
->groupBy('query_type', 'unique_call_identifier')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.