Database crash simulator (for training)?
Hi All
I would like to prepare for OCP (from 10g) exam. I there any software (free or commercial) to simulate some typical database crashes (lost redologs, lost datafile, lost controlfile and many other.). So that user should detect what has happened and correct the issue. Of course I can do it myself, but when you know what is exactly wrong, it is easy to correct as well.
Regards
Groxy
You can do it by yourself
I advice you to install VMware on your PC, install Oracle on it. SHutdown and copy whole Vmware folder to another directory.
THen open vmware and start your testing. If you'll do something that you can't recover, (of course, you have to do your best to recover crashed database) just close the vmware and delete it. And open another vmware and do your testings there
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
Similar Messages
-
ORACLE 9I DATABASE - CRASH & RECOVER
I AM USING ORACLE 9I FOR LINUX IN A DUAL XEON PROCESSOR SERVER. NOW DATABASE DOES NOT OPEN PROPERLY AND SHOW FOLLOWING MESSAGES:-
1) for SYSDBA user message for startup database
SQL*Plus: Release 9.2.0.1.0 - Production on Thu Aug 21 18:49:14 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 621875780 bytes
Fixed Size 451140 bytes
Variable Size 335544320 bytes
Database Buffers 285212672 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL>
2) Then we reset the logs the message is:
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/C/app/oracle9ir2/oradata/tepiapp/system01.dbf'
SQL>
3) When connecting with different user the message is :
Enter user-name: mis-dba
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
0;oracle@tepiapp:~[oracle@tepiapp oracle]$
Please guide me for detail solutions for this problem
Regards,
FSLhmmm ok, so it seems that you dont use RMAN to backup your database...
It seems there that your have a controlfile problem after a disk crash. I hope your database is on ARCHIVELOG mode.
Does your database crashed during activity or was idle ?
1. Mount the database
2. set autorecovery on ;
recover database using backup controlfile ;
media recovery complete <= this means that all is ok now
3. alter database open resetlogs ;
if #2 doesnt work cause of redo log problem such as corrupted redo log, or some transactions "blocked" in theses redo log cause of a big crash during the database activity, Oracle will tell you that a redo log is corrupted and will give you the hour of the redo log log entry that Oracle need to recover.
So you will have to make an incomplete recovery (that means you will lose some datas, no much but some) until time.
For example, your redo entry has been corrupted at 12:00:50
1. recover database until time '2003-08-25:12:00:00' ;
2. alter database open resetlogs ;
3. Make a full backup of your database !
Fred -
Location of oracle database crash date time
Hi,
After system crash happens and oracle database is recovered from system crash where can i find the entry in oracle which shows the time of system crash?
I tried the following to get the system crash date and time:
When i start auditing a user by logon and the user is logged on to system oracle creates an entry in dba_audit_session table for user logontime in TIMESTAMP column, but if the system crashes in between when the user is logged in to the system then no entry is made in LOGOFF_TIME column of dba_audit_session table.
in followin example orcl user is being audited by logon.
orcl logsin the system at time 11:36 am and my system crashes.
when orcl logsin again after instance recovery logoff_time is blank, and shows a new entry of orcl.
SQL > select username,to_char(timestamp,'dd-mm-yyyy hh:mi:ss'),to_char(logoff_time,'dd-mm-yyyy hh:mi:ss') from dba_audit_session where username like 'TMS' order by timestamp;
USERNAME TO_CHAR(TIMESTAMP,' TO_CHAR(LOGOFF_TIME
ORCL 16-10-2012 11:36:16
ORCL 16-10-2012 11:46:33
My aim is to get the date & time of database crash.Hi;
As mention here the only way to check alert.log, If Asm avaliable you need also check asmlog and related log files.
If you have OSwatcher on your system you can also check what process or wha happend on your server too
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
1Z1-514 Oracle Database 11g Essentials for Implementors
Hi Guys
What shall i study in order to prepare the exam 1Z1-514 Oracle Database 11g Essentials for Implementors that is in Beta?
My manager have no budget to training courses.'
Please help me...haggy_fleisch wrote:
Hi Guys
What shall i study in order to prepare the exam 1Z1-514 Oracle Database 11g Essentials for Implementors that is in Beta?
My manager have no budget to training courses.'
Please help me...The obvious answer is to study the exam topics on [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_514]
Hmmm ..... there again looking at your biography I believe Pompey Lil can help you best .... ;-)
More seriously have a go at the two day dba guide from [http://www.oracle.com/pls/db112/homepage] the have another gap analysis and see you you feel.
Also view [http://blogs.oracle.com/certification/2008/10/question_of_the_day_how_to_pre.html]
Rgds - bigdelboy. -
Editing Demo, Simulation and Training simultaneously
Hi all,
is there anyway to change the demo, simulations and training captivates simultaneously?
At the moment, I am working on a project where the starting point is the Demo file. I am making changes to the Demo and then have to go into Simulation and training files individually to make these changes which is really duplicating work..
I would really appreciate if someone can point me to the right direction.
thanksLily thanks for your help..
I am using Captivate 5. I have captured a project and made changes to the Demo file ie reworded captions and deleted some slides. I was hoping if there was any way simulation and training files can update depending on what I do on Demo.
Its a nightmare going through each single one of them
thanks -
Dear Members
let see a scneario
i have a primary database and a standby database
my production database crashed
how can i recover my standby database until last comitted transaction. how can i get imy transactions from online redo logs which were on primary database
now my primary database server is crashed i cant login to primary database.
is standby database's redo logs synched with primary database's online redo logs?
please help me out
regardsHi,
You need to check first whether all online Redo Logs till the point of time - are applied to DB.
Check for logs still need to apply or not - If all the logs are applied then you can stop the real time apply on standby and the cancel the recovery on standby and try to Open the DB in read write mode for access
Is there any other standby apart from this . ??
If not first take the backup of this standby immediately, then recover the DB on primary DB till the point of time of crash and try to mount the DB on primary.
then you can make it as standby.
- Pavan Kumar N
Oracle 9i/10g - OCP
http://oracleinternals.blogspot.com/ -
Can anyone tell me the senarios in which database crashes
hi
can anyone tell me the senarios in which database crashes other then backup recovery concepts.when the databse goes live
regards,
swapna.sThose sort of errors would mostly be TNS errors when the database server runs out of memory (memory configured for Oracle, swapping, number of network connections limit) etc...
Other than that, if the application is written badly (which I hope is not the case), then users may face deadlock situations but those would be handled by Oracle automatically.
Of course, these errors can be handled by properly tuning the database or the application. -
TABLESPACE BACKUP - Database crash
Hello guys,
i got a little question about "Online / Hot Backup" and a crashing instance.
The following worst case happen:
1) Alter Tablespace TABSP_USER01 in backup mode at 03:00 am
2) There is a problem, while copying the datafiles and the backup modus for the tablespace TABSP_USER01 exists all the time
3) Database crashes at 04:30 am and the tablespace TABSP_USER01 is still in backup mode
4) While the whole online/hot backup was run, an archive log backup runs at 04:00 am and the saved archive log files are deleted from disk
I know what happen to the datafiles while the "online backup". The SCN is frozen when the "backup modus" is set... and in the redo log files a complete block-image is written.
All dirty blocks are written to the datafiles, while the "backup modus" is on, but the SCN is not updated.
But my question is now:
1) If i restart my crashed instance at 05:03 am .. are the archive logs needed for checking (which were already back upped and deleted) at a startup?
2) Does Oracle verify the data in the redo/archive logs with the ones in the datafiles?
3) Or does Oracle only set the actual SCNs to the header of the datafiles (the actual scn is get from the controlfile)?
Thanks and Regards
Stefan#1) If i restart my crashed instance at 05:03 am .. are the archive logs needed for checking (which were already back upped and deleted) at a startup? ##
Yes it will ask for the recovery needed in the mount stage.you need to backup again...
# 2) Does Oracle verify the data in the redo/archive logs with the ones in the datafiles? &3) Or does Oracle only set the actual SCNs to the header of the datafiles (the actual scn is get from the controlfile)? ###
The asnwer is yes and no...It checks both header and information..
Since it is asking for the recocvery it is understandable that it checks for header is not in synch and will apply all the changes...to make it synch.(.all the sequenced are captured in redo-log and archived logs.)
kindly go through this document for clarifications..
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#i1007289
Thanks
-- Raman -
Estimation/Indication of Database Crash
OS Information:Any version
OS Information:Windows and/or Linux
Estimation/Indication of Database Crash
Hello,
Its an open question that can you tell me the errors/warnings (at least 3) which are exists in alert log at present, whose meaning is that your database will be crashed in next one hour. I mean which ORA-NNNNN or other in alert log; whose indication is same that your database (not instance) is going to be crash within next one hour definately, so that i may get backup or export. Please let me know that question is clear or not.
If you can please elaborate in view of different oracle version and/or OS, it will additional helpful reply to question.
Regards
Girish Sharma"there is already a service disruption"
If the archiver stops, then there is no service disruption until all redo log groups are full, so you do have time to fix the problem before then database hangs.
Most archiver hangs are due to disk full which you can avoid if you monitor disk usage, flashback area usage, and have automatic jobs to backup and purge archivelogs.
Archiver hung also happens due to bugs, controlfile locks, disk errors (NFS etc) or network errors (Dataguard), and in these cases you can't predict them with monitoring, so you won't know about them until you get alert log errors.
Another error with a similar result would be ORA-19809 :-
ARC0: Error 19809 Creating archive log file to '/oraexport/d1122/DB1122/archivelog/2010_01_06/o1_mf_1_240_%u_.arc'
Wed Jan 06 16:05:00 2010
Errors in file /opt/oracle/product/diag/rdbms/db1122/db1122/trace/db1122_arc2_3408.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 104857600 bytes is 100.00% used, and has 0 remaining bytes available.
You have following choices to free up space from recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Errors in file /opt/oracle/product/diag/rdbms/db1122/db1122/trace/db1122_arc2_3408.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 35865088 bytes disk space from 104857600 limit -
Database crash, CPU Starvation
hi, i am using 11.2.0.3 version of oracle. We have recently migrated to 11g, after 1 month of smooth and comparatively better performance, we are suddenly facing performance issues with our database and it got crashed twice within 5 days. even we didnt push any new code to our database in recent past, atleast after the 11G migration. And after getting feedback from the ORACLE corporation guys , they pointed out about the default database stats gathering job, which was eating most of the CPU, because of the default degree mentioned So it was running in 160 parallel threads causing resource starvation.so we reduce the degree of the stats gathering job to 8 .
But the database crashed again two days back, and rebooted within 3 mins to back to normal, even after this default degree changed to 8. And i am observing around some specific time its happening,dont know if its just a coincidence!!! So if you can provide some help , how to dig down to the base , if this is happening due to any specific application related sql or anything else.Actually we have got below sql reported by Oracle corporation guys, which was consuming much the database resources and cause of resource starvation.
I have Changed some of the table names/aliases. Now the issue is that, this query is taking ~14hrs for complete execution resulting into 1027 records for company-1.
So then i tried executing the query for a different company - 2, it resulted into 3 records and completed within few seconds. Then i tried forcing the same plan with company-1, and it completes within ~20 minutes. So ideally the optimizer should follow the optimal path for company-1 too, but its not doing somehow due to some reason. Less optimal plan ,using index id2 for scanning table IV rather Id1. i want to identify the reason. given below is the query + test details. Here xmvl is the views. having below inline query. Id1 is on column (companypk,c2,inorg,dt1) of IV. and Id2 is on column (payeeid,companypk).
--Query for inline view xmvl
SELECT *
FROM XMVL_B XB, CP CC
WHERE XB.bcmpnypk = CC.pcmpnypk
OR XB.bcmpnypk = CC.ccmpnypk;
Below is the stats for both the indexes: Id1 and Id2:
leaf_blocks, blevel, distinct_keys, avg_leaf_blocks_per_key, avg_data_blocks_per_key, clustering_factor,num_rows
445090 3 4018676 1 18 42811230 83166160
869410 4 141335 24 1239 43912510 82126740
Column Companypk of IV is having frequency histogram on it.
-- Below is the sql query causing issue
SELECT
IV.pk,
IV.PN pid,
IV.IPK,
IV.INUM,
IV.IDT,
IV.VDNM,
IV.ivst1 ivstat,
IV.ivgvl,
IV.ivnpk ivnpk1,
IV.intc,
IV.sc
FROM IV IV
WHERE IV.COMPANYPK = 1
AND IV.intc NOT IN ('C')
AND IV.INORG IN ('APP', 'IMG')
AND IV.pk IS NULL
AND IV.INUM LIKE '147%'
AND IV.ivnpk IN
('J1',
'J2',
'J3',
'J4',
'J5',
'j6')
AND EXISTS
(SELECT 1
FROM xmvl xsl, pi pi
WHERE xsl.suplpk = pi.paypk
AND xsl.supplstpk = IV.stpk
AND xsl.bcmpnypk = IV.companypk
AND pi.pid = IV.payeeid
AND pi.payn = IV.payeen)
ORDER BY IDT DESC;
1027 rows selected.
Elapsed: 14:25:26.44
SQL> set termout on
SQL> spool plan.lst
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
Plan hash value: 3052094360
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | Writes | OMem | 1Mem | Used-Mem | Used-Tmp|
| 0 | SELECT STATEMENT | | 1 | | 1027 |00:06:12.65 | 17M| 13M| 2400 | | | | |
| 1 | SORT ORDER BY | | 1 | 1 | 1027 |00:06:12.65 | 17M| 13M| 2400 | 178K| 178K| 158K (0)| |
| 2 | NESTED LOOPS | | 1 | | 1027 |13:22:51.84 | 17M| 13M| 2400 | | | | |
| 3 | NESTED LOOPS | | 1 | 1 | 40M|00:29:57.97 | 2323K| 657K| 2400 | | | | |
| 4 | VIEW | VW_SQ_1 | 1 | 2516 | 214K|00:00:06.15 | 457K| 2400 | 2400 | | | | |
| 5 | HASH UNIQUE | | 1 | 2516 | 214K|00:00:05.87 | 457K| 2400 | 2400 | 23M| 4152K| 3731K (1)| 20480 |
| 6 | CONCATENATION | | 1 | | 214K|00:00:02.53 | 457K| 0 | 0 | | | | |
| 7 | NESTED LOOPS | | 1 | | 214K|00:00:02.40 | 457K| 0 | 0 | | | | |
| 8 | NESTED LOOPS | | 1 | 2434 | 214K|00:00:01.50 | 242K| 0 | 0 | | | | |
| 9 | NESTED LOOPS | | 1 | 2434 | 214K|00:00:00.55 | 3599 | 0 | 0 | | | | |
| 10 | TABLE ACCESS BY INDEX ROWID| CP | 1 | 1 | 1 |00:00:00.01 | 3 | 0 | 0 | | | | |
|* 11 | INDEX UNIQUE SCAN | CP_p1 | 1 | 1 | 1 |00:00:00.01 | 2 | 0 | 0 | | | | |
| 12 | TABLE ACCESS BY INDEX ROWID| XMVL_B | 1 | 2434 | 214K|00:00:00.47 | 3596 | 0 | 0 | | | | |
|* 13 | INDEX RANGE SCAN | ID_BCOMPNYPK | 1 | 2434 | 214K|00:00:00.15 | 552 | 0 | 0 | | | | |
|* 14 | INDEX UNIQUE SCAN | PI_P1 | 214K| 1 | 214K|00:00:00.72 | 239K| 0 | 0 | | | | |
| 15 | TABLE ACCESS BY INDEX ROWID | pi | 214K| 1 | 214K|00:00:00.68 | 214K| 0 | 0 | | | | |
| 16 | NESTED LOOPS | | 1 | | 0 |00:00:00.05 | 555 | 0 | 0 | | | | |
| 17 | NESTED LOOPS | | 1 | 82 | 0 |00:00:00.05 | 555 | 0 | 0 | | | | |
| 18 | NESTED LOOPS | | 1 | 82 | 0 |00:00:00.05 | 555 | 0 | 0 | | | | |
| 19 | TABLE ACCESS BY INDEX ROWID| CP | 1 | 1 | 1 |00:00:00.01 | 3 | 0 | 0 | | | | |
|* 20 | INDEX UNIQUE SCAN | CP_p1 | 1 | 1 | 1 |00:00:00.01 | 2 | 0 | 0 | | | | |
| 21 | TABLE ACCESS BY INDEX ROWID| XMVL_B | 1 | 82 | 0 |00:00:00.05 | 552 | 0 | 0 | | | | |
|* 22 | INDEX RANGE SCAN | ID_BCOMPNYPK | 1 | 2434 | 0 |00:00:00.05 | 552 | 0 | 0 | | | | |
|* 23 | INDEX UNIQUE SCAN | PI_P1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 | 0 | | | | |
| 24 | TABLE ACCESS BY INDEX ROWID | pi | 0 | 1 | 0 |00:00:00.01 | 0 | 0 | 0 | | | | |
|* 25 | INDEX RANGE SCAN | id2 | 214K| 3 | 40M|00:29:24.10 | 1865K| 655K| 0 | | | | |
|* 26 | TABLE ACCESS BY GLOBAL INDEX ROWID| IV | 40M| 1 | 1027 |13:54:31.57 | 15M| 12M| 0 | | | | |
Predicate Information (identified by operation id):
11 - access("CC"."ccmpnypk"=1)
13 - access("XB"."bcmpnypk"="CC"."ccmpnypk")
14 - access("XB"."suplpk"="PI"."PAYPK")
20 - access("CC"."ccmpnypk"=1)
22 - access("XB"."bcmpnypk"="CC"."pcmpnypk")
filter(LNNVL("XB"."bcmpnypk"="CC"."ccmpnypk"))
23 - access("XB"."suplpk"="PI"."PAYPK")
25 - access("ITEM_3"="IV"."payeeid" AND "ITEM_2"="IV"."COMPANYPK")
filter("IV"."COMPANYPK"=1)
26 - filter(("IV"."pk" IS NULL AND "IV"."INUM" LIKE '147%' AND INTERNAL_FUNCTION("IV"."INORG") AND
INTERNAL_FUNCTION("IV"."ivnpk") AND "IV"."intc"<>'C' AND "ITEM_1"="IV"."stpk" AND "ITEM_4"="IV"."payeen"))
68 rows selected.
--- Below is the plan for a different company - companypk -- 2
Execution Plan
Plan hash value: 1295920100
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 182 | 6 (17)| 00:00:01 | | |
| 1 | SORT ORDER BY | | 1 | 182 | 6 (17)| 00:00:01 | | |
| 2 | NESTED LOOPS SEMI | | 1 | 182 | 5 (0)| 00:00:01 | | |
|* 3 | TABLE ACCESS BY GLOBAL INDEX ROWID| IV | 1 | 174 | 2 (0)| 00:00:01 | ROWID | ROWID |
|* 4 | INDEX RANGE SCAN | id1 | 2 | | 1 (0)| 00:00:01 | | |
| 5 | VIEW PUSHED PREDICATE | VW_SQ_1 | 1 | 8 | 3 (0)| 00:00:01 | | |
| 6 | NESTED LOOPS | | 1 | 107 | 3 (0)| 00:00:01 | | |
| 7 | NESTED LOOPS | | 1 | 84 | 2 (0)| 00:00:01 | | |
| 8 | TABLE ACCESS BY INDEX ROWID | pi | 1 | 68 | 1 (0)| 00:00:01 | | |
|* 9 | INDEX UNIQUE SCAN | PI_UQ | 1 | | 1 (0)| 00:00:01 | | |
| 10 | TABLE ACCESS BY INDEX ROWID | CP | 1 | 16 | 1 (0)| 00:00:01 | | |
|* 11 | INDEX UNIQUE SCAN | CP_p1 | 1 | | 1 (0)| 00:00:01 | | |
|* 12 | INDEX RANGE SCAN | IDX_SPLLLIST | 1 | 23 | 1 (0)| 00:00:01 | | |
Predicate Information (identified by operation id):
3 - filter("IV"."pk" IS NULL AND "IV"."INUM" LIKE '147%' AND
("IV"."ivnpk"='j6' OR "IV"."ivnpk"='J2' OR
"IV"."ivnpk"='J1' OR "IV"."ivnpk"='J5' OR
"IV"."ivnpk"='J3' OR "IV"."ivnpk"='J4') AND
"IV"."intc"<>'C')
4 - access("IV"."COMPANYPK"=2)
filter("IV"."INORG"='APP' OR "IV"."INORG"='IMG')
9 - access("PI"."pid"="IV"."payeeid" AND "PI"."payn"="IV"."payeen")
11 - access("CC"."ccmpnypk"="IV"."COMPANYPK")
12 - access("XB"."suplpk"="PI"."PAYPK" AND "XB"."supplstpk"="IV"."stpk")
filter("XB"."bcmpnypk"="CC"."pcmpnypk" OR "XB"."bcmpnypk"="CC"."ccmpnypk")
-- Then i force the plan outline for company-1 , and got the below result.
SELECT /*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.3')
DB_VERSION('11.2.0.3')
OPT_PARAM('query_rewrite_enabled' 'false')
OPT_PARAM('_optimizer_use_feedback' 'false')
OPT_PARAM('optimizer_index_cost_adj' 30)
OPT_PARAM('optimizer_index_caching' 90)
ALL_ROWS
OUTLINE_LEAF(@"SEL$38CB8147")
PUSH_PRED(@"SEL$629EDCDD" "VW_SQ_1"@"SEL$F5A55792" 10 9 8 7)
OUTLINE_LEAF(@"SEL$629EDCDD")
UNNEST(@"SEL$335DD26A")
OUTLINE(@"SEL$833EDA65")
OUTLINE(@"SEL$629EDCDD")
UNNEST(@"SEL$335DD26A")
OUTLINE(@"SEL$F5A55792")
OUTLINE(@"SEL$335DD26A")
MERGE(@"SEL$3")
OUTLINE(@"SEL$1")
OUTLINE(@"SEL$2")
OUTLINE(@"SEL$3")
INDEX_RS_ASC(@"SEL$629EDCDD" "IV"@"SEL$1" ("IV"."COMPANYPK" "IV"."INVOICESOURCE"
"IV"."INORG" "IV"."AUDIT_CREATE_DATE"))
NO_ACCESS(@"SEL$629EDCDD" "VW_SQ_1"@"SEL$F5A55792")
LEADING(@"SEL$629EDCDD" "IV"@"SEL$1" "VW_SQ_1"@"SEL$F5A55792")
USE_NL(@"SEL$629EDCDD" "VW_SQ_1"@"SEL$F5A55792")
INDEX_RS_ASC(@"SEL$38CB8147" "PI"@"SEL$2" ("pi"."pid" "pi"."payn"))
INDEX_RS_ASC(@"SEL$38CB8147" "CC"@"SEL$3" ("CP"."ccmpnypk"))
INDEX(@"SEL$38CB8147" "XB"@"SEL$3" ("XMVL_B"."suplpk" "XMVL_B"."supplstpk"
"XMVL_B"."bcmpnypk"))
LEADING(@"SEL$38CB8147" "PI"@"SEL$2" "CC"@"SEL$3" "XB"@"SEL$3")
USE_NL(@"SEL$38CB8147" "CC"@"SEL$3")
USE_NL(@"SEL$38CB8147" "XB"@"SEL$3")
END_OUTLINE_DATA
*/ /* xign.buyerwebinvclient.search.InvoiceCloneSearchData */
IV.pk,
IV.PN pid,
IV.IPK,
IV.INUM,
IV.IDT,
IV.VDNM,
IV.ivst1 ivstat,
IV.ivgvl,
IV.ivnpk ivnpk1,
IV.intc,
IV.sc
FROM IV IV
WHERE IV.COMPANYPK = 1
AND IV.intc NOT IN ('C')
AND IV.INORG IN ('APP', 'IMG')
AND IV.pk IS NULL
AND IV.INUM LIKE '147%'
AND IV.ivnpk IN
('J1',
'J2',
'J3',
'J4',
'J5',
'j6')
AND EXISTS
(SELECT 1
FROM xmvl xsl, pi pi
WHERE xsl.suplpk = pi.paypk
AND xsl.supplstpk = IV.stpk
AND xsl.bcmpnypk = IV.companypk
AND pi.pid = IV.payeeid
AND pi.payn = IV.payeen)
ORDER BY IDT DESC;
1031 rows selected.
Elapsed: 00:19:14.60
Plan hash value: 1295920100
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | OMem | 1Mem | Used-Mem |
| 0 | SELECT STATEMENT | | 1 | | 1031 |00:13:31.14 | 1132K| 628K| | | |
| 1 | SORT ORDER BY | | 1 | 1 | 1031 |00:13:31.14 | 1132K| 628K| 160K| 160K| 142K (0)|
| 2 | NESTED LOOPS SEMI | | 1 | 1 | 1031 |00:13:31.13 | 1132K| 628K| | | |
|* 3 | TABLE ACCESS BY GLOBAL INDEX ROWID| IV | 1 | 29 | 1031 |00:13:26.26 | 1127K| 627K| | | |
|* 4 | INDEX RANGE SCAN | id1 | 1 | 15M| 938K|00:02:01.25 | 208K| 205K| | | |
| 5 | VIEW PUSHED PREDICATE | VW_SQ_1 | 1031 | 1 | 1031 |00:00:04.87 | 5748 | 881 | | | |
| 6 | NESTED LOOPS | | 1031 | 1 | 1031 |00:00:04.86 | 5748 | 881 | | | |
| 7 | NESTED LOOPS | | 1031 | 1 | 1031 |00:00:03.71 | 3918 | 583 | | | |
| 8 | TABLE ACCESS BY INDEX ROWID | pi | 1031 | 1 | 1031 |00:00:03.70 | 2878 | 583 | | | |
|* 9 | INDEX UNIQUE SCAN | PI_UQ | 1031 | 1 | 1031 |00:00:01.70 | 1847 | 326 | | | |
| 10 | TABLE ACCESS BY INDEX ROWID | CP | 1031 | 1 | 1031 |00:00:00.01 | 1040 | 0 | | | |
|* 11 | INDEX UNIQUE SCAN | CP_p1 | 1031 | 1 | 1031 |00:00:00.01 | 9 | 0 | | | |
|* 12 | INDEX RANGE SCAN | IDX_SPLLLIST | 1031 | 1 | 1031 |00:00:01.15 | 1830 | 298 | | | |
Predicate Information (identified by operation id):
3 - filter(("IV"."pk" IS NULL AND "IV"."INUM" LIKE '147%' AND INTERNAL_FUNCTION("IV"."ivnpk") AND
"IV"."intc"<>'C'))
4 - access("IV"."COMPANYPK"=1)
filter(("IV"."INORG"='APP' OR "IV"."INORG"='IMG'))
9 - access("PI"."pid"="IV"."payeeid" AND "PI"."payn"="IV"."payeen")
11 - access("CC"."ccmpnypk"="IV"."COMPANYPK")
12 - access("XB"."suplpk"="PI"."PAYPK" AND "XB"."supplstpk"="IV"."stpk")
filter(("XB"."bcmpnypk"="CC"."pcmpnypk" OR "XB"."bcmpnypk"="CC"."ccmpnypk"))
51 rows selected.
Elapsed: 00:00:01.58
SQL> spool off
SQL> -
An iPhone web simulator for designers
For those who want to see how their iWeb site will look on an iPhone, there's a free simulator for download here...
http://www.marketcircle.com/iphoney/this is the best siteapp I've seen, however I have some questions for the seeqpod people who have logged on this forum. I'm in no way intending these questions to be seen as flaming because I love the concept.
1. How is your service legal?
2. Are you concerned that your database is an open invitation for the RIAA to go straight to the stored source of copyright infringement and get a lot of people in trouble despite your potential innocence?
3. Would a service like yours potentially better serve the hundreds of thousands of independent artists who are freely giving their music away right now on the web?
Again - not a flame in any way, just important questions. Ive been using seeqpod for 2 straight days
PB 17 - 1.67Ghz - 1.5Gb - 100 Gb. 2 PowerMac G4. Mac Mini. 30Gb iPod. 8Gb iPhone Mac OS X (10.4.10) Sent from iPhone
PB 17 - 1.67Ghz - 1.5Gb - 100 Gb. 2 PowerMac G4. Mac Mini. 30Gb iPod. 8Gb iPhone Mac OS X (10.4.10) Sent from iPhone -
Difference between Instance Crash and Database Crash in Standalone and RAC?
I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
RAC_".+
Oracle Version: 11.1.0.7.0
O.S Version: HP-UX B.11.31 USivaprasad S wrote:
I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
RAC_".+That depends on your definitions of database crash versus instance crash.
Literally, database crash means that the database itself is damaged in some way. A disk is no more. Data files are corrupted. Etc. The database itself thus causes the crash - and a database crash will also cause all database instances (RAC or single) for that database to crash too.
An instance crash will therefore mean that the crash occurs in the instance due to an Oracle bug or similar. In other words a s/w error and not a database error. The database is still "fine", but the instance not. Instance crashes. However, any other instance on that same (RAC) database will still be fine as the database itself is unaffected by that s/w error in the crashed instance.
If you mean something different, please enlighten us. Not all crashes are equal. {noformat};-){noformat} -
Error using "LDF Database Open.vi" for LDF 2.1 file
Hi there,
I use the USB-LIN for a simulation for LIN bus. We had the LDF file of version 2.0 before but now we get a new LDF file which is in version 2.1.
We used
LDF Starter Kit for LIN 1.0.1
to read the LDF file but it seems that the kit doesn't work any more with the LDF version 2.1.
It there a workaround for the LDF file with version 2.1.
Thx,
WilburHi,
The NI USB-LIN was created to work with the version 1.3 network standard. However, version 2.0 and 2.1 are backwards compatible, so the NI USB-LIN will work with these networks as well.
there is currently not a plan to update it for LIN 2.1.
Note: The new features introduced in version 2.0 and 2.1 network standards will not be natively supported with the NI USB-LIN.
LIN Version 1.3, 2.0, and 2.1 Comparison
Feature
Supported by NI USB-LIN
LIN 1.3
Yes
LIN 2.0
Yes*
Enhanced checksum
Yes
Off the shelf slave node concept
Yes*
NCF format
Yes*
Diagnostics and slave node configuration
Yes*
Byte arrays
Yes
LIN 2.1
Yes*
New slave node configuration services
Yes*
Slave diagnostics class I-III
Yes*
Functional addressing
Yes*
Resolution table
Yes* -
Production Order Simulation for Material Availability
Please Help.
Does anyone know how to run a simulation for a configured material and then do a material availability check? First I need to be able to configure a material, then I need to be able to see if I have the material available to build it. The requirement is coming from Sales or another Plant if the form of a question "Can you fulfill the SO by X date?" I have tried CO01S but after configuring the material it is not allowing me to then do the availability check. Any ideas would be appreciated.
Thank youHi,
Based on further checks i feel the simulation order might not meet your exact need, apologies for the incorrect info.
Alternatively what i can think of at the moment is,
1. Create a new order type say ZSIM, assign a new number range (create via co82) for this & maintain all other paramters as a normal order type
2. Create a user status in BS02, which does not allow for releasing the order & assign this user status to your new order type in OPJH.
3. Create a order for your material using this new order type & you can then use the material availability functionality.
The blocking of release for these orders, ensure that even by mistake the user does not release these orders as you want to use it for simulation purpose & thereby ensuring that it does not become relevant for production.
Hope the above helps.
Regards,
Vivek -
Setting up ESS for Training and Event Mgmt
Hello to all SAP HR experts,
i am now doing a project on SAP ERP HCM and would like to learn more about the things and steps i need to do to come up with a ESS for Training and Event Management. I have an account for SAP Netweaver and able to access Enterprise Portal (EP). Do i require to navigate in EP to use the items there or do i need to set up an adobe interactive form using SAP Netweaver Developer Studio, design the flow at Visual Studio(VC), then link all the VC at Guided Procedure? If that's the case how am going to extract the data which i have configured in the IMG path under Training and event mgmt (TEM) and also SAP Learning Solution(LSO)?
For an example: I have created Training Event Groups, Training Event Types and Courses. If i want to so a paperless ESS, how can i extract all this into the fields which i have designed in my adobe interactive form.
Please help me and guide me along
Thank you in advance:)
Regards,
JennyHi
There are 2 end user possibilities for Learning
One is PV7I and PV8I ITS services which are part of an old ESS role and can be used as integrated ITS versions
any ESS role via HpF or called directly via URL (without a Portal) - this will allow users to book course and events and view/change bookings etc
The other is Business Package for Learning 1.0 which requires a Portal (and other LSO dependancies to run)
this provides a wider range of Learning based activities including booking etc
Best wishes
Stuart
Maybe you are looking for
-
Error while using P2V in Oracle VM 2.2 version
Error while using P2V in Oracle VM 2.2 version I tried using this option by using the steps given on one link but it didnt worked... Error: code 404, message No permission to list directory. I ve tried giving full permissions on for /OVS on Server bu
-
Synching iphone/contacts & macbook/address book no longer works
I've had an iphone 3G and macbook pro for about 2 years and until now they've synched just fine. Today I cleaned up my address book on the mac (eliminated some duplicates, added, renamed, and deleted groups, updated individuals' information) and then
-
Query is allocating too large memory Error ( 4GB) in Essbase 11.1.2
Hi All, Currently we are preparing dashboards in OBIEE from the Hyperion Essbase ASO (11.1.2) Cubes.When are trying to retrieve data with more attributes we are facing the below error "Odbc driver returned an error (SQLExecDirectW). Error Details Err
-
Trying to use my Lacie external hard drive to back up my iTunes library.
For some reason, I cannot send my iTunes song files to my external hard drive. My PC recognizes my hard drive (I formatted it) and it lets me save text files to the hard drive but it will not let me save my musci library to it. I am trying to transfe
-
what is the best way to link macbookpro to harman kardon 5.1 home cinema set to be able to play music from my iTunes lib.?