ORA-22992: cannot use LOB Locators selected from the remote tables...
Oracle 10.2.1.0.4Solaris 10
We try to access a table in another database via a db_link.
The table we are trying to access has a LOB.
We get the following error: ora-22992: cannot use LOB Locators selected from the remote tables.
Is there a way to get around this? We need the data in the BLOB field.
Thank you.
See on metalink:
ORA-22992 has a workaround solution in 10 gr 2
DOC - ID: 436707.1
Werner
Tags: Database
Similar Questions
-
ORA-22992 cannot use LOB Locators selected remote tables
Hello.
I have a problem.
When I want to create a table select o sing a table a dblink, and the remote table has a clob field returns the error.
I'll fix it, using dblink. Is there a way to fix? export/tax free.
Thank you.
PD: 10 gr 2.Hello
Insert of canoe read you a remote via dblink database table when that table has a clob or blob column.If you must use inport / export option.
Use the Data Pump functionality in 10g. Then, you can export and import only your table without major issues.
Thank you
* If the answer is correct please mark.
-
Create the table in select * from the other table
DB: 11.2.0.2
How to create a table with structure only not empty the data that we do not generally create table in select * from... But the command will pull the data also. How to create without data?create table foo
in select * bar
where 1 = 0 -
Support for mandatory request - insert, select from the same table
Hi all
I need your help to write queries effectively.
Oracle Version: 10.2.0.3.0
OPERATING SYSTEM: UNIX
I have a METRICS_TBL that is mentioned below table.
CYCLE_DATE METRIC VALUE
08/17/2008 COST-TV 100
08/17/2008 COST-JOURNAL 50
08/17/2008 COST-POSTALMAIL 25
08/17/2008-PROD-TV 10
08/17/2008-PROD-JOURNAL 25
08/17/2008-PROD-POSTALMAIL 5
Any data above, I have to add (Insert into select METRICS_TBL METRICS_TBL) at the same table with the records as mentioned below.
2008-08-17 COSTPERPROD-TV 10
08/17/2008-COSTPERPROD-LOG 2
2008-08-17 COST PROD-POSTALMAIL 5
Basically, I need to calculate the cost per product for each category. Depending on the settings available, metric should also be changed as COSTPERPROD and values should be cost/prod under each category.
Can someone help me with the query.
Thank youSomething like this:
INSERT INTO metrics_tbl (cycle_date, metrics, value) SELECT cost.cycle_date , 'COSTPERPROD-'||cost.mtype ,cost.value / prod.value FROM ( select cycle_date,substr(metrics, 1, 4) mtype, substrmetrics,instr(metrics,'-')+1) mmetric where substr(metrics, 1, 4) = 'PROD' ) prod INNER JOIN ( select cycle_date,substr(metrics, 1, 4) mtype, substrmetrics,instr(metrics,'-')+1) mmetric where substr(metrics, 1, 4) = 'COST' ) cost on cost.cycle_date = prod.cycle_date and cost.mmetric = prod.mmetric
Ideally you would divide your METRICS column into two: one for the thing you're measuring (e.g. TV or NEWSPAPER) and the other for the metric (COST, PROD, COSTPERPROD etc.). That's what I did in the views online. Without it, it's kinda a mess and behave so, if the table becomes much more.
HTH
Nigel cordially
Edited by: nthomas on January 14, 2009 15:57 - small correction SQL
-
How to use refcursor type returned from the remote database in the local database
Can anyone say is how they use the refcursor use type returned from remote database in the local database using dblinks.See MOS ID 750126.1 doc ORA-24338 when trying to return a Refcursor over a database link.
-
Update, and select from the same table
Hello
I have this selection - I've tested and work
[code]
Select case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTBT of other DTF_REEW_201301.KTBT - CTF_REEW_KUM_201301.KTBT end as KTBT_ISO,
case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTZN of other DTF_REEW_201301.KTZN - CTF_REEW_KUM_201301.KTZN end as KTZN_ISO,
case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTAB of other DTF_REEW_201301.KTAB - CTF_REEW_KUM_201301.KTAB end as KTAB_ISO,
DTF_REEW_201301.brnrn, DTF_REEW_201301.ktat Of
reewcore. CTF_REEW_KUM_201301 CTF_REEW_KUM_201301, reewdq. DTF_REEW_201301 DTF_REEW_201301 where
(DTF_REEW_201301.BRNRN = CTF_REEW_KUM_201301.BRNRN and DTF_REEW_201301.KTAT = CTF_REEW_KUM_201301.KTAT) and CTF_REEW_KUM_201301.KTMO = (DTF_REEW_201301.KTMO - 1). [/ code]
With the result of KTBT_ISO, KTZN_ISO and KTAB_ISO I want to update the table 'reewdq. DTF_REEW_201301' - and this picture is in the select statement.
I think I've tried every update statement - but no update does not work.
I need something like this:
[code]
Update reewdq. DTF_REEW_201301 set t1 t1. KTBT_ISO =
(
Select case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTBT of other DTF_REEW_201301.KTBT - CTF_REEW_KUM_201301.KTBT end as KTBT_ISO Of
reewcore. CTF_REEW_KUM_201301 CTF_REEW_KUM_201301, reewdq. DTF_REEW_201301 DTF_REEW_201301 where
(DTF_REEW_201301.BRNRN = CTF_REEW_KUM_201301.BRNRN and DTF_REEW_201301.KTAT = CTF_REEW_KUM_201301.KTAT) and CTF_REEW_KUM_201301.KTMO = (DTF_REEW_201301.KTMO - 1). ),
T1. KTZN_ISO =
(
Select case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTZN of other DTF_REEW_201301.KTZN - CTF_REEW_KUM_201301.KTZN end as KTZN_ISO Of
reewcore. CTF_REEW_KUM_201301 CTF_REEW_KUM_201301, reewdq. DTF_REEW_201301 DTF_REEW_201301 where
(DTF_REEW_201301.BRNRN = CTF_REEW_KUM_201301.BRNRN and DTF_REEW_201301.KTAT = CTF_REEW_KUM_201301.KTAT) and CTF_REEW_KUM_201301.KTMO = (DTF_REEW_201301.KTMO - 1). ),
T1. KTAB_ISO =
(
Select case When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTAB of other DTF_REEW_201301.KTAB - CTF_REEW_KUM_201301.KTAB end as KTAB_ISO Of
reewcore. CTF_REEW_KUM_201301 CTF_REEW_KUM_201301, reewdq. DTF_REEW_201301 DTF_REEW_201301 where
(DTF_REEW_201301.BRNRN = CTF_REEW_KUM_201301.BRNRN and DTF_REEW_201301.KTAT = CTF_REEW_KUM_201301.KTAT) and CTF_REEW_KUM_201301.KTMO = (DTF_REEW_201301.KTMO - 1). )
[/ code]
But this isn´t of the labour code. Someone an idea please? Can someone help me please.
Best regards
Heidi
Use MERGE:
Fusion
in reewdq. DTF_REEW_201301 t1
a_l'_aide_de)
Select the case sensitive option
When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTBT
of other DTF_REEW_201301.KTBT - CTF_REEW_KUM_201301.KTBT
end as KTBT_ISO,
case
When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTZN
of other DTF_REEW_201301.KTZN - CTF_REEW_KUM_201301.KTZN
end as KTZN_ISO,
case
When DTF_REEW_201301.KTMO = 1 then DTF_REEW_201301.KTAB
of other DTF_REEW_201301.KTAB - CTF_REEW_KUM_201301.KTAB
end as KTAB_ISO,
reewdq. ROWID that RID
of reewcore. CTF_REEW_KUM_201301 CTF_REEW_KUM_201301,
reewdq. DTF_REEW_201301 DTF_REEW_201301
where DTF_REEW_201301.BRNRN = CTF_REEW_KUM_201301.BRNRN
and DTF_REEW_201301.KTAT = CTF_REEW_KUM_201301.KTAT
and CTF_REEW_KUM_201301.KTMO = DTF_REEW_201301.KTMO - 1
) t2
on)
T1. ROWID = t2.rid
)
When Fachhochschule
then
Update
the t1 value. KTBT_ISO = t2. KTBT_ISO,
T1. KTZN_ISO = t2. KTZN_ISO,
T1. KTAB_ISO = t2. KTAB_ISO
/
SY.
-
Disadvantages of the default tablespace using to store data from the partitioned table?
Can someone tell me, are there disadvantages, performance problems using default storage in oracle?
I not create any tablespace during the creation of the database, but all the data partitioned in a tablespace named 'USERS' default... I will continue using the same tablespce...? I'm storing the data in the table where the growth of the table will be great... it can contain millions of records...? It will produce no degradation of performance? Suggest me on this...Different storage areas for administration and easier maintenance. In some cases for performance reasons so different disks are representative to the database (fast and not so fast, different levels of raid...)
For example if you have several diagrams of database for different applications, you may want to separate schema objects to different storage spaces.
Or, for example, you want to keep in database read-write tablespaces and just only read. Read-write tablespaces with the data files will be on very fast disks, read only the cheaper and perhaps more slowly (not required). Again separate tablespaces makes this very easy thing to do.
Or you would like to keep separate indexes from tables and keep them in a different tablespace on the different mountpoint (disc). In this case probably better is to use ASM, but it's more than a reason to separate.And in your case-, it may be easier to manage if you create a new storage space for these new objects.
For example:
1 storage space for small tables
1 storage space for small index
1 storage space for large tables
1 storage space for large index
and so on. All depends on your particular architecture and database data growth and what you do with these data after a year, two years, three... -
ORA-01552: cannot use tablespac system system rollback segment
Hi all
Environment: database Production: Source
Database dev: target
11203 Version database.
Golden gate Version 11.1
Scheme of the Golden Gate: GGATE
Method of replication. DDL replication is ACTIVE
In my production database my Undo tablespace is corrupted. I changed the management to cancel the manual setting and rebounded from the DB and open editing mode. Then I deleted the undo tablespace data file using in offline mode. Then I opened the database.
SQL > alter database datafile ' / u01/app/oracle/oradata/db1/undotbs01.dbf' drop offline;
Database altered.
Issue.
Now, if I try to let drop the tablespace UNDOTBS1 undo or to create the new database of the undo tablespace throws me error as below:
SQL > drop tablespace undotbs1;
Drop tablespace undotbs1
*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-01552: cannot use system for non-system tablespace «GGATE» rollback segment
ORA-06512: at the level of the line 993
ORA-01552: cannot use system for non-system tablespace «GGATE» rollback segment
Here is the status of rollback segment.
SQL > select nom_segment, dba_rollback_segs State;
NOM_SEGMENT STATUS
------------------------------ ----------------
ONLINE SYSTEM
_SYSSMU10_2490256178$ IN OFFLINE MODE
_SYSSMU9_3593450615$ IN OFFLINE MODE
_SYSSMU8_1909280886$ IN OFFLINE MODE
_SYSSMU7_1924883037$ IN OFFLINE MODE
_SYSSMU6_2460248069$ IN OFFLINE MODE
_SYSSMU5_3787622316$ IN OFFLINE MODE
_SYSSMU4_1455318006$ IN OFFLINE MODE
_SYSSMU3_2210742642$ IN OFFLINE MODE
_SYSSMU2_4228238222$ IN OFFLINE MODE
_SYSSMU1_3138885392$ IN OFFLINE MODE
11 selected lines.
SQL > show Cancel parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
UNDO_MANAGEMENT string MANUAL
UNDO_RETENTION integer 900
undo_tablespace string UNDOTBS1
Please anyone suggest me how to manage this problem.
Kind regards
Rohit
Try this:
Conn / as sysdba
SQL > alter system set _system_trig_enabled = false;
SQL > alter trigger sys.cdc_alter_ctable_before DISABLE.
SQL > alter trigger sys.cdc_create_ctable_after DISABLE.
SQL > alter trigger sys.cdc_create_ctable_before DISABLE.
SQL > alter trigger sys.cdc_drop_ctable_before DISABLE.
create undo tablespace, you could do now:
SQL > create undo tablespace undotbs2 datafile 'XX/xX/XXX/XXX/undotbs2.dbf' size XM autoextend on;
SQL > alter system set undo_tablespace = undotbs2 scope = both;
allow them once again:
SQL > alter trigger sys.cdc_alter_ctable_before ENABLE;
SQL > alter trigger sys.cdc_create_ctable_after ENABLE;
SQL > alter trigger sys.cdc_create_ctable_before ENABLE;
SQL > alter trigger sys.cdc_drop_ctable_before ENABLE;
SQL > alter system set _system_trig_enabled = TRUE;
Restart the system.
-
ORA-01552: cannot use rollback for non-system tablespace system segment
I'm getting following error, according to a previous thread under request.
ORA-01552: cannot use rollback for non-system tablespace system segment
How can I get them online, I can get them online does this error?select SEGMENT_NAME, TABLESPACE_NAME, INITIAL_EXTENT,STATUS
from dba_rollback_segs SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT STATUS ------------------------------ ------------------------------ ---------------------- ---------------- SYSTEM SYSTEM 114688 ONLINE _SYSSMU1$ UNDO_TS 131072 OFFLINE _SYSSMU2$ UNDO_TS 131072 OFFLINE _SYSSMU3$ UNDO_TS 131072 OFFLINE _SYSSMU4$ UNDO_TS 131072 OFFLINE _SYSSMU5$ UNDO_TS 131072 OFFLINE _SYSSMU6$ UNDO_TS 131072 OFFLINE _SYSSMU7$ UNDO_TS 131072 OFFLINE _SYSSMU8$ UNDO_TS 131072 OFFLINE _SYSSMU9$ UNDO_TS 131072 OFFLINE _SYSSMU10$ UNDO_TS 131072 OFFLINE _SYSSMU11$ UNDO_TS 131072 OFFLINE _SYSSMU12$ UNDO_TS 131072 OFFLINE _SYSSMU13$ UNDO_TS 131072 OFFLINE _SYSSMU14$ UNDO_TS 131072 OFFLINE 15 rows selectedMaybe you should also mention that you make no effort to look for the error in the documentation online or anywhere else.
You get this when your database uses rollback segments, and you have spaces of multiple tables.
To be able to create spaces of multiple tables, you must first create a rollback segment in the system tablespace.That's why you get the error.
The resolution is clear.Unfortunately, 99.9 percent of all the people posting here refused to make any effort to resolve errors.
-----------
Sybrand Bakker
Senior Oracle DBA -
ORA-01552: cannot use no tablespace system rollback segment
Hello
When I try to create a table, I got the following error message.
ORA-01552: cannot use tablespace no system "USER" system rollback segment
Select nom_segment, nom_tablespace, initial_extent, status
of dba_rollback_segs;
NOM_SEGMENT NOM_TABLESPACE INITIAL_EXTENT STATUS
------------------------------ ------------------------------ ---------------------- ----------------
114688 ONLINE SYSTEM
_SYSSMU1$ UNDOTBS1 131072 OFFLINE
_SYSSMU2$ UNDOTBS1 131072 OFFLINE
_SYSSMU3$ UNDOTBS1 131072 OFFLINE
_SYSSMU4$ UNDOTBS1 131072 OFFLINE
_SYSSMU5$ UNDOTBS1 131072 OFFLINE
_SYSSMU6$ UNDOTBS1 131072 OFFLINE
_SYSSMU7$ UNDOTBS1 131072 OFFLINE
_SYSSMU8$ UNDOTBS1 131072 OFFLINE
_SYSSMU9$ UNDOTBS1 131072 OFFLINE
_SYSSMU10$ UNDOTBS1 131072 OFFLINE
11 selected lines
One advises will be useful, thanksMake sure that the return parameters in your database instance.
SEE THE PARAMETER UNDO
You should have UNDO_MANAGEMENT = "AUTO" and UNDO_TABLESPACE = 'UNDOTBS1.
Hemant K Collette
-
Cannot use any USB device after the upgrade from XP.
Hi, I guess that's an old problem, just my computer from MESH 6 to upgrade to Windows 7, Upgrade Advisor said that there was no problems. Now, I can't use any usb device and the mouse either. Tried evertything and am frustrated. IN XP, there is no problem at all. It must be a Windows 7 thing
RobinHi, I guess that's an old problem, just my computer from MESH 6 to upgrade to Windows 7, Upgrade Advisor said that there was no problems. Now, I can't use any usb device and the mouse either. Tried evertything and am frustrated. IN XP, there is no problem at all. It must be a Windows 7 thing
RobinWindows 7 handles USB devices very well.
Please describe your problem in more detail. Tell us what means "cannot use any usb device and the mouse either. Exactly how do you try? What happens when you try? If you get an error message, please quote verbatim.
-
Hello
I am facing a problem during the cloning of production TEST environment.
Please see the below given error:
' RMAN-04014: failed to start: ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST.
And I used the following script to retrieve.
==========================================================================================
------------------------------------------------------------------
VI initTEST.ora
* .db_name = 'TEST '.
* .db_unique_name = 'TEST '.
SQL > startup nomount
=============================
Auxiliary RMAN.
run
{
allocate auxiliary CHANNEL c1 device type disk;
allocate auxiliary CHANNEL c2 device type disk;
allocate auxiliary CHANNEL c3 device type disk;
allocate auxiliary CHANNEL c4 device type disk;
the value of newname for tempfile 1 to ' / testdata/R12/TEST/datafile/temp01.dbf';
the value of newname for tempfile 2 to ' / testdata/R12/TEST/datafile/temp02.dbf';
the value of newname for tempfile 3 to ' / testdata/R12/TEST/datafile/temp03.dbf';
the value of newname for tempfile 4 to ' / testdata/R12/TEST/datafile/temp04.dbf';
the value of newname for tempfile 5 to ' / testdata/R12/TEST/datafile/temp05.dbf';
data duplicated in the 'TEST' backup location ' / backup/PROD_BKP_01_Nov_15 / '.
SPFILE
Define db_name = 'TEST '.
Set db_unique_name = 'TEST '.
Set cluster_database = "false".
Set use_large_pages = 'false '.
Set remote_listener = "
Set local_listener = "
Set listener_networks = "
Set control_files='/testdata/R12/TEST/controlfile_TEST.ctl"
Set diagnostic_dest ='/ oracle/app /'
Set log_archive_dest = "/ testdata/R12/archive.
Set audit_file_dest='/oracle/app/product/11.1.0/db_1/rdbms/audit/"
Db_file_name_convert '+ DATA_P/PROD/DATAFILE', set ' / testdata/R12/TEST/datafile.
Set log_file_name_convert '+ DATA_P/PROD/ONLINELOG', ' / testdata/R12/TEST/datafile ', '+ RECO_P/PROD/ONLINELOG', ' / testdata/R12/TEST/datafile;
switch tempfile;
}
-----------------------------------------------------------------
Then please suggest a solution?
With thanks and greetings
Ngoyi
------------
This is what Oracle says:
ORA-16019: can't use string with LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST
Cause: One of the following events caused a mismatch:
(1) setting LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST was in use when the LOG_ARCHIVE_DEST_n specified (n = 1.. 31) or parameter DB_RECOVERY_FILE_DEST occurred during extraction of initialization parameters.
(2) LOG_ARCHIVE_DUPLEX_DEST or LOG_ARCHIVE_DEST parameter was used when an attempt is made to use an ALTER SYSTEM or ALTER SESSION command to set a value for the specified parameter LOG_ARCHIVE_DEST_n or DB_RECOVERY_FILE_DEST.
(3) a command ALTER SYSTEM ARCHIVE LOG START FOR was in effect when the specified parameter LOG_ARCHIVE_DEST_n met during extraction of initialization parameters.
(4) an ALTER SYSTEM ARCHIVE LOG START FOR order was in effect when an attempt is made to a command ALTER SYSTEM or ALTER SESSION allows you to set a value for the specified parameter LOG_ARCHIVE_DEST_n.
Action: Eliminate all inconsistent parameter definitions.
-
ORA-19838: cannot use this control file to open the database
Dear all,
While making RMAN cloning, we are facing problem,
SQL > alter database open resetlogs;
ALTER database open resetlogs
*
ERROR on line 1:
ORA-19838: cannot use this control file to open the database
Concerning
Villi Kumar
Dear all,
While checking the database,
Control the name of the database file is PROD
In the instance, database name is TEST.
So we took the PROD and edited control file trace file based on the TEST environment.
Then run the script published in the TEST database trace file.
Now we can open the database by using below command
ALTER database open resetlogs;
Concerning
Villi Kumar
-
I use a PC and I used LR3. I'm a newcomer to LR, so patient with me! My problem is related to the import function.
I have a photo library on an external hard drive. I've slowly been import previews of the photos selected from the library in my catalog, adding them during the import process - well. But now, I hit a problem. Another folder in my library contains several subfolders, each containing a number of photos (a mixture of RAW steals (naves) and jpg). I was importing found in my catalog each Subfile in turn, using the Add function, usually of the jpgs only from each Subfile. It works fine, until I reached a particular Subfile. For some reason when I try to import from it and select the secondary file as a Source, only the RAW (NEF) images appear in the preview pane (sorry, forgot the correct term for it!). I know that jpg files are in this auxiliary file on the external hard drive, because when I view its content in Windows, they are all there. But try as I can (choose the file under source, select the folder parent as a source, try to copy or move them, instead of adding them), nothing seems to work. Since they do not appear in the preview pane, I can't import them. It does appear that this a Subfile where the problem exists, but I don't see anything that is different from the others (names of files under all use the same structure - yyyy-mm-dd_custom name, and pictures in all subfolders are adopting the same denomination structure too - yyyy-mm-dd_sequential number_custom name.) NAVE/JPG. So what I am doing wrong? Any ideas please.
It is possible that the images in this particular subfolder were taken in your camera in RAW + JPEG. If so, you will need to go to preferences under the general tab and make sure the box "processing JPEG files files next to raw as separate photos" is checked.
However, assuming that this is the case, there is really no reason to import the JPEG file if you already have the RAW file.
-
ORA-12032: cannot use column rowid
Hello
8.1.7 I have the following error:
ORA-12032: cannot use the rowid column of materialized view log on 'chain '. "' string '.
The solution is:
Action: A full refresh is necessary before the next quick update. Add columns ROWID in the materialized view log, if necessary.
How can I do a complete refresh before the next fast refresh or ROWID columns add? How do I know whether the ROWID columns add?
Thank you.
PS:
my script is:
................
..............
START WITH TO_DATE (July 6, 2010 17:57:48 "," dd-mon-yyyy hh24:mi:ss')
NEXT SYSDATE + 1/24user522961 wrote:
Hello
8.1.7 I have the following error:
ORA-12032: cannot use the rowid column of materialized view log on 'chain '. "' string '.
The solution is:
Action: A full refresh is necessary before the next quick update. Add columns ROWID in the materialized view log, if necessary.How can I do a complete refresh before the next fast refresh or ROWID columns add? How do I know whether the ROWID columns add?
Thank you.run up
EXECUTE DBMS_MVIEW.REFRESH('MV_NAME','C');
Maybe you are looking for
-
Firefox build 17.0a2 when you start to customize, FF crashes
17.0a2 build Firefox hangs when you start to customize
-
I had a previous version of firefox and was happy,but when I got the message constantly to get firefox 5, I thought why not? Now I'm sorry that I said yes.
-
I get BSOD with the key USB TV Tuner PX1211E-1TVD
Hi all I just bought the model tuner TV USB Toshiba px1211e-1tvd and whenever I turn it on I get a blue screen error on my hp Pavilion dv6821el pc... dv6000 series. I tried to update the BIOS and the driver of my pc's display, but without results...
-
I do not understand and it makes me quite Mad... what should I do to remedy this?
-
Screen popup but keep interaction with stacked screen
Hello I'm developing an application in which I want to display a message to the user but I want to keep interacting with the screen. The idea is that, when the focus is on an image, appears the name of the image, but the user is able to move the focu