Ad Widget

Collapse

Error ORA-01795

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

    #1

    Error ORA-01795

    Hi,


    We have this error while trying to access 'Configuration/Graphs':

    # ociexecute(): OCIStmtExecute: ORA-01795: maximum number of expressions in a list is 1000 [/srv/www/htdocs/zabbix-1.5.3/include/db.inc.php:458]
    # SQL error [ORA-01795: maximum number of expressions in a list is 1000 ] in [SELECT DISTINCT g.* FROM graphs g, graphs_items gi,items i WHERE g.graphid IN (78,91,83,22,25,30,34,<... MORE THAN 1K IDs HERE... >,3018,3015,3186,3029,3419,3242,3252,3483,3486) AND gi.graphid=g.graphid AND i.itemid=gi.itemid AND i.hostid=10280 ORDER BY g.name ASC,g.graphid]


    Oracle foruns talk about a limit (1000 statements) in a where clause. Some workaround ?
    --
    Luciano Alves
    www.zabbix.com
    Brazil | México | Argentina | Colômbia | Chile
    Zabbix Performance Tuning
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    There is separated thread for BETA releases!

    P.S. This is a known problem and already fixed in SVN.
    Zabbix | ex GUI developer

    Comment

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

      #3
      Tanks ....
      --
      Luciano Alves
      www.zabbix.com
      Brazil | México | Argentina | Colômbia | Chile
      Zabbix Performance Tuning

      Comment

      Working...