Hi,
Scenario is
table xyz should be copied from database2 to database1 with some filter condition.Right now there is no table present in database1 and i have a database link to database2 from database1.What would be the command look like.
From database - database2
table - xyz
To Database - database1(from where i have to issue the copy command)
- no xyz table
- have db link to database2
we were using create table xyy as select * from xyz@link where condition and it started failing from y'day.We have enough space in temp and the default tablespace.
DROP TABLE rmt_na_nc_component
/
CREATE TABLE rmt_na_nc_component NOLOGGING
AS
SELECT * FROM ncsystem.nc_component@tscensusam_data
WHERE isdeleted IS NULL
/
-------------------------------
The number of record in that table is 6.4 million.
From yesterday this script started giving problem. Following is the problem
-----------------------------------
Creating Table RMT_NA_NC_COMPONENT
WHERE isdeleted IS NULL
*
ERROR at line 4=
ORA-01652= unable to extend temp segment by in tablespace
ORA-02063= preceding line from TSCENSUSAM_DATA
----------------------------------------------
From metalink
ORA-01652: unable to extend temp segment by %s in tablespace %s Cause: Failed to allocate an extent for temp segment in tablespace.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or
more files to the tablespace indicated or create the object in other tablespace.
Bookmarks