Ad Widget

Collapse

ORA-01595 - zabbix-1.5.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • exkg
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Mar 2007
    • 718

    #1

    ORA-01595 - zabbix-1.5.4

    Hi,


    We are trying the last version in SVN but we have some erros whith queries (+ 1k itens):

    SQL error [ORA-01795: maximum number of expressions in a list is 1000 ] in [SELECT DISTINCT g.graphid FROM graphs g, graphs_items gi, items i WHERE g.graphid=gi.graphid AND i.itemid=gi.itemid AND i.hostid NOT IN (11085,11102,11199,11243,11177,11190,11231,11283,1 1088,11236,11112,11082,0374,10376,10378,10380,1038 1,10382,10383,10385,10386,10387,10388,10390,10670, 10391,10392,10393,10394,10681,10395,10396,10398,10 715,10399,10400,...,10290,10289,10298,10285,10294, 10284,10287,10291,10280,10283,10286,10288,10292,10 696,10699,10693,10704,10766,10767,10768,10769,1077 0,11071,11072,10713,10705,10706,10707,10716,10708, 10709,10643,10644,10647,10648,10645,10646,10026,10 771,10772,10773,10774,10775,10776,10777,10778,1077 9)]


    SQL error [ORA-01795: maximum number of expressions in a list is 1000 ] in [SELECT i.itemid,i.nextcheck,i.description,i.key_,i.type,h .host,h.hostid FROM items i,hosts h WHERE i.status=0 AND i.type in (0,7,1,4,6,3,5,8,10) AND ((h.status=0 AND h.available != 2) or (h.status=0 AND h.available=2 AND h.disable_until<=1216725202)) AND i.hostid=h.hostid AND i.nextcheck<1216725202 AND i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') AND i.value_type not in (2) AND h.hostid in (11085,11102,11199,11243,11177,11190,11231,11283,1 1088,11236,11112,...10716,10708,10709,10643,10644, 10647,10648,10645,10646,10026,10771,10772,10773,10 774,10775,10776,10777,10778,10779) AND round(h.hostid/100000000000000) in (0) order by i.nextcheck,h.host,i.description,i.key_]


    SQL error [ORA-01795: maximum number of expressions in a list is 1000 ] in [SELECT DISTINCT h.hostid,h.host FROM hosts h WHERE h.hostid IN (11085,11102,11199,11243,11177,11190,11231,11283,1 1088,11236,11112,11082,11101,11133,11213,11225,111 34,11149,11247,11287,11164,11172,11278,11201,11096 ,11215,11086,11241,11099,11084,11098,11131,11136,1 1165,11203,...,10647,10648,10645,10646,10026,10771 ,10772,10773,10774,10775,10776,10777,10778,10779) AND round(h.hostid/100000000000000) in (0) ORDER BY h.host



    []s,
    Luciano
    --
    Luciano Alves
    www.zabbix.com
    Brazil | México | Argentina | Colômbia | Chile
    Zabbix Performance Tuning
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    If on server side, than it's a known problem and will be fixed soon.
    Zabbix | ex GUI developer

    Comment

    • exkg
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified Specialist
      • Mar 2007
      • 718

      #3
      Ora-01795

      Its in the GUI (web interface) ...



      []s,
      Luciano
      --
      Luciano Alves
      www.zabbix.com
      Brazil | México | Argentina | Colômbia | Chile
      Zabbix Performance Tuning

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Should be fixed in the latest code form SVN.
        Zabbix | ex GUI developer

        Comment

        • exkg
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified Specialist
          • Mar 2007
          • 718

          #5
          Thanks ... we'll try next week.
          --
          Luciano Alves
          www.zabbix.com
          Brazil | México | Argentina | Colômbia | Chile
          Zabbix Performance Tuning

          Comment

          • exkg
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified Specialist
            • Mar 2007
            • 718

            #6
            Its works fine now.

            But the version in SVN have (in queue.php):

            --- Line 84 ---
            ' AND i.key_ not in ("status","icmpping","icmppingsec","zabbix[log]") '.
            --- Line 84 ---

            Its not ok to query database, we change to:

            --- Line 84 ---
            " AND i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') ".
            --- Line 84 ---

            Now queue.php works.
            --
            Luciano Alves
            www.zabbix.com
            Brazil | México | Argentina | Colômbia | Chile
            Zabbix Performance Tuning

            Comment

            • Aly
              ZABBIX developer
              • May 2007
              • 1126

              #7
              Thank you, this one fixed too.
              Zabbix | ex GUI developer

              Comment

              • exkg
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified Specialist
                • Mar 2007
                • 718

                #8


                'We' are welcome ....
                --
                Luciano Alves
                www.zabbix.com
                Brazil | México | Argentina | Colômbia | Chile
                Zabbix Performance Tuning

                Comment

                Working...