Ad Widget

Collapse

Select * on database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cviper40
    Junior Member
    • Oct 2011
    • 5

    #1

    Select * on database

    Greetings.

    I'm noted on mysql slow log, the following:

    # Query_time: 1552.967353 Lock_time: 0.000086 Rows_sent: 383996307 Rows_examined: 383996307 Rows_affected: 0 Rows_read: 383996307
    # Bytes_sent: 11252070774 Tmp_tables: 0 Tmp_disk_tables: 0 Tmp_table_sizes: 0
    # InnoDB_trx_id: 41DEA35
    use zabbix;
    SET timestamp=1319756172;
    SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM `history`;


    The same query (select * from XXX) repeat from histoy_uint, trends, trends_uint, history_log.

    Anybody knows if this querys corresponds with housekeeper process ?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I am pretty sure such queries does not come from Zabbix software.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • cviper40
      Junior Member
      • Oct 2011
      • 5

      #3
      Thanks a lot.
      Anybody know how to trace this query ?

      How can I know the origin of this query ?

      Thanks a lot.

      Comment

      • walterheck
        Senior Member
        • Jul 2009
        • 153

        #4
        I think you need to turn that question around: what kind of software do you have that is aware of zabbix? It couldn't be too much I hope? Do you have any patches against zabbix frontend or server binaries?

        Also, it's not waterproof, but you could try checking the show processlist of your mysql server to see if anything out of the ordinary shows up. I'd hope that whatever this is doesn't use zabbix server creds? Another (much more nasty) way to go is to change the password for zabbix server mysql user and only change the credentials in your zabbix_serverd.conf.

        Happy hunting
        Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

        Comment

        Working...