Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter SQL History Statistics

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter SQL History Statistics

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Scrounger last edited by

      @Scrounger

      coole idee

      • mysql
      • keine warnungen oder fehler
      • datenpunkte sind gefüllt
      1 Reply Last reply Reply Quote 0
      • Scrounger
        Scrounger Developer @Latzi last edited by

        @Latzi sagte in Test Adapter SQL History Statistics:

        schon installiert, warnings kommen noch

        Hast du bei deiner MariaDb die InnoDb funktion nicht aktiviert?

        Latzi 1 Reply Last reply Reply Quote 0
        • Latzi
          Latzi @Scrounger last edited by

          @Scrounger sagte in Test Adapter SQL History Statistics:

          @Latzi sagte in Test Adapter SQL History Statistics:

          schon installiert, warnings kommen noch

          Hast du bei deiner MariaDb die InnoDb funktion nicht aktiviert?

          Nein

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Latzi last edited by Glasfaser

            @Latzi

            Nur als Hinweis , setze global max_connections höher als vorgegeben .
            Habe mich auch letzten bei meiner Synology MariaDB/SQL ausgesperrt ..

            set global max_connections = 200;
            

            Meldung in ioBroker : mysqladmin flush-hosts

            Latzi 1 Reply Last reply Reply Quote 1
            • Latzi
              Latzi @Glasfaser last edited by

              @Glasfaser
              wo mach ich das (geht das direkt in MariaDB)?

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Latzi last edited by

                @Latzi

                in der Konsole phpMyAdmin .. ganz unten

                1.JPG

                oder als Festeintrag in der Config ( /etc/mysql )

                2.JPG

                Latzi 1 Reply Last reply Reply Quote 1
                • Latzi
                  Latzi @Glasfaser last edited by

                  @Glasfaser
                  Ahhh, vielen Dank, wieder was gelernt (ist mir noch nie aufgefallen)! 👏

                  Scrounger 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Scrounger last edited by

                    @Scrounger sagte in Test Adapter SQL History Statistics:

                    @Latzi sagte in Test Adapter SQL History Statistics:
                    Und hier ist erklärt was die einzelnen Systemdaten ausssagen:
                    http://blog.monyog.com/top-performance-metrics-monitor-mysql-connections-buffer-pool-usage/

                    Ich würde den Link oben anheften und auf den Eintrag verweisen !?

                    1 Reply Last reply Reply Quote 0
                    • Scrounger
                      Scrounger Developer @Latzi last edited by

                      @Latzi , @Glasfaser

                      max connections gibts in der nächsten Version dann auch als info, also was die höchste Anzahl war seit dem DB läuft:
                      dd025aec-de5d-4f62-a0d1-35f3b5becc4b-grafik.png

                      @Glasfaser sagte in Test Adapter SQL History Statistics:

                      Ich würde den Link oben anheften und auf den Eintrag verweisen !?

                      Ist schon geplant wenn ich die Doku nachziehe.

                      Scrounger 1 Reply Last reply Reply Quote 1
                      • Scrounger
                        Scrounger Developer @Scrounger last edited by

                        Version 0.2.0 (2020-04-25)

                        • system statistics added
                        • adapter settings added
                        • translation added
                        • option to reset session statistics every day added
                        • sum of not used rows in iob database added

                        Der Adapter sollte davor vollständig gelöscht werden, da ich einiges an der struktur geändert habe.
                        Diese Version wird es auch demnächst im latest geben.

                        Latzi 1 Reply Last reply Reply Quote 0
                        • Latzi
                          Latzi @Scrounger last edited by Latzi

                          @Scrounger sagte in Test Adapter SQL History Statistics:

                          Version 0.2.0 (2020-04-25)

                          Hi, neue Version läuft (ich bekomme auch keine warnings mehr bezüglich innodb), bei jedem Adapterstart (nicht nur beim Erststart) wird folgendes gemeldet:

                          2020-04-25 13:14:57.322 - info: host.Pi4-Server instance system.adapter.sqlstatistics.0 started with pid 32510
                          2020-04-25 13:14:59.123 - info: sqlstatistics.0 (32510) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.sqlstatistics, node: v10.19.0
                          2020-04-25 13:14:59.202 - info: sqlstatistics.0 (32510) connected with 'sql.0' instance.
                          2020-04-25 13:14:59.327 - info: sqlstatistics.0 (32510) updating avaiable datapoint infos for database provider 'mysql'...
                          2020-04-25 13:14:59.431 - error: sqlstatistics.0 (32510) [mysql] list of available system / session infos is null. Please report this issue to the developer!
                          2020-04-25 13:14:59.557 - error: sqlstatistics.0 (32510) [mysql] list of client is null. Please report this issue to the developer!
                          2020-04-25 13:14:59.569 - info: sqlstatistics.0 (32510) Successful updating avaiable datapoint infos!
                          2020-04-25 13:14:59.570 - info: sqlstatistics.0 (32510) connected with 'sql.0' instance.
                          2020-04-25 13:14:59.625 - info: sqlstatistics.0 (32510) updating system statistics for database provider 'mysql'...
                          2020-04-25 13:14:59.635 - error: sqlstatistics.0 (32510) [mysql] system statistics is null. Please report this issue to the developer!
                          2020-04-25 13:14:59.635 - info: sqlstatistics.0 (32510) updating session statistics for database provider 'mysql'...
                          2020-04-25 13:14:59.645 - error: sqlstatistics.0 (32510) [mysql] session statistics is null. Please report this issue to the developer!
                          2020-04-25 13:14:59.647 - info: sqlstatistics.0 (32510) updating client statistics for database provider 'mysql'...
                          2020-04-25 13:14:59.664 - error: sqlstatistics.0 (32510) [mysql] client statistics is null. Please report this issue to the developer!
                          2020-04-25 13:14:59.668 - info: sqlstatistics.0 (32510) connected with 'sql.0' instance.
                          2020-04-25 13:14:59.687 - info: sqlstatistics.0 (32510) updating statistics for database provider 'mysql'...
                          

                          Muss ich bei den Einstellungen etwas angeben? Derzeit hab ich keine weiteren Änderungen vorgenommen (auch nicht in den "neuen" Reitern Blacklist, Datenpunke,..)?

                          EDIT: Meldungen kommen jedesmal, wenn die Abfrage läuft

                          1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Scrounger last edited by

                            @Scrounger

                            habe diese meldungen - muss ich was machen ?

                            sqlstatistics.0	2020-05-02 11:42:31.528	warn	(14449) [updateDatabaseStatistic] database: 'hilde-pass', table: 'kenn' rowsCount is 'null'
                            sqlstatistics.0	2020-05-02 11:42:31.396	info	(14449) updating statistics for database provider 'mysql'...
                            sqlstatistics.0	2020-05-02 11:42:31.354	info	(14449) connected with 'sql.0' instance.
                            sqlstatistics.0	2020-05-02 11:42:31.344	error	(14449) [mysql] client statistics is []. Please report this issue to the developer!
                            sqlstatistics.0	2020-05-02 11:42:31.329	info	(14449) updating client statistics for database provider 'mysql'...
                            sqlstatistics.0	2020-05-02 11:42:31.328	info	(14449) Successful updating session statistics!
                            sqlstatistics.0	2020-05-02 11:42:31.249	info	(14449) updating session statistics for database provider 'mysql'...
                            
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            895
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            adapter history mssql mysql postgresql sql statistic adapter
                            4
                            20
                            1012
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo