• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Mango Demo License Trend Pointvalues Table(MYSQL)

    Mango Automation general Discussion
    3
    10
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KLN
      last edited by

      0_1555428575526_datalog.jpg

      I Installed Demo version of Mango, I added sample 3 nos of Bacnet Datapoints, Points show History, But I couldn't able to see Trend Graph.

      Database:MYSQL
      I couldn't able to see any data updation in mysql database on Pointvalues table

      Is it depends on License or Am I missing something?

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi KLN, welcome to the forum!

        You have the MangoNoSQL module installed. This module switches the storage for the point values from an SQL table to a faster and more scalable time-series oriented data storage. Using the SQL table, you would find the need to purge old values (and not just to keep the disk from running out) regularly. The NoSQL module also switches the storage engine for the Reports (not Excel Reports) module, and supplies a time-series JSON store associated to points via the API.

        1 Reply Last reply Reply Quote 0
        • K
          KLN
          last edited by

          Hi phildunlap,

          Thanks for your response, Is it possible to switch back from NOSQL to MYSQL, Because we have some requirement to customize some reports using PHP , to do that we need datas in MYSQL, is it possible to store datas on MYSQL pointvalues table?

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            Yes, you can simply uninstall the NoSQL module on the modules page. There is not a convenient method to transfer the existing data from the NoSQL database to the MySQL table (although there is for the other direction).

            However, I would implore you to consider using the REST API to query for point values from your PHP script instead of querying the database. The performance benefits and ability to store lots of data is generally significant, except for small projects. See https://help.infiniteautomation.com/mango-rest-api-authentication/ and https://help.infiniteautomation.com/explore-the-api

            1 Reply Last reply Reply Quote 0
            • K
              KLN
              last edited by

              Hi,

              Thanks for your reply, Let me follow your instruction and revert back.

              1 Reply Last reply Reply Quote 0
              • K
                KLN
                last edited by

                Hi phildunlap,

                Thanks for your input for changing pointvalue storage from No sql to MYSQL,we are familiar in MYSQL-PHP , and we have some customized reporting application developed and ready to use, so at present we need Bacnet data on MYSQL,
                Any way thanks for your input.

                1 Reply Last reply Reply Quote 0
                • CraigWebC
                  CraigWeb
                  last edited by

                  Hi KLN

                  Please, can you confirm that the NoSQL module has been deleted?
                  Please paste you ma.log file here when you start via cmd prompt.

                  1 Reply Last reply Reply Quote 0
                  • K
                    KLN
                    last edited by

                    Hi,
                    0_1555495209374_Mango No SQL.png

                    Please refer attachment, I highlighted in RED color in Search Box in Firefox, I couldn't able to find NoSQL Module, It is deleted.

                    1 Reply Last reply Reply Quote 0
                    • phildunlapP
                      phildunlap
                      last edited by

                      @CraigWeb , I'm not sure he was suggesting that it didn't work, but justifying using MySQL for the point value store.

                      I will tell you now KLN, should your table get into the millions of values (which actually depends on your system, for sure) you may begin to see the advantages of the NoSQL store! There are also statistics offered through the API, but that would be the same whether you did or didn't use the NoSQL database.

                      1 Reply Last reply Reply Quote 0
                      • K
                        KLN
                        last edited by

                        @CraigWeb
                        Every month 1st we rename existing table with suffix and create new pointvalues table. We did similar practice in older version of mango.

                        We will study and try noSQL.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post