Hello,
I need help for :
IBM Informix Dynamic Server Version 14.10.FC8DE -- Updatable (RSS)we are testing an hdr/rss (updatable) configuration and we are getting systematic errors like this on rss :
229: Could not open or create a temporary file. 140: ISAM error: operation illegal on a DR Secondaryin the onconfig the
TEMPTAB_NOLOG=1 and
DBSPACETEMP=tmpdbs (onstat -d show dbspace with T flag)
Dbspaces
address number flags fchunk nchunks pgsize flags owner name
48a73028 1 0x4020801 1 1 2048 NL BA informix rootdbs
48bd4d60 2 0x4020801 2 1 16384 NL BA informix datadbs
4a361028 3 0x4020801 3 1 2048 NL BA informix logdbs
4a361268 4 0x2001 4 1 2048 N TBA informix tmpdbsour env. variables DBTEMP=/tmp and
DBSPACETEMP=tmpdbs are initialized
when executing a select with an IN clause informix throw error 229 ....eg : select * from twsarterp where serart in (select serart from twsartweb where numart=1))
QUERY: (OPTIMIZATION TIMESTAMP: 09-30-2022 17:34:22)
------
select * from twsarterp where serart in (select serart from twsartweb where numart=1)
Estimated Cost: 2
Estimated # of Rows Returned: 1
1) wss.twsarterp: INDEX PATH
(1) Index Name: wss.i00_twsarterp
Index Keys: serart (Serial, fragments: ALL)
Lower Index Filter: wss.twsarterp.serart = ANY <subquery>
Subquery:
---------
Estimated Cost: 1
Estimated # of Rows Returned: 1
1) wss.twsartweb: INDEX PATH
(1) Index Name: wss.i01_twsartweb
Index Keys: numart serart (Key-Only) (Serial, fragments: ALL)
Lower Index Filter: wss.twsartweb.numart = 1
Query statistics:
-----------------
Table map :
----------------------------
Internal name Table name
----------------------------
t1 twsarterp
type table rows_prod est_rows rows_scan time est_cost
-------------------------------------------------------------------
scan t1 0 1 0 00:00.00 2
Subquery statistics:
--------------------
Table map :
----------------------------
Internal name Table name
----------------------------
t1 twsartweb
type table rows_prod est_rows rows_scan time est_cost
-------------------------------------------------------------------
scan t1 0 1 0 00:00.00 1
type rows_sort est_rows rows_cons time
-------------------------------------------------
sort 0 0 0 00:00.00
when executing a select with an ORDER BY CLAUSE no error ....
eg : select * from twsarterp order by untweb2,libfra
QUERY: (OPTIMIZATION TIMESTAMP: 09-30-2022 17:30:56)
------
select * from twsarterp order by untweb2,libfra
Estimated Cost: 24003
Estimated # of Rows Returned: 45455
Temporary Files Required For: Order By1) wss.twsarterp: SEQUENTIAL SCAN
Thanks in advance
Benjamin
------------------------------
Garcia Benjamin
------------------------------
#Informix