Home » RDBMS Server » Server Administration » error while creating materialized view...
error while creating materialized view... [message #158710] Tue, 14 February 2006 00:14 Go to next message
loveoracle
Messages: 41
Registered: February 2006
Location: Mumbai
Member

Dear All,

While creatind marerilized view I recived the following error;
-- script for creating materialized view:

CREATE MATERIALIZED VIEW report_view1
ENABLE QUERY REWRITE
AS
select distinct trim(wrk.bd_alcd) as ALCD,
       wrk.bd_typecd as TypeCD,
       wrk.bd_forcd as FORCD,
       wrk.bd_curcd as CURCD,
       wrk.bd_councd as COUNCD,
       wrk.bd_sectcd as SECCD,
       wrk.bd_matcd as MATCD,
       wrk.bd_c_u_cd as C_U_CD,
       wrk.bd_s_u_cd as S_U_CD,
       0 as Org_FCBal,
       0 as ORG_Bal,
       case
            when wrk.bd_type='O' then wrk.bd_fc_bal
            else 0
       end as Main_FCBal,
       case
            when wrk.bd_type='O' then (wrk.bd_fc_bal * nvl(exchg.cer_exchangerate, 1))
            else 0
       end as main_Bal,
       wrk.bd_rs_int,
       wrk.bd_rs_bal,
       wrk.bd_fc_int,
       wrk.bd_fc_bal,
       ' ' as TrackChangs
from ibs_work_bankdata wrk
     inner join ibs_org_bankdata org
          ON org.bd_yrqtr = wrk.bd_yrqtr
          and org.bd_bkcode=wrk.bd_bkcode
          and org.bd_forcd = wrk.bd_forcd
     left join ibs_currencymaster curmst
          on curmst.cur_code = wrk.bd_curcd
     left join ibs_currencyexchangerate exchg
        	on exchg.cer_currencyid = curmst.cur_id

-- error:

ORA-01114: IO error writing block to file 202 (block # 3143441)
ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file
OSD-04026: Invalid parameter passed. (OS 3143568)
ORA-01114: IO error writing block to file 202 (block # 3143441)
ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file
OSD-04026: Invalid parameter passed. (OS 3143568)

Plase tell me about this error.
Thanks In advance.
regards,
Prathamesh.
Re: error while creating materialized view... [message #158769 is a reply to message #158710] Tue, 14 February 2006 05:20 Go to previous message
salmansh
Messages: 14
Registered: June 2005
Location: Al-Khobar
Junior Member

Well lets take one error at a time and the first error it gives is according to the Error Manual:

ORA-01114: IO error writing block to file 202 (block # 3143441)
Cause: The device on which the file reside is probably offline. If the file is a temp file, then it is also possibale that the device has run out of space.This could happen because disk space of temporary file is not necessarily allocated at file creation time.
Action: Restore access to the device OR remove unnecessary files to free up space.

Check out the space on the disk the datafile resides on and try to free up some space.

HTH
Previous Topic: Creating new instance
Next Topic: Restriction on the length of the names of date-fields?
Goto Forum:
  


Current Time: Fri Sep 20 14:15:27 CDT 2024