ORA-29874: caution in the performance of routine ODCIINDEXALTER
Hello
I'm on Oracle 11.2.0.3
[code]
drop table test;
create table test of xmltype.
Insert in the test
values (')
< employee
" xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "xsi: noNamespaceSchemaLocation =" "> ".
< location >
< joiningDate id = "on site" >
2012 06-18 of < hireDate > < / hireDate >
< / joiningDate >
< joiningDate id = "offshore" >
2011 07-8 < hireDate > < / hireDate >
< / joiningDate >
< / location >
(< / employee > ');
commit;
exec ('myprop') DBMS_XMLINDEX.dropParameter;
CREATE INDEX test_xml_index ON test (OBJECT_VALUE)
INDEXTYPE IS XDB. PARAMETERS XMLIndex ("test_dates_tab WAY of TABLE");
BEGIN
() DBMS_XMLINDEX.registerParameter
"myprop",.
' ADD_GROUP GROUP test_dates
XMLTable test_dates_tab "/ employee"
XMLNAMESPACES ("http://www.w3.org/2001/XMLSchema-instance" AS "xsi")
COLUMNS on the spot date PATH ".//*[@id="onsite"]/hiredate/text ()"
');
END;
/
ALTER INDEX SETTINGS ('myprop PARAM') test_xml_index;
[/ code]
When I run the alter index below I get the error.
I'm following the documentation to the Indexation of the XMLType data example 6-20
[code]
SQL > test_xml_index ALTER INDEX SETTINGS ('myprop PARAM');
ALTER INDEX SETTINGS ('myprop PARAM') test_xml_index
*
ERROR on line 1:
ORA-29874: caution in the performance of routine ODCIINDEXALTER
[/ code]
ORA-29960: line 1, ORA-02000: lack of keyword
Hello
The example you're referring to creates an index informal first, and then add a structured component.
Unless it's really what you want to do, simply create a structured index directly:
CREATE INDEX test_xml_index ON test (OBJECT_VALUE)
INDEXTYPE IS XDB. XMLIndex SETTINGS (q'~)
Test_dates_tab XMLTable ' / employees '
COLUMNS on the spot date PATH 'location/joiningDate[@id="onsite"]/hireDate '.
~'
);
If you want to use two components, and then specify a different XMLTABLE name of the path table.
See my response here for more tips:
Re: oracle xml db looking to extract the date year
Tags: Database
Similar Questions
-
Gurus,
EBS: R12.1.2 (Linux OS)
Database: 11.2.0.3 (HP UX Itanium operating system)
I am getting error in autoconfig with jtfictx.sh. I am cloning PROD to QA. Usually, I use RMAN duplicate to clone the database and then the System Application files are copied. I did this method repeatedly (for example 25 times).
This iteration after the recovery of the database, I have run the autoconfig RDBMS that completed successfully. So I ran the autoconfig on the simultaneous server manager first and received the error below. There is no change to my usual No.
The execution of script in InstantiateFile:
/ebs02/Oracle/inst/apps/SID_servername/admin/install/jtfictx.sh
script gave:
****************************************************
jtfictx.sh started 8 Sun Sep 01:04:11 CDT 2013
SQL * more: version 10.1.0.5.0 - Production on Sun Sep 8 01:04:11 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter the value 1: enter the value 2: enter the value 3: connected.
DECLARE
*
ERROR on line 1:
ORA-29874: caution in the performance of routine ODCIINDEXALTER
ORA-29960: line 1,
DRG-10595: ALTER INDEX JTF_AMV_ITEMS_URL_CTX failed
DRG-11422: Linguistics initialization failed
DRG-11446: provided the knowledge base file
/U01/Oracle/orahome/11.2.0/ctx/data/enlx/droldUS.dat not installed
ORA-06512: at "SYS." DBMS_SQL", line 1199
ORA-06512: at line 96
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
jtfictx.sh out with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
I usually save the autoconfig / context file before the refreshment of the EBS files from PROD. The previous was refreshed 2 months ago and he succeeded. There is no change on the ORACLE_HOME such database shown in the error.
I see that someone asked a similar error in the forums and Hussein has recommended some Metalink Note. I have mentioned that but so far without success. Please let me know if anyone faced similar problem and how to solve?
Notes relates:
'Jtfictx.sh' failed during the automatic configuration on the Application tier, ORA-29874, DRG-10595 (Doc ID 1271186.1()
Autoconfig failed on Apps Tier "jtfictx.sh INSTE8_PRF". Manually running "jtfictx.sh" down "DRG-10758: the index owner does not have the privilege" (Doc ID 1357760.1()
Several Scripts failing with A ORA-29855 running ODCIINDEXCREATE Routine during 12.1.1 update (u6678700.drv) (Doc ID 1286033.1()
11i: Autoconfig fails on the Application tier by running jtfictx.sh (Doc ID 396174.1()
Thank you
Josiane Vaidiyan
The culprit for the number is the CTXSTS. DEFAULT_LEXER. YES attribute INDEX_THEMES was made.
Solution:
(1) connect to the ctxsys database and run exec ctx_ddl.set_attribute ('DEFAULT_LEXER', 'INDEX_THEMES', 'no');
(2) now remove and re-create the index as follows:
$ cd $JTF_TOP/115/patch/sql /.
$ sqlplus apps/apps @jtfiimt.sql JTF JTF NULL NULL
Note: The 'jtfiaibu.sql' script is used to remove and recreate the "JTF_AMV_ITEMS_URL_CTX Intermedia text index."
$ cd $JTF_TOP/115/patch/sql /.
$ sqlplus apps/apps @jtfiaibu.sql JTF JTF APPSReference to part 2: 'Jtfictx.sh' failed during Autoconfig on Application layer, ORA-29874, DRG-10595 (Doc ID 1271186.1)
Thank you
Josiane Vaidiyan
-
So, I am creating a XMLIndex in Oracle 11.2.0.3.0 by following the instructions here:
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e16659/xdb_indexing.htm#BCGJCEAF
I have a table defined as follows:
I ran the following to try to create a structured index:CREATE TABLE book_master OF XMLTYPE XMLTYPE STORE AS SECUREFILE BINARY XML;
When I run the present, I have the following error:CREATE INDEX my_xmlindex_ix ON book_master (OBJECT_VALUE) INDEXTYPE IS XDB.XMLIndex PARAMETERS ('PATH TABLE path_tab'); BEGIN DBMS_XMLINDEX.registerParameter( 'myparam', 'ADD_GROUP GROUP gdm_record XMLTable gdm_idx_tab XmlNamespaces(''http://www.mrbook.com/BookFormat/PropertyLicHdr'' AS "plh", ''http://www.mrbrook.com/InventoryData'' AS "invtdata", ''http://www.mrbook.com/BookFormat/Identity'' AS "idty", ''http://www.mrbook.com/BookFormat/LiteraryCloneReferences'' AS "lclone", ''http://www.mrbook.com/TradeInfo'' AS "trd", ''http://www.mrbook.com/'' AS "book"), ''/invtdata:inventory'' COLUMNS book_id RAW(16) PATH ''@BOOK_ID'', title_txt VARCHAR(64) PATH ''plh:LIC/plh:TITLE'', subj_txt VARCHAR(64) PATH ''plh:LIC/plh:SUBJ'', target_mkt NUMBER(13,0) PATH ''plh:LIC/plh:MKT_NBR'', catg NUMBER(7,0) PATH ''idty:BOOK_INFO/idty:CATG'', lang_code NUMBER(7,0) PATH ''idty:BOOK_INFO/idty:lang_code'', out_of_stock_reas NUMBER(7,0) PATH ''/idty:BOOK_INFO/idty:OUT_OF_STOCK_REAS'', sucsr_title VARCHAR2(64) PATH ''idty:BOOK_INFO/idty:SUCSR_TITLE'', sucsr_subj_txt VARHCAR2(64) PATH ''idty:BOOK_INFO/idty:SUCSR_SUBJ_TXT'', orig_copy_ref VARCHAR2(64) PATH ''lclone:ORIG_COPY_REF/lclone:REF[child::lclone:REF_TYP_CD="160"]/lclone:TITLE'', orig_subj_txt VARCHAR2(64) PATH ''lclone:ORIG_COPY_REF/lclone:REF[child::lclone:REF_TYP_CD="160"]/lclone:SUBJ_TXT'', last_upd_dt TIMESTAMP PATH ''node()[local-name()="LAST_UPD_DT"]'', catg_ref_code NUMBER(7) PATH ''idty:BOOK_INFO/idty:BOOK_ENTR[child::idty:BOOK_REF=1]/idty:CATG_REF_CD'', catg_code VARCHAR2(48) PATH ''//idty:BOOK_INFO/idty:BOOK_ENTR[child::idty:BOOK_REF=1]/idty:CATG_CODE'', book_trade_info XMLType PATH ''trd:book_trade_info'' VIRTUAL XMLTable trd_book_ix XmlNamespaces(''http://www.mrbook.com/BookFormat/PropertyLicHdr'' AS "plh", ''http://www.mrbrook.com/InventoryData'' AS "invtdata", ''http://www.mrbook.com/BookFormat/Identity'' AS "idty", ''http://www.mrbook.com/BookFormat/LiteraryCloneReferences'' AS "lclone", ''http://www.mrbook.com/TradeInfo'' AS "trd", ''http://www.mrbook.com/'' AS "book"), ''/trd:TRADE_ENTR'' PASSING book_trade_info COLUMNS trd_yrmoday VARCHAR2(6) PATH ''@TRD_DT_YRMODAY'' '); END; ALTER INDEX book_xmlindex_ix PARAMETERS('PARAM myparam3');
I checked three times and I PATH statements in the XMLTable command. I also tried to search the forums for "Path missing XMLIndex column", but I don't see anything. Does anyone have an idea how to fix this?anonymous block completed Error starting at line 69 in command: ALTER INDEX my_xmlindex_ix PARAMETERS('PARAM myparam') Error report: SQL Error: ORA-29874: warning in the execution of ODCIINDEXALTER routine ORA-29960: line 1, ORA-44749: Missing PATH for the COLUMN. 29874. 00000 - "warning in the execution of ODCIINDEXALTER routine" *Cause: A waring was returned from the ODCIIndexAlter routine. *Action: Check to see if the routine has been coded correctly Check the user defined warning log tables for greater details.
Thank you...
Edited by: KnightOfBlueArmor to add the definition of the table on March 26, 2013 14:09See the typo on the type of data?
sucsr_subj_txt VARHCAR2(64) PATH ''idty:BOOK_INFO/idty:SUCSR_SUBJ_TXT'',
You will have after the first error correction.
Then, you will hit it:
ORA-19276: XPST0005 - XPath step specifies an invalid element/attribute name: (trd:TRADE_ENTR trd='http://www.mrbook.com/TradeInfo')
That one is because the element root spent the 2nd XMLTable is 'trd:book_trade_info', but you specify "/ trd:TRADE_ENTR" in the main XQuery, where the static error found.
Specify the correct XQuery from the root node, for example''/trd:book_trade_info/trd:TRADE_ENTR'' PASSING book_trade_info
or what is the true XPath.
Then it should be OK and the parameter added correctly.
No doubt you will become a few more errors during execution, some of them because of inconsistencies in path expressions, for example
idty:BOOK_INFO/idty:lang_code //idty:BOOK_INFO/idty:BOOK_ENTR[child::idty:BOOK_REF=1]/idty:CATG_CODE /idty:BOOK_INFO/idty:OUT_OF_STOCK_REAS
I let you discover them (if any) ;)
Published by: odie_63 on March 26, 2013 23:09
-
I use SAGE ACt! database and I get this error message after loading. The Performance counter requested is not a custom counter, it needs to be initialized read-only.
Does anyone know how to remedy this? I talked to the WISE and they say it's a problem of Windows registry, but I don't have the knowledge to deal with this.
Hello
Thanks for posting your query in Microsoft Community!
Can I know what Windows operating system do you use?
I would like you see below and check if that helps.
Error message "Performance counter is not a custom counter, it needs to be initialized in ReadOnly" when you run Microsoft Dynamics CRM 4.0
http://support.Microsoft.com/kb/958377#appliesTo
Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows.
Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.
We can't wait to hear back on your part.
-
Optimize the performance of Windows 8.1
Hi all
I bought a HP Envy dv6 (including Windows 8) in November 2012.
For all those people who have good experiences with Windows 8.1... I was wondering what software you used to optimize performance?
In the past I had good experiences with...
Avast
Advanced System Care 6
CCleaner
IObit Malware Fighter
Driver boost
However, in Windows 8, it seems that some of them were because of issues with apps from metro. I had to reset my computer to factory settings countless times because for some reason any my metro apps can not maintain an INTERNET CONNECTION.
You guys are using any antivirus software or registry/maintenance software to optimize the performance of your PC which has not caused any problems? Leave the windows firewall "on" your best option for protection?
Chrome or Internet Explorer?
Make adjustments to settings PC (like the game "never notify" in the settings of the user account, etc.)?
What are some software 'must have' that you found useful?
Thanks in advance!
Hello!
Thanks for posting in the forum to Support HP and you thank for your trust in HP!
I'll try to answer some of your questions:
For all those people who have good experiences with Windows 8.1... I was wondering what software you used to optimize performance?
No, it works well on its own. Less you hit, the better. 3 party registry cleaners and optimizers should be used with caution by people with advance knowledge on the subject. More 3rd party (most, not all) optimizers are causing problems more than fix. Remove unnecessary programs, defrag automatically or auto (so HARD, not so SSD drive), run Disk Clean up, clear Temp folder.
Avast
Advanced System Care 6
CCleaner
IObit Malware Fighter
Driver boost
These I wouldn't use one of them.
You guys are using any antivirus software or registry/maintenance software to optimize the performance of your PC which has not caused any problems? Leave the windows firewall "on" your best option for protection?
Light antivirus is ESET and clean of Windows Defender. Windows Firewall (firewall) is essential (critical) part of any system, computer security, network, so it must be turned on. To do this, * no * slow down your computer or your * network * traffic.
Being without firewall you leave at the open to pirate computer/malware attacks and risk huge data.
Antivirus software is also a kind of essential program to protect against known and unknown malware attacks. Windows Defender is integrated in Windows 8/8.1 if you don't like it, you can try ESET NOD32, Norton Antivirus...
Chrome or Internet Explorer?
They are both very light when it comes to performance. I personally chose IE 10 (my favorite - in win 7 and 8) and IE11. But that's my opinion. Use what suits you best. IE is very safe and stable in the latest versions of Windows. That is to say, I prefer because it is the 1st part, made from Microsoft and works.
Make adjustments to settings PC (like the game "never notify" in the settings of the user account, etc.)?
User account control is also very good part of the guarantee. In fact, it helps the principle of "least privilege" security and helps your programs to run with the least amount of law they can. I recommend that you use the value default level3 or the more level '4 always notify when. User account control can help you prevent malicious attacks / viruses / threats.
What are some software 'must have' that you found useful?
In my opinion, there is no such thing as software should be - everyone installs and uses what they need. Statistics show that most people (98% or more) use Microsoft Office. Many have some archivers zip/rar as 7-zip, video software like VideoLAN, etc... It depends on what you need. Antivirus software...
Visit www.microsoft.com/protect for more information on keeping computer secure and shaped
If it please let me know if I can help you further and do not hesitate to ask for assistance if you have problems.
Please, click on the star of white LAURELS (left). This way you'll testify for advice or help you have received. If your problem has been resolved - click on the appropriate button and accept the solution. ***
-
ORA-19846: cannot read the header of the data file of the remote site 21
Hello
I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).
Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.
After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.
Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:
RMAN > recover database service prim noredo using backupset compressed;
To go back to November 8, 15
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 70 = device = DISK stby type instance
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015
ORA-19846: cannot read the header of the data file of the remote site 21
The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.
Thank you.
I tried like below:
1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.
2 copy the backup of the watch parts, catalogged them on the day before.
3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.
OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.
Make it like:
1. take incremental backup of primary SNA, also ensures the backup controlfile format.
2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.
3. Since you are using OMF, the path of primary and standby data file will be different. (
/ ). If you require catalog data from the database files pending. (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.
4. turn the database copy by RMAN. (RMAN > switch database to copy ;))
5 Catalog backup items that you copied in step 2.
6. recover the standby database using 'noredo' option.
7. finally start the MRP. This should solve your problem.
The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.
In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.
HTH
-Jonathan Rolland
-
Source of the performance of flow control.
Hi DBAs,
I want to follow the Soruce for Capture database and spread covers the performance of database running on 10.2.0.4. For example, how many messages be captured per second. How much spread receiving and sending messages. No messages overwhelmed at Source etc. What I am asking is scripts that experienced the DBA must JJUJ what is happening at the Source. -J' have very often run the Scripts to check health but do not want to run every time. I just want to get statistics on the fly. And is it possible to see how pool of water is consumed at the source at run time?
(If someone was irritated by this post, please stay away.) Don't advise please - see documentation or google).
Thank you
-Samar-I think that you are ready to adopt the smenu, or at least the five shortcuts which deals with water courses.
Nevertheless, here is the output that is produced by ' cap d 0' whiich is the closest to your request:
CONNECT_STRING=STRMADMIN/STRMADMIN msg msg cap msg App Read msg msg app Capture scan enq spill Propagation prop Apply deq deq. app err spill ----------------------- ------ ------ ------ ------------------------- ----- ------------------------ ------ ------ ------ ------ ------ CAPTURE_CUSTORD01_M 0 0 0 CUSTORD01_M_2_WAPRD2 2 APPLY_CUSTORD01_M 0 0 0 0 0 CUSTORD01_LOG_CAPTURE 26 0 0 SOURCE_TO_TARGET 0 SALESGEN_APPLY 0 0 0 0 0 15h12:31 CAPTURE_CUSTORD01_M 0 0 0 CUSTORD01_M_2_WAPRD2 0 APPLY_CUSTORD01_M 0 0 0 0 0 CUSTORD01_LOG_CAPTURE 8 2 0 SOURCE_TO_TARGET 2 SALESGEN_APPLY 2 1 1 0 0 15h12:32 CAPTURE_CUSTORD01_M 0 0 0 CUSTORD01_M_2_WAPRD2 0 APPLY_CUSTORD01_M 4 2 2 0 0 CUSTORD01_LOG_CAPTURE 0 0 0 SOURCE_TO_TARGET 0 SALESGEN_APPLY 0 0 0 0 0 15h12:35 CAPTURE_CUSTORD01_M 0 0 0 CUSTORD01_M_2_WAPRD2 0 APPLY_CUSTORD01_M 2 1 1 0 0 CUSTORD01_LOG_CAPTURE 0 0 0 SOURCE_TO_TARGET 0 SALESGEN_APPLY 0 0 0 0 0
and the code that you can cut and past and adpat:
# # Doing a kornshell loop, for can't flush intermediate results with PL/SQL dbms_out.put_line # # This routine assumes that dba_streams_administrator are all the same with same password and # correspond to name returned by "select username from dba_streams_administrator where rownum = 1;" # the routine connect to this username to perform its task. If it is not the case then you have # to restrict and provide the strmadmin username and connection and the routine will only report # delta for capture this administrator manage # if [ -n "$fcapture" ];then AND_CAP=" and c.capture_name = '$fcapture'" fi echo "CONNECT_STRING=$CONNECT_STRING" REPEAT_COUNT=${REPEAT_COUNT:-1} DETLA_SEC=${DETLA_SEC:-1} cpt=0; $SETXV echo " scn msg cap msg App Read msg msg app" echo " Capture scan enq spill Propagation prop Apply deq deq. app err spill" echo " ----------------------- ------ ------ ------ ------------------------- ----- ------------------------ ------ ------ ------ ------ ------ " while [ $cpt -lt $REPEAT_COUNT ] do cpt=`expr $cpt + 1` sqlplus -s "$CONNECT_STRING" <
propagation->apply -- declaration type section type rec_sess is record ( id number, -- logminer id cap_name varchar2(30), cap_msg_scanned number, cap_msg_enqueued number, cap_spill number, prop_name varchar2(30), prop_msg number, app_name varchar2(30), app_deq number, reader_rcv number, coor_app number, app_err number, app_spill number ) ; type typ_rec is table of rec_sess INDEX BY BINARY_INTEGER; a typ_rec; -- a contains first measurement b typ_rec; -- b contains second measurement key number:=0; v_cpt number:=0; sqlcmd varchar2(1024) ; v_msg_deq number; v_msg_app number; v_msg_rcv number; v_msg_err number; v_app_spill number; v_app_name varchar2(30); v_delta number:='$DELTA_SEC' ; procedure show_result is v_old_cap varchar2(30); v_cap varchar2(30); v_prop varchar2(30); v_app varchar2(30); var number; begin FOR i in b.FIRST .. b.LAST LOOP if b.exists(i) then if a.exists(i) then -- we found a match of keys between A and B dbms_output.put_line(rpad(b(i).cap_name,24,' ') || ' ' || rpad(to_char(b(i).cap_msg_scanned - a(i).cap_msg_scanned ,99990),6,' ') || ' ' || rpad(to_char(b(i).cap_msg_enqueued - a(i).cap_msg_enqueued,99990),6,' ') || ' ' || rpad(to_char(b(i).cap_spill - a(i).cap_spill,99990),6,' ') || ' ' || rpad(b(i).prop_name,24,' ') || ' ' || rpad(to_char(b(i).prop_msg - a(i).prop_msg,99990),6,' ') || ' ' || rpad(b(i).app_name,24,' ') || ' ' || rpad(to_char(b(i).app_deq - a(i).app_deq,99990),6,' ') || ' ' || rpad(to_char(b(i).reader_rcv - a(i).reader_rcv,99990),6,' ') || ' ' || rpad(to_char(b(i).coor_app - a(i).coor_app,99990),6,' ') || ' ' || rpad(to_char(b(i).app_err - a(i).app_err,99990),6,' ') || ' ' || rpad(to_char(b(i).app_spill - a(i).app_spill,99990),6,' ') ); end if; end if; end loop ; end ; function take_measurement return typ_rec is row typ_rec; begin for c in ( select l.DB_LINK, a.USERNAME stream_admin , p.propagation_name, p.source_queue_name, p.destination_queue_name destination_queue_name, c.capture_name, c.logminer_id, nvl(sc.total_messages_captured,0) msg_scanned, nvl(sc.total_messages_enqueued,0) msg_enqueued, ps.TOTAL_MSGS msg_prop, bq.spill_msgs cap_spill from dba_db_links l, dba_streams_administrator a, dba_propagation p, dba_capture c, gv\$streams_capture sc, gv\$propagation_sender ps, gv\$buffered_queues bq where l.username = a.username and p.destination_dblink = l.db_link and p.source_queue_name = c.queue_name and p.source_queue_owner = c.queue_owner and sc.LOGMINER_ID (+) = c.logminer_id and sc.capture_name = c.capture_name and ps.queue_name = c.queue_name and ps.QUEUE_SCHEMA = c.QUEUE_OWNER and bq.queue_name = c.queue_name and bq.QUEUE_SCHEMA = c.QUEUE_OWNER $AND_CAP ) loop sqlcmd:='select a.apply_name,total_messages_dequeued, total_received,' ||' total_applied, total_errors, bq.spill_msgs ' ||' from gv\$streams_apply_reader@' || c.db_link || ' r, ' || ' dba_apply@' || c.db_link ||' a,' || ' gv\$streams_apply_coordinator@' || c.db_link || ' c, ' || ' gv\$buffered_queues@' || c.db_link ||' bq ' ||' where ' ||' r.apply_name (+) = a.apply_name and ' ||' a.queue_name = ''' || c.destination_queue_name|| ''' and ' ||' c.apply_name (+) = a.apply_name and ' ||' bq.queue_name(+) = a.queue_name' ; execute immediate sqlcmd into v_app_name, v_msg_deq,v_msg_rcv, v_msg_app, v_msg_err,v_app_spill; key := c.logminer_id ; row(key).id := c.logminer_id ; row(key).cap_name := c.capture_name ; row(key).cap_msg_scanned := c.msg_scanned ; row(key).cap_msg_enqueued := c.msg_enqueued ; row(key).cap_spill := c.cap_spill ; row(key).prop_name := c.propagation_name ; row(key).prop_msg := c.msg_prop ; row(key).app_name := v_app_name ; row(key).app_deq := v_msg_deq ; row(key).reader_rcv := v_msg_rcv ; row(key).coor_app := v_msg_app ; row(key).app_err := v_msg_err ; row(key).app_spill := v_app_spill ; end loop; return row; end ; -- end procedure take measurement begin -- First measurement a:=take_measurement ; dbms_lock.sleep(v_delta); -- Second measurement b:=take_measurement ; show_result; end; / EOF echo "`date +%H'h'%M:%S`" done exit -
ORA-12721: operation cannot be performed when other sessions are active
Hello
I started my database like this:
Sorry for the duplicate.1) Change INIT.ORA file; unset parallel_server parameter. 2) Execute these commands: STARTUP MOUNT ; ALTER SYSTEM ENABLE RESTRICTED SESSION; ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; ALTER SYSTEM SET AQ_TM_PROCESSES=0; ALTER DATABASE OPEN; SHUTDOWN IMMEDIATE; SQL> STARTUP RESTRICT pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora'; ORACLE instance started. SQL> alter database national character set INTERNAL_CONVERT UTF8; alter database national character set INTERNAL_CONVERT UTF8 * ERROR at line 1: ORA-12721: operation cannot execute when other sessions are active
Published by: user522961 on December 10, 2008 01:51>
ORA-12721: operation cannot be performed when other sessions are active
Cause: This command can only be run when there is no other active sessions
Action: Ensure that there is no other connections to the database >
HTH
Aman... -
Concerned about the performance of the battery Ipod 6
Hello!. Please tell me your thoughts on this because I have no idea about. I bought a new Ipod 6 a week ago. I think that the battery is not give the performance of desire. He's dead, and after a charge noticed that drain you very quickly. So I turned off bluetooth, reduces the brightness of the screen and wifi on when I used it. I loaded 100% today, and according to the battery report used for 1 h and 50 min. (audio, videos Youtube Safari 91% Config Kindle of 5%, Home and Lock Screen 3%, 1%), time to sleep 10: 00 and 9 min. and the battery icon displays between 50 and 60 per cent of costs. It is the average or do you think the device is defective? Thanks in advance.
On the basis of messages as your battery life seems comparable to others. Note that % battery is not accurate on an iPod, then you can not go this way.
The test is responsible for at least 6 hours and read a video. You should get 5-6 hours
-
From what I understand the audio Forum leaking by a tab can be cut. This means that the most important activity such as periodic updates on a page to download advertisements could also affect Firefox performance even if the tab has not been clicked. Is this true?
Once the tab has been loaded, any video or audio active in this tab will have a negative impact on the performance of Firefox.
In the options, you can tell Firefox to not load the tab until it is selected, but once you select the tab for the first time, the site will remain responsible.
-
Low power mode will affect the performance of the camera?
I take my iPhone 6 on a trip backpack my camera. I intend to put the phone in airplane mode and I wonder if I should also set low power mode. If I put it in low power mode, it will reduce the performance of the camera?
I suggest that you test this configuration by yourself before you leave.
You can also consider taking the external battery back up like those manufactured by mophie.
-
RAM 1 GB upgrade will increase the performance of the Satellite Pro M30?
My ram size is currenty 512 MB.
I have the model Satellite Pro M30.
As the old model, my laptop would be faster if I increase to 1 GBHello
Of course, the 1 GB of RAM would help increase the performance of your laptop.
It must be useful for faster loading applications.
You will notice also that your tools and other software will be faster.To upgrade to the 1 GB RAM, you would need two 512 MB modules.
Usually the PC2700 DDR - RAM 512 MB module must be compatible.Welcome them
-
Satellite Pro A10 - SP2 or 3 slows the performance of XP?
Hello
I have a Satellite Pro A10 PSA15E that, over the years, had become very slow.
Recently, I upgraded it's RAM from 256 to the maximum of 1 GB to try to speed things up, but it did not help.
Then I reformatted the hard drive and reloaded the system using the Toshiba recovery disks. It worked well and the system performance has been excellent. However, with online safety in mind, I loaded the Windows SP2 (to go then to SP3) and it took the system back to where I started - very, very slow, in fact pretty much unusable.
Does anyone know if Toshiba compatible SP2 and SP3 on this laptop model?
If yes how install them without killing performance?
Thanks in advance.
Hello!
According to me, SP2 or SP3 is supported on this Toshiba laptop because two Service Packs are contains important security updates and I think that's not the problem.
If you install SP2 or SP3 you also get the center of security and better Windows Firewall. Maybe you should disable these two services given that the slowdown in the performance of the system (I always disable the two services).
Just go to start-run-services.msc online online and disable both services and set the startup type to disabled.Good bye
-
To increase the performance of the system (Windows XP, Vista, 7 and 8)
Hi all
Most people enjoy to keep their work in the computer and working properly, as long as possible. I have provided a few interesting documents that they will help you to keep your system as recent as possible concerning regular maintenance. I am able to provide information for systems already in Windows XP and as recent as Windows 8. What's even better is that these changes and updates can be performed without modification or upgrade any hardware.
Increase the performance of the XP system
Increase the Performance of the system Vista
Increase the performance of the system 7
Increase the performance of the system 8
Thank you
I hope this helps everyone.
-
Can I use an SDXC (512MB) card as a drive hard primary (such as startup HD with El Capitan) on my iMac 5 K - end 2015? It will slow down the performance of the iMac?
I did it with a 32GB SDHC UHS - I Transcend
I do not recommend under OS X from such media, but it works very well. I was preparing for my review of the CPHA Yosemite and did not want to mess with the internal drive of OS X.
Maybe you are looking for
-
Bootcamp AMD update - 5 k retina (end of 2015)
Hello Sorry for my English, I'm French. I use Bootcamp (10 Windows) on my iMac 5 k retina (end of 2015) - M395X 4 GB However I very late version updated the graphics card, and what was my unpleasant surprise that means Apple... Update Windows AMD Cat
-
I locked an add-on with a password and the neck has lost. How can I find it?
Hi I have a problem...Two days ago, I blocked an add-on (Procon Latte Content Filter 3.3)with a password...I lost the password and now I can't turn it off or delete... How can I remove the password? Thank you!
-
How to create an error log file
Hello I want to make an error log in the format below:- Date error error number Description 1/1 3243543 error 01:00 - - - - - - - - The error log shoul
-
Produce grabar Sonido restores mi equipo y ahora no tengo audio
Restores todo mi equipo todos los archivos is eliminaron y ahora no tengo audio no puedo connect or produce other devices
-
I have a Palm TX (Wireless-B) and an iPod Touch (up to Wireless-N). I thought I should be able to run the WAP610N in mixed mode with Palm using B and iPod using G. Unfortunately the Palm does not even detect the WAP under the 'mixed' and I had set th