41 hours to complete? Unbelievable.
Yeah, I actually got that as a time response. And it actually takes that long. At least, an hour of burning makes an hour go down on the countdown clock. I've never actually finished it, it's ridiculous. Any help? iDVD '08. One time it said only 3 hours, so I let it go the full three. When the progress bar was complete, the program crashed and my DVD was still, apparently, blank. Any help?
It's a DVD that I ripped. It's a dual layer disc, with the content at around 6 GB or so. I was going to make a copy, but I only have a single layer DVD, so I didn't make a disc image. I ripped the content that I wanted, not all the special features, and turned that into the MPEG-4.
Anything else I can do? Like try a different theme? Or should I like....send my computer in to Apple. shudder
Someone said it could have been a Leopard issue. Should I try again when 10.5.2 is released?
Similar Messages
-
during a update of apple my iphone 3GS crashed an now the operating system wont load up..ive tried to reset the phone to the factory settings using itunes it took 4 hours and completed but my phone still wont come on..what can i do to fix the problem? please help #
In trying to include what information all that I could I should have specified I DON'T KNOW THAT IT WAS DEFINATELY JAILBROKEN when I took it to the apple store they told me there's no way for them to tell if it was jail broken or not. I'm only going by what ppl have told me COULD HAVE BEEN DONE TO THE PHONE. With that said the only thing I know for sure is that the apple tech at the Genius Bar told me that someone took control of my root menu in February & I've had no control of my phone since. I asked him how to regain control & how he knew his exact words were "oh that is out of our scope of capabilities here at this level & you would need an apple engineer to fix it". I said ok then how do I get an apple eng then? He laughed & said you can't!!!! To which I was furious I came home & called apple requesting to speak w/the fraud dept to file a report they said we don't have a fraud dept!! So after a 45 mn phone call again I left w/no answers.
@TJBUSMC1973-
I DON'T HAVE THOUSANDS OF DOLLARS TO SPEND HIRING AN ATTORNEY & Although I appreciate your suggestion I fail to how an attorney would be able to facilitate in any way since there's no suspect. I cannot prove that it's him doing it so I certainly can't pursue legal action w/no proof & no money. :'((
Again I thank you for your advice but I don't think that will help.
I was looking more for a TECHNICAL way to avoid this happening w/a new phone should I buy one or trying to get them out of my phone now! Such as installing some kind of software protection?? Someway to clear out the entire phone (other than factory reset which was done 10 x's w/no success, etc. if this person got in then there HAS TO BE A WAY OF GETTING HIM OUT, right???? -
iMac 7,1. SnowLeopard. 2 printers that printed nothing, or more than ±1/4 from page top.Reinstalled OS. Time Machine BU now allows only latest (faulty) files. ±4series shown, each taking +8 hours to complete. How to reinstall from ‘DEVICES’in ‘iMac’?
You need to get rid of MacKeeper (Zeobit). Do not use their uninstaller, follow the instructions here ...
http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
When that is done there does not appear to be a lot wrong if you correct the red ink entries.
The 4Gb is sufficient for Yosemite though 6 or 8 Gb would be better. You may find the download slow so be prepared. -
For loop taking more than 24 hours to complete
Hi Frens,
This for loop took close to 24 hours to complete.I cant seem to detect the problem.Can someone help to advice?
vpath := CS_UTILS.GET_UTL_PATH ;
For Rec in Lot_Ship_Assy_Filename Loop
v_sysdate := to_char(sysdate-1,'YYYYMMDD');
Filename:= Rec.shipfrom||'_'||Rec.shipto||'_'||substr(v_sysdate,1,8)||'_'||Rec.invoiceno||'.txt';
edi_hat_data := utl_file.fopen(vpath,filename,'W');
var1 := to_char(sysdate,'YYYYMMDD HH24MISS');
dbms_output.put_line('Start '||var1);
Hdr_Sql := 'H'||to_char(sysdate-1,'YYMMDD');
utl_file.put_line(edi_hat_data,Hdr_sql);
nRecord := '0';
For Lotcur in Lot_Ship_Assy (Rec.InvoiceNo) Loop
vLotCode := ' ';
If instr(vLotCode,'RR') > 0 or instr(vLotCode,'CR') > 0 or
instr(vLotCode,'RT') > 0 or instr(vLotCode,'RE') > 0 or
instr(vLotCode,'CE') > 0 or instr(vLotCode,'RW') > 0 Then
vLotCode := 'REWORK';
Elsif (instr(vLotCode,'E') > 0 and instr(vLotCode,'IE') = 0 and instr(vLotCode,'PPE') = 0) or instr(vLotCode,'Q') > 0 Then
vLotCode := 'ENGINEERING';
Else
vLotCode := 'PRODUCTION';
End if;
Unix_Sql := rpad(LotCur.Record_Id,1,' ')||rpad(Lotcur.InvoiceNo,20,' ')||rpad(Lotcur.MAWB,35,' ')||rpad(NVL(Lotcur.HAWB,' '),35,' ')||
rpad(Lotcur.Ship_Out_Date,6,' ')||rpad(Lotcur.Ship_Out_Time,6,' ')||
rpad(Lotcur.From_Org_Code,3,' ')||
rpad(Lotcur.To_Org_Code,3,' ')||
rpad(Lotcur.Intersil_Lot_No,20,' ')||rpad(Lotcur.Dept,8,' ')||rpad(Lotcur.WaferLotNumber,20,' ')||
rpad(Lotcur.Part_Name,25,' ')||
rpad(Lotcur.PD_Part_Name,25,' ')||lpad(Lotcur.Die_Qty,10,'0')||
rpad(Lotcur.Wafer_Quantity,2,'0')||
rpad(NVL(Lotcur.Tracecode,' '),10,' ')||rpad(NVL(Lotcur.Datecode,' '),4,' ')||rpad(vLotCode,20,' ')||
rpad(' ',30,' ');
utl_file.put_line(edi_hat_data,Unix_sql);
nRecord := nRecord + 1;
End Loop;
Hdr_Sql := 'T'||lpad(nRecord,5,'0');
utl_file.put_line(edi_hat_data,Hdr_sql);
v_msg := 'Close Unix File';
utl_file.fclose(edi_hat_data);
End loop;Can someone help to advice?You or your DBA should trace/tkprof (with wait events) that code.
The reason I have two loops is because I need to generate multiple files with different invoices.This does not work with one loop.I beg to differ on that: probably it can be done in a single loop (but it's hard to prove without seeing the cursor queries).
The question is what difference in time it will make. We don't have your cursors (or machines, or database version or data or...)
Therefore you need to test your queries, check the explain plans, or better: have a run of that code being traced and check the outcomes. -
Query takes 14 hours to complete - kindly help
I'm using Oracle9207 32bit on windows server 2003.
I executed the following query and it takes 14 hours to complete. I don't understand why it takes too long, the database is in archivelog mode and it is not running any other queries. I even specified nologging and the parallel option. And before performing the operation I even "alter table move..." the incmsg table.
The incmsg table contains around 70Million rows.
create table "ECI"."outactions_temp" tablespace USERS nologging parallel as select * FROM "ECI"."outactions" WHERE "ECI"."outactions"."incmsgserno" IN (select "ECI"."incmsg"."serno" from "ECI"."incmsg" where "ECI"."incmsg"."applicationserno" = 2 and "ECI"."incmsg"."timestamp" between to_date('01-MAY-2007', 'DD Mon YYYY') and to_date('21-SEP-2007', 'DD Mon YYYY'));
The execution plan is as follows:
SQL> select plan_table_output from table(dbms_xplan.display('PLAN_TABLE',null,'ALL'));
| Id | Operation | Name | Rows | Bytes | Cost | TQ |IN-OUT| PQ Distrib |
| 0 | CREATE TABLE STATEMENT | | 993 | 2050K| 8322 | | | |
| 1 | LOAD AS SELECT | | | | | 30,01 | P->S | QC (RAND) |
| 2 | TABLE ACCESS BY INDEX ROWID | outactions | 1 | 2080 | 3 | 30,01 | PCWC | |
| 3 | NESTED LOOPS | | 993 | 2050K| 8322 | 30,01 | PCWP | |
| 4 | TABLE ACCESS BY INDEX ROWID| incmsg | 993 | 34755 | 5343 | 30,00 | S->P | RND-ROBIN |
| 5 | INDEX RANGE SCAN | IX_INCMSG_TSTAMP | 178K| | 334 | | | |
| 6 | INDEX RANGE SCAN | IX104_1 | 1 | | 2 | 30,01 | PCWP | |
PX Slave SQL Information (identified by operation id):
1 - CREATE TABLE "ECI".:Q630001 TABLESPACE "USERS" NOLOGGING AS SELECT C0,C1,C2,C3,C4,C5,C6,C7 FROM (SELECT
/*+ ORDERED NO_EXPAND USE_NL(A2) INDEX(A2 "IX104_1") */ A2."serno" C0,A2."source" C1,A2."incmsgserno"
C2,A2."strategyserno" C3,A2."testrunserno" C4,A2."timestamp" C5,A2."xml_actions" C6,A2."status" C7 FROM :Q630000
A1,"ECI"."outactions" A2 WHERE A2."incmsgserno"=A1.C1)
23 rows selected.I executed the query without the create table statement and the following is the explain plan. I'm still reading thru FAQ on how to format the explain plan.
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost
| TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 993 | 2050K| 832
PLAN_TABLE_OUTPUT
2 | | | |
| 1 | TABLE ACCESS BY INDEX ROWID | outactions | 1 | 2080 |
3 | 33,01 | PCWC | |
| 2 | NESTED LOOPS | | 993 | 2050K| 832
2 | 33,01 | P->S | QC (RAND) |
| 3 | TABLE ACCESS BY INDEX ROWID| incmsg | 993 | 34755 | 534
3 | 33,00 | S->P | RND-ROBIN |
PLAN_TABLE_OUTPUT
| 4 | INDEX RANGE SCAN | IX_INCMSG_TSTAMP | 178K| | 33
4 | | | |
| 5 | INDEX RANGE SCAN | IX104_1 | 1 | |
2 | 33,01 | PCWP | |
PX Slave SQL Information (identified by operation id):
PLAN_TABLE_OUTPUT
2 - SELECT /*+ ORDERED NO_EXPAND USE_NL(A2) INDEX(A2 "IX104_1") */
A1.C0,A1.C1,A1.C2,A2.ROWID,A2."serno",A2."source",A2."incmsgserno"
,A2."strategyserno",A2."testrunserno",A2."time
stamp",A2."xml_actions",A2."status" FROM :Q633000 A1,"ECI"."outact
ions" A2 WHERE A2."incmsgserno"=A1.C1
PLAN_TABLE_OUTPUT
Note: cpu costing is off, PLAN_TABLE' is old version
21 rows selected.
SQL> spool off; -
75 Hours to complete full install of FCS2
75 Hours to complete full install of FCS2...
This doesn't sound right. I just recieved my new Early 2008 Mac Pro 8 way 3Ghz with 16GB Ram and the 8800GT. I am installing FCS2, and asked for everything to be installed. Each DVD is taking forever to install, and currently I am only on the second audio content DVD. Doesn't make alot of sense why it is taking soooo long to install. I am updated to 10.5.2 and the Graphics update. I didn't see any warnings or errors in the console, as I had first thought I would have seen DVD errors or something like that. I am curious if anyone else has seen this issue. Thanks for any input anyone has on this issue.on our work system it was 2 hours on our dual 2.5 g5 and 1.5 hours on our dual quad core MacPro now our Mac Pro 3 1/2 TBs of hd storage and none of them are stripped also there are some minor quirks that show up on the 8800 gt chipset from nvida that could cause data interference from the pci to the ata bus
-
Gather Schema Statistics Report taking more than 13 hours to complete is it normal?
I have run Gather Schema Statistics Report at 9 pm and it completed on 11am next morning. It almost took more than 13 hours, is this behavior normal.
I have used the following parameter.
Schema name: ALL
Estimate percent:50
Backup Flag :NOBACKUP
History Mode :LASTRUN
Gather Option:GATHER
Invalidate Dependent Cursor : Y
My database size is about 250 GB.
Please replyGather schema stastics is erroring out when i'm using the GATHER_AUTO option with 10%.
Here is the log file
+---------------------------------------------------------------------------+
Application Object Library: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDGSCST module: Gather Schema Statistics
+---------------------------------------------------------------------------+
Current system time is 13-AUG-2013 10:42:12
+---------------------------------------------------------------------------+
**Starts**13-AUG-2013 10:42:12
ORACLE error 20001 in FDPSTP
Cause: FDPSTP failed due to ORA-20001: SYS_NTGNSVL1S+OCZGRAAHKD9MYG== is an invalid identifier
ORA-06512: at "APPS.FND_STATS", line 774
ORA-06512: at line 1
The SQL statement being executed at the time of the error was: SE
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
In GATHER_SCHEMA_STATS , schema_name= ALL percent= 10 degree = 8 internal_flag= NOBACKUP
ORA-20001: SYS_NTGNSVL1S+OCZGRAAHKD9MYG== is an invalid identifier
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 13-AUG-2013 10:43:29
+---------------------------------------------------------------------------+
I have used the following parameters
Schema name: ALL
Estimate percent:10
Backup Flag :NOBACKUP
History Mode :LASTRUN
Gather Option:GATHER_AUTO
Invalidate Dependent Cursor : Y -
Is Lightroom expected to take hours to complete "Import from Catalog" or is something wrong?
Im trying to import a catalog with about 2500 images into a "master catalog" with about 1500 images. It has taken hours for it to complete checking duplicate and then do the import after that. I restarted and now it is working "checking for changed duplicate photos".
Is this meant to be atrociously slow or am I missing something?Evidently this is designed to be attrociously slow... I can't think of any good reason why we would see this result otherwise. It's not like this is exactly a new issue with LR5.4... Realistically, this is probably a fairly low priority item for the development team in comparison, say... to the develop module image processing performance.
On a system that, practially speaking, has no effective resource bottlenecks: 2013 Mac Pro with disk that averages 850+MB/s read and write, 64 GB or RAM, 24 CPU cores, and a whole lot of OpenGL/CL GPU available, This is still going to take HOURS...
LR 5.4 is "checking for changed duplicate photos" between two 137K photo catalogs (~2.8 GB each) where I expect there to be approximately >90% duplicates.
I am seeing negligible disk I/O and it appears that LR is constrained to a single thread on a single CPU core for the entire scan/compare loop across the catalog data.
A short sample of "iostat" results:
$ iostat 1
disk0 disk1 disk3 cpu load average
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 95 2.22 1.96 1.86
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 2.22 1.96 1.86
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 2.22 1.96 1.86
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 2.22 1.96 1.86
4.00 28 0.11 0.00 0 0.00 0.00 0 0.00 4 1 95 3.08 2.15 1.93
13.51 35 0.46 0.00 0 0.00 0.00 0 0.00 4 0 95 3.08 2.15 1.93
4.00 1 0.00 0.00 0 0.00 0.00 0 0.00 4 0 95 3.08 2.15 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 3.08 2.15 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 95 3.08 2.15 1.93
65.07 75 4.76 0.00 0 0.00 0.00 0 0.00 5 1 94 3.00 2.14 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 3.00 2.14 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 95 3.00 2.14 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 5 1 94 3.00 2.14 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 3.00 2.14 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 5 0 94 3.00 2.16 1.93
4.08 96 0.38 0.00 0 0.00 0.00 0 0.00 4 0 96 3.00 2.16 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 3.00 2.16 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 96 3.00 2.16 1.93
13.02 51 0.65 0.00 0 0.00 0.00 0 0.00 4 0 95 3.00 2.16 1.93
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 95 2.92 2.15 1.93
^C
Process Statistics:
Processes: 185 total, 3 running, 7 stuck, 175 sleeping, 980 threads
Load Avg: 2.04, 2.13, 2.03
CPU usage: 4.46% user, 0.78% sys, 94.74% idle
SharedLibs: 352K resident, 0B data, 0B linkedit.
MemRegions: 143241 total, 8812M resident, 10M private, 1000M shared.
PhysMem: 15G used (3124M wired), 49G unused.
VM: 536G vsize, 1025M framework vsize, 0(0) swapins, 0(0) swapouts.
Networks: packets: 411925/102M in, 684453/694M out.
Disks: 494070/13G read, 341651/8620M written.
PID COMMAND %CPU TIME #TH #WQ #PORTS #MREGS MEM RPRVT PURG CMPRS VPRVT VSIZE PGRP PPID STATE UID
1363 Adobe Photoshop 100.5 91:02.75 37/1 1 368 11075 4191M+ 4146M+ 3356K 0B 18G+ 20G 1363 282 running 501
FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS KPRVT KSHRD IDLEW POWER
2271477+ 428258+ 406730+ 29053+ 3416239+ 584050+ 753600+ 3110 38M 223M+ 5883 100.5
Sampling the process via Mac OS Activity Monitor, the call graph shows that the "AsyncDataServer" thread is processing the majority of the workload during the "cheking for changed duplicate photos" phase of the catalog import.
Considering this appears to be a single thread attempting to process all of the catalog data iteratively, it would be my primary suspect to consider for more love and attention towards parallelization of this code, perhaps via OpenCL on the GPU if each comparison is discrete and meets the various criteria for efficient GPU processing, otherwise, at least refactor for multi-threaded execeution on the CPU(s)...
1947 Thread_305689: AsyncDataServer
+ 1945 thread_start (in libsystem_pthread.dylib) + 13 [0x106101fc9]
+ ! 1945 _pthread_start (in libsystem_pthread.dylib) + 137 [0x1060fd72a]
+ ! 1945 _pthread_body (in libsystem_pthread.dylib) + 138 [0x1060fd899]
+ ! 1945 __NSThread__main__ (in Foundation) + 1318 [0x10309a76b]
+ ! 1945 ??? (in AgSubstrate) load address 0x1049e5000 + 0x1261b [0x1049f761b]
+ ! 1945 lua_pcall (in AgKernel) + 101 [0x104876feb]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0xa16a [0x10487f16a]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x959d [0x10487e59d]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 AgLua_callWithAutoReleasePool (in AgSubstrate) + 84 [0x104a03610]
+ ! 1945 lua_call (in AgKernel) + 36 [0x104876f69]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x4149 [0x104879149]
+ ! 1945 lua_pcall (in AgKernel) + 101 [0x104876feb]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0xa16a [0x10487f16a]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x959d [0x10487e59d]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x4149 [0x104879149]
+ ! 1945 lua_pcall (in AgKernel) + 101 [0x104876feb]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0xa16a [0x10487f16a]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x959d [0x10487e59d]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x4149 [0x104879149]
+ ! 1945 lua_pcall (in AgKernel) + 101 [0x104876feb]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0xa16a [0x10487f16a]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x959d [0x10487e59d]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 AgLua_callWithAutoReleasePool (in AgSubstrate) + 84 [0x104a03610]
+ ! 1945 lua_call (in AgKernel) + 36 [0x104876f69]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x4149 [0x104879149]
+ ! 1945 lua_pcall (in AgKernel) + 101 [0x104876feb]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0xa16a [0x10487f16a]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x959d [0x10487e59d]
+ ! 1945 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! 876 ??? (in AgKernel) load address 0x104875000 + 0x185c2 [0x10488d5c2]
+ ! : 785 ??? (in AgKernel) load address 0x104875000 + 0x172c8 [0x10488c2c8]
+ ! : | 773 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! : | + 283 ??? (in AgKernel) load address 0x104875000 + 0x185c2 [0x10488d5c2]
+ ! : | + ! 123 ??? (in AgKernel) load address 0x104875000 + 0x17164 [0x10488c164]
+ ! : | + ! : 61 ??? (in AgKernel) load address 0x104875000 + 0x15e36 [0x10488ae36]
+ ! : | + ! : 12 ??? (in AgKernel) load address 0x104875000 + 0x15e10 [0x10488ae10]
+ ! : | + ! : 6 ??? (in AgKernel) load address 0x104875000 + 0x15e42 [0x10488ae42]
+ ! : | + ! : 6 ??? (in AgKernel) load address 0x104875000 + 0x15e4a [0x10488ae4a]
+ ! : | + ! : 6 ??? (in AgKernel) load address 0x104875000 + 0x15e5d [0x10488ae5d]
+ ! : | + ! : 5 ??? (in AgKernel) load address 0x104875000 + 0x15e38 [0x10488ae38]
+ ! : | + ! : 4 ??? (in AgKernel) load address 0x104875000 + 0x15e3e [0x10488ae3e]
+ ! : | + ! : 3 ??? (in AgKernel) load address 0x104875000 + 0x15e1c [0x10488ae1c]
+ ! : | + ! : 2 ??? (in AgKernel) load address 0x104875000 + 0x15d95 [0x10488ad95]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x15dfb [0x10488adfb]
+ ! : | + ! : 2 ??? (in AgKernel) load address 0x104875000 + 0x15da0 [0x10488ada0]
+ ! : | + ! : 2 ??? (in AgKernel) load address 0x104875000 + 0x15e0d [0x10488ae0d]
+ ! : | + ! : 2 ??? (in AgKernel) load address 0x104875000 + 0x15ea2 [0x10488aea2]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15ebf [0x10488aebf]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0xf8b9 [0x1048848b9]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e17 [0x10488ae17]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e19 [0x10488ae19]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e1f [0x10488ae1f]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e27 [0x10488ae27]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e2b [0x10488ae2b]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e32 [0x10488ae32]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e47 [0x10488ae47]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e55 [0x10488ae55]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e56 [0x10488ae56]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e9d [0x10488ae9d]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15ea0 [0x10488aea0]
+ ! : | + ! 119 ??? (in AgKernel) load address 0x104875000 + 0x172c8 [0x10488c2c8]
+ ! : | + ! : 112 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! : | + ! : | 62 ??? (in AgKernel) load address 0x104875000 + 0x185c2 [0x10488d5c2]
+ ! : | + ! : | + 40 ??? (in AgKernel) load address 0x104875000 + 0x17164 [0x10488c164]
+ ! : | + ! : | + ! 22 ??? (in AgKernel) load address 0x104875000 + 0x15e36 [0x10488ae36]
+ ! : | + ! : | + ! 7 ??? (in AgKernel) load address 0x104875000 + 0x15e10 [0x10488ae10]
+ ! : | + ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x15e15 [0x10488ae15]
+ ! : | + ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x15e38 [0x10488ae38]
+ ! : | + ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x15e3e [0x10488ae3e]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15da0 [0x10488ada0]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15e0a [0x10488ae0a]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15e42 [0x10488ae42]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15e4a [0x10488ae4a]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15e99 [0x10488ae99]
+ ! : | + ! : | + 13 ??? (in AgKernel) load address 0x104875000 + 0x172c8 [0x10488c2c8]
+ ! : | + ! : | + ! 12 ??? (in AgKernel) load address 0x104875000 + 0x9f12 [0x10487ef12]
+ ! : | + ! : | + ! : 7 ??? (in AgKernel) load address 0x104875000 + 0x185c2 [0x10488d5c2]
+ ! : | + ! : | + ! : | 6 ??? (in AgKernel) load address 0x104875000 + 0x17164 [0x10488c164]
+ ! : | + ! : | + ! : | + 2 ??? (in AgKernel) load address 0x104875000 + 0x15e27 [0x10488ae27]
+ ! : | + ! : | + ! : | + 2 ??? (in AgKernel) load address 0x104875000 + 0x15e36 [0x10488ae36]
+ ! : | + ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x15e3e [0x10488ae3e]
+ ! : | + ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x15e4b [0x10488ae4b]
+ ! : | + ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17217 [0x10488c217]
+ ! : | + ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x181a9 [0x10488d1a9]
+ ! : | + ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x98bf [0x10487e8bf]
+ ! : | + ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x17b45 [0x10488cb45]
+ ! : | + ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x185b7 [0x10488d5b7]
+ ! : | + ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x18dbe [0x10488ddbe]
+ ! : | + ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x18e13 [0x10488de13]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x9f01 [0x10487ef01]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x98bf [0x10487e8bf]
+ ! : | + ! : | + 2 ??? (in AgKernel) load address 0x104875000 + 0x1713a [0x10488c13a]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x17116 [0x10488c116]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x1711e [0x10488c11e]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x17158 [0x10488c158]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x1715f [0x10488c15f]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x17164 [0x10488c164]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x17217 [0x10488c217]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x172e0 [0x10488c2e0]
+ ! : | + ! : | 4 ??? (in AgKernel) load address 0x104875000 + 0x181a9 [0x10488d1a9]
+ ! : | + ! : | + 2 ??? (in AgKernel) load address 0x104875000 + 0x99e0 [0x10487e9e0]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9c98 [0x10487ec98]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9d32 [0x10487ed32]
+ ! : | + ! : | 3 ??? (in AgKernel) load address 0x104875000 + 0x1814f [0x10488d14f]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9c3f [0x10487ec3f]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x3d38 [0x104878d38]
+ ! : | + ! : | + ! 1 lua_pushvalue (in AgKernel) + 14 [0x104876318]
+ ! : | + ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x11e2 [0x1048761e2]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9993 [0x10487e993]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9cf1 [0x10487ecf1]
+ ! : | + ! : | 3 ??? (in AgKernel) load address 0x104875000 + 0x17c66 [0x10488cc66]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x18de2 [0x10488dde2]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9e15 [0x10487ee15]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0x9e5e [0x10487ee5e]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17a6e [0x10488ca6e]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17b33 [0x10488cb33]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17b3e [0x10488cb3e]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17b45 [0x10488cb45]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17c52 [0x10488cc52]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17c6d [0x10488cc6d]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x17c72 [0x10488cc72]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x18d99 [0x10488dd99]
+ ! : | + ! : | 2 ??? (in AgKernel) load address 0x104875000 + 0x18d9d [0x10488dd9d]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18dd2 [0x10488ddd2]
+ ! : | + ! : | + 1 ??? (in AgKernel) load address 0x104875000 + 0xabe8 [0x10487fbe8]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17a63 [0x10488ca63]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17aeb [0x10488caeb]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17b27 [0x10488cb27]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17b2b [0x10488cb2b]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17b2f [0x10488cb2f]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17c63 [0x10488cc63]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17c6a [0x10488cc6a]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17cb1 [0x10488ccb1]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17df2 [0x10488cdf2]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17df6 [0x10488cdf6]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x17dfb [0x10488cdfb]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18176 [0x10488d176]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x1817a [0x10488d17a]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18852 [0x10488d852]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18d10 [0x10488dd10]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18d53 [0x10488dd53]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18d74 [0x10488dd74]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18d7d [0x10488dd7d]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x18dc7 [0x10488ddc7]
+ ! : | + ! : 6 ??? (in AgKernel) load address 0x104875000 + 0x9f01 [0x10487ef01]
+ ! : | + ! : | 3 ??? (in AgKernel) load address 0x104875000 + 0x9cea [0x10487ecea]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x98d3 [0x10487e8d3]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x997d [0x10487e97d]
+ ! : | + ! : | 1 ??? (in AgKernel) load address 0x104875000 + 0x99d1 [0x10487e9d1]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x9f1e [0x10487ef1e]
+ ! : | + ! 5 ??? (in AgKernel) load address 0x104875000 + 0x17217 [0x10488c217]
+ ! : | + ! 4 ??? (in AgKernel) load address 0x104875000 + 0x1720c [0x10488c20c]
+ ! : | + ! 3 ??? (in AgKernel) load address 0x104875000 + 0x1711c [0x10488c11c]
+ ! : | + ! 3 ??? (in AgKernel) load address 0x104875000 + 0x1711e [0x10488c11e]
+ ! : | + ! 3 ??? (in AgKernel) load address 0x104875000 + 0x17164 [0x10488c164]
+ ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x1719c [0x10488c19c]
+ ! : | + ! : 2 ??? (in AgKernel) load address 0x104875000 + 0x16fca [0x10488bfca]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e0a [0x10488ae0a]
+ ! : | + ! : 1 ??? (in AgKernel) load address 0x104875000 + 0x15e36 [0x10488ae36]
+ ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x17122 [0x10488c122]
+ ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x1716d [0x10488c16d]
+ ! : | + ! 2 ??? (in AgKernel) load address 0x104875000 + 0x1721c [0x10488c21c]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x15ea3 [0x10488aea3]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x1711a [0x10488c11a]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17127 [0x10488c127]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17132 [0x10488c132]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x1713a [0x10488c13a]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x1713f [0x10488c13f]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17148 [0x10488c148]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17152 [0x10488c152]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17195 [0x10488c195]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x17210 [0x10488c210]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x1721f [0x10488c21f]
+ ! : | + ! 1 ??? (in AgKernel) load address 0x104875000 + 0x1722a [0x10488c22a]
+ ! : | + ! 1 ??? -
Took 6 hours to complete xquery!!! help me.
I got a xml schema which has more than 3 thousands of elements.
I created xml table and tried to insert elements of the schema into the table.
It took about 6 hours completed.
What a performance !
CREATE TABLE "FINESUSER"."TSCHEMA" OF SYS.XMLTYPE XMLTYPE STORE AS CLOB
INSERT INTO TSCHEMA SELECT HTTPURIType('http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31/krfr-pte-2006-05-31.xsd').getXML() FROM dual;
below XQuery took almost 6 hours (about 18,000 seconds)
Is there any idea to take not much time ?
SELECT id,concat(concat(prefix,':'),name) as name,tp,grp,abstract,nillable,period
FROM TSCHEMA t,
XMLTABLE(
XMLNAMESPACES(
'http://www.w3.org/1999/xlink' AS "xlink",
'http://www.xbrl.org/2003/linkbase' AS "link",
'http://www.xbrl.org/2003/instance' AS "xbrli",
'http://www.xbrl.org/2003/iso4217' AS "iso4217",
'http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09' AS "kisinfo-ci",
'http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09' AS "kisinfo-gcd",
'http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09' AS "kisinfo-profile",
'http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09' AS "kisinfo-ratio",
'http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario' AS "kisinfo-scenario",
'http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31' AS "kr-gaap-ci",
'http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31' AS "krfr-pte",
'http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31' AS "krfr-ptr",
'http://www.xbrl.or.kr/2006/role/subitem-notes' AS "p0",
'http://xmlns.oracle.com/xdb' AS "ora",
DEFAULT 'http://www.w3.org/2001/XMLSchema'),
let $ns := $doc/schema/@targetNamespace
for $prefix in $doc/schema/@xmlns:*[.=$ns]/name()
where contains($prefix,":")
return
let $pn := substring-after($prefix,":")
for $e in $doc/schema/element
return <item prefix="{$pn}">{$e}</item>'
PASSING t.OBJECT_VALUE as "doc"
COLUMNS
id varchar2(128) PATH 'element/@id',
prefix varchar2(128) PATH '@prefix',
name varchar2(128) PATH 'element/@name',
tp varchar2(16) PATH 'element/@type',
grp varchar2(16) PATH 'element/@substitutionGroup',
abstract varchar2(16) PATH 'element/@abstract',
nillable varchar2(16) PATH 'element/@nillable',
period varchar2(16) PATH 'element/@xbrli:periodType'
) xt;#1. I have said before you really need to wait for 11g before attempting to do any serious work with XBRL.
#2. You should be querying registered versions of the XML Schema, not attempting to run queries over an XML Schema stored as CLOB XMLType.
#3. The XML Schema you discovered is the internal version of the XML Schema for Schemas.
So I'd start by registering the XML Schemas...
C:\xdb\customers\XBRL\KOREA>sh testcase.sh
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:01 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> spool createUser.log
SQL> set trimspool on
SQL> connect sys/ as sysdba
Enter password:
Connected.
SQL> --
SQL> set define on
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> def USER_TABLESPACE = USERS
SQL> --
SQL> def TEMP_TABLESPACE = TEMP
SQL> --
SQL> def XMLDIR = &1
SQL> --
SQL> drop user &USERNAME cascade
2 /
old 1: drop user &USERNAME cascade
new 1: drop user KORFSA cascade
User dropped.
SQL> grant connect, resource to &USERNAME identified by &PASSWORD
2 /
old 1: grant connect, resource to &USERNAME identified by &PASSWORD
new 1: grant connect, resource to KORFSA identified by KORFSA
Grant succeeded.
SQL> grant create any directory, drop any directory to &USERNAME
2 /
old 1: grant create any directory, drop any directory to &USERNAME
new 1: grant create any directory, drop any directory to KORFSA
Grant succeeded.
SQL> grant alter session, create view to &USERNAME
2 /
old 1: grant alter session, create view to &USERNAME
new 1: grant alter session, create view to KORFSA
Grant succeeded.
SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
2 /
old 1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
new 1: alter user KORFSA default tablespace USERS temporary tablespace TEMP
User altered.
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> drop directory XMLDIR
2 /
Directory dropped.
SQL> create or replace directory XMLDIR as '&XMLDIR'
2 /
old 1: create or replace directory XMLDIR as '&XMLDIR'
new 1: create or replace directory XMLDIR as 'C:/xdb/customers/XBRL/KOREA'
Directory created.
SQL> call xdb_utilities.createHomeFolder()
2 /
Call completed.
SQL> commit
2 /
Commit complete.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:46 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> spool uploadFileList_&1..log
SQL> --
SQL> set serveroutput on size 20000
SQL> --
SQL> call xdb_utilities.UploadFiles('&1','XMLDIR')
2 /
old 1: call xdb_utilities.UploadFiles('&1','XMLDIR')
new 1: call xdb_utilities.UploadFiles('FileList-XBRL.xml','XMLDIR')
Call completed.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:47 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> spool uploadFileList_&1..log
SQL> --
SQL> set serveroutput on size 20000
SQL> --
SQL> call xdb_utilities.UploadFiles('&1','XMLDIR')
2 /
old 1: call xdb_utilities.UploadFiles('&1','XMLDIR')
new 1: call xdb_utilities.UploadFiles('SchemaList-KIS.xml','XMLDIR')
Call completed.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:48 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> spool annotateLinkbase.log
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> declare
2 xmlSchema xmltype;
3 res boolean;
4 schemaDoc varchar2(256);
5
6 begin
7
8 schemaDoc := '/home/&USERNAME/xsd/xl-2003-12-31.xsd';
9 xmlschema := xdburitype(schemaDoc).getXML();
10
11 xdb_annotate_xmlschema.addXDBNamespace(xmlschema);
12
13 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'documentationType','XL_DOCUMENTATION_T');
14 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'titleType','XL_TITLE_T');
15 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'locatorType','XL_LOCATOR_T');
16 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'arcType','XL_ARC_T');
17 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'resourceType','XL_RESOURCE_T');
18 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'extendedType','XL_EXTENDED_T');
19 xdb_annotate_xmlschema.addSQLTYPE(xmlschema,'simpleType','XL_SIMPLE_T');
20
21 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'locatorType',XDB_ANNOTATE_XMLSCHEMA.XSD_ATTRIBUTE,'xlink:titl
e','XLINK_TITLE');
22 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'arcType',XDB_ANNOTATE_XMLSCHEMA.XSD_ATTRIBUTE,'xlink:title','
XLINK_TITLE');
23 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'resourceType',XDB_ANNOTATE_XMLSCHEMA.XSD_ATTRIBUTE,'xlink:tit
le','XLINK_TITLE');
24 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'extendedType',XDB_ANNOTATE_XMLSCHEMA.XSD_ATTRIBUTE,'xlink:tit
le','XLINK_TITLE');
25 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'simpleType',XDB_ANNOTATE_XMLSCHEMA.XSD_ATTRIBUTE,'xlink:title
','XLINK_TITLE');
26
27 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'locatorType',XDB_ANNOTATE_XMLSCHEMA.XSD_ELEMENT,'xl:title','X
L_TITLE');
28 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'arcType',XDB_ANNOTATE_XMLSCHEMA.XSD_ELEMENT,'xl:title','XL_TI
TLE');
29 xdb_annotate_xmlschema.addSQLName(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'extendedType',XDB_ANNOTATE_XMLSCHEMA.XSD_ELEMENT,'xl:title','
XL_TITLE');
30
31 dbms_xdb.deleteResource(schemaDoc);
32 res := dbms_xdb.createResource(schemaDoc,xmlSchema);
33 commit;
34
35 schemaDoc := '/home/&USERNAME/xsd/xbrl-linkbase-2003-12-31.xsd';
36 xmlschema := xdburitype(schemaDoc).getXML();
37
38 xdb_annotate_xmlschema.addXDBNamespace(xmlschema);
39 xdb_annotate_xmlschema.addDefaultTable(xmlschema, 'linkbase','LINKBASE_TABLE');
40 xdb_annotate_xmlschema.disableDefaultTables(xmlschema);
41
42 xdb_annotate_xmlschema.addStoreVarrayAsTable(xmlschema);
43 xdb_annotate_xmlschema.addSQLType(xmlschema,'linkbase','LINKBASE_T');
44 xdb_annotate_xmlschema.addSQLType(xmlschema,'calculationLink','CALCULATION_LINK_T');
45 xdb_annotate_xmlschema.addSQLType(xmlschema,'definitionLink','DEFINITION_LINK_T');
46 xdb_annotate_xmlschema.addSQLType(xmlschema,'footnoteLink','FOOTNOTE_LINK_T');
47 xdb_annotate_xmlschema.addSQLType(xmlschema,'labelLink','LABEL_LINK_T');
48 xdb_annotate_xmlschema.addSQLType(xmlschema,'presentationLink','PRESENTATION_LINK_T');
49 xdb_annotate_xmlschema.addSQLType(xmlschema,'referenceLink','REFERENCE_LINK_T');
50 xdb_annotate_xmlschema.addSQLType(xmlschema,'calculationLink','CALCULATION_LINK_T');
51
52 xdb_annotate_xmlschema.addSQLType(xmlschema,'presentationArc','PRESENTATION_ARC_T');
53 xdb_annotate_xmlschema.addSQLType(xmlschema,'calculationArc','CALCULATION_ARC_T');
54
55 xdb_annotate_xmlschema.addSQLType(xmlschema,'label','LABEL_T');
56 xdb_annotate_xmlschema.addSQLType(xmlschema,'reference','REFERENCE_T');
57 xdb_annotate_xmlschema.addSQLType(xmlschema,'footnote','FOOTNOTE_T');
58
59 xdb_annotate_xmlschema.addSQLType(xmlschema,'linkbaseRef','LINKBASE_REF_T');
60 xdb_annotate_xmlschema.addSQLType(xmlschema,'roleRef','ROLE_REF_T');
61 xdb_annotate_xmlschema.addSQLType(xmlschema,'arcroleRef','ARCROLE_REF_T');
62
63 xdb_annotate_xmlschema.addSQLType(xmlschema,'roleType','ROLE_TYPE_T');
64 xdb_annotate_xmlschema.addSQLType(xmlschema,'arcroleType','ARCROLE_TYPE_T');
65
66 xdb_annotate_xmlschema.addSQLCollType(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'linkbase','xlink:documentation','DOCUMENTATION_LINK_V');
67 xdb_annotate_xmlschema.addSQLCollType(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'linkbase','xlink:roleRef','ROLE_REF_LINK_V');
68 xdb_annotate_xmlschema.addSQLCollType(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'linkbase','xlink:arcroleRef','ARC_ROLE_REF_LINK_V');
69 xdb_annotate_xmlschema.addSQLCollType(xmlSchema,XDB_ANNOTATE_SCHEMA.XSD_COMPLEX_TYPE,'linkbase','xl:extended','EXTENDED_LINK_V');
70
71 dbms_xdb.deleteResource(schemaDoc);
72 res := dbms_xdb.createResource(schemaDoc,xmlSchema);
73 commit;
74
75 end;
76 /
old 8: schemaDoc := '/home/&USERNAME/xsd/xl-2003-12-31.xsd';
new 8: schemaDoc := '/home/KORFSA/xsd/xl-2003-12-31.xsd';
old 35: schemaDoc := '/home/&USERNAME/xsd/xbrl-linkbase-2003-12-31.xsd';
new 35: schemaDoc := '/home/KORFSA/xsd/xbrl-linkbase-2003-12-31.xsd';
PL/SQL procedure successfully completed.
SQL> --
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:49 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> spool annotateInstance.log
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> declare
2 xmlSchema xmltype;
3 res boolean;
4 schemaDoc varchar2(256);
5
6 begin
7 schemaDoc := '/home/&USERNAME/xsd/xbrl-instance-2003-12-31.xsd';
8 xmlschema := xdburitype(schemaDoc).getXML();
9
10 xdb_annotate_schema.addXDBNamespace(xmlschema);
11 xdb_annotate_schema.addDefaultTable(xmlschema, 'xbrl','XBRL_TABLE');
12 xdb_annotate_schema.disableDefaultTables(xmlschema);
13
14 select insertChildXML
15 (
16 xmlSchema,
17 '/schema/element[@name="xbrl"]',
18 '@xdb:SQLType',
19 'CLOB',
20 'xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"'
21 )
22 into xmlSchema
23 from dual;
24
25 dbms_xdb.deleteResource(schemaDoc);
26 res := dbms_xdb.createResource(schemaDoc,xmlSchema);
27 commit;
28
29 end;
30 /
old 7: schemaDoc := '/home/&USERNAME/xsd/xbrl-instance-2003-12-31.xsd';
new 7: schemaDoc := '/home/KORFSA/xsd/xbrl-instance-2003-12-31.xsd';
PL/SQL procedure successfully completed.
SQL> --
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:49 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> spool registerSchema_&1..log
SQL> --
SQL> set timing on
SQL> --
SQL> alter session set events='31098 trace name context forever'
2 /
Session altered.
Elapsed: 00:00:00.00
SQL> set serveroutput on size 200000
SQL> --
SQL> declare
2 SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','&1'),nls_charset_id('AL32UTF8'));
3
4 SCHEMALIST_DOM DBMS_XMLDOM.DOMDOCUMENT;
5 SCHEMA_NODELIST DBMS_XMLDOM.DOMNODELIST;
6 SCHEMA_NODE DBMS_XMLDOM.DOMNODE;
7
8 SOURCE_PATH VARCHAR2(256);
9 SCHEMA_URL_VALUE VARCHAR2(256);
10 SCHEMA_REGISTERED NUMBER(1);
11
12 NODE_VALUE VARCHAR2(256);
13
14 LOCAL BOOLEAN := TRUE;
15 GENTYPES BOOLEAN := TRUE;
16 GENBEAN BOOLEAN := FALSE;
17 GENTABLES BOOLEAN := TRUE;
18 FORCE BOOLEAN := FALSE;
19
20 OWNER VARCHAR2(32) := USER;
21
22 BINARY_XML BOOLEAN := &2;
23
24 SCHEMA_XPATH VARCHAR2(256);
25 CHILD_XPATH VARCHAR2(256);
26
27 XPATH_INDEX number(2);
28
29 XMLSCHEMA XMLTYPE;
30
31 res boolean;
32
33 begin
34 SCHEMALIST_DOM := DBMS_XMLDOM.newDOMDocument(SCHEMALIST_XML);
35 SCHEMA_NODELIST := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(SCHEMALIST_DOM,'schema');
36
37 FOR i in 0 .. (DBMS_XMLDOM.GETLENGTH(SCHEMA_NODELIST) - 1) LOOP
38
39 LOCAL := TRUE;
40 GENTYPES := TRUE;
41 GENBEAN := FALSE;
42 GENTABLES := TRUE;
43 FORCE := FALSE;
44 OWNER := USER;
45 BINARY_XML := &2;
46
47 XPATH_INDEX := i+1;
48
49 SCHEMA_XPATH := '/schemas/schema[' || XPATH_INDEX || ']/';
50
51 CHILD_XPATH := SCHEMA_XPATH || 'document/text()';
52 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, SOURCE_PATH);
53
54
55 CHILD_XPATH := SCHEMA_XPATH || 'schemaURL/text()';
56 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, SCHEMA_URL_VALUE);
57
58 CHILD_XPATH := SCHEMA_XPATH || 'owner/text()';
59 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
60 if (UPPER(NODE_VALUE) IS NOT NULL) then
61 OWNER := UPPER(NODE_VALUE);
62 end if;
63
64 CHILD_XPATH := SCHEMA_XPATH || 'local/text()';
65 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
66 if (UPPER(NODE_VALUE) = 'FALSE') then
67 LOCAL := FALSE;
68 end if;
69
70 CHILD_XPATH := SCHEMA_XPATH || 'genTypes/text()';
71 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
72 if (UPPER(NODE_VALUE) = 'FALSE') then
73 GENTYPES := FALSE;
74 end if;
75
76 CHILD_XPATH := SCHEMA_XPATH || 'genTables/text()';
77 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
78 if (UPPER(NODE_VALUE) = 'FALSE') then
79 GENTABLES := FALSE;
80 end if;
81
82 CHILD_XPATH := SCHEMA_XPATH || 'force/text()';
83 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
84 if (UPPER(NODE_VALUE) = 'TRUE') then
85 FORCE := TRUE;
86 end if;
87 --
88 -- CHILD_XPATH := SCHEMA_XPATH || 'binary/text()';
89 -- DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
90 -- if (UPPER(NODE_VALUE) = 'TRUE') then
91 -- BINARY_XML := TRUE;
92 -- end if;
93 --
94 SOURCE_PATH := '/home/&USERNAME' || SOURCE_PATH;
95
96 begin
97 select 1
98 into SCHEMA_REGISTERED
99 from USER_XML_SCHEMAS
100 where schema_URL = SCHEMA_URL_VALUE;
101 dbms_output.put_line('Skipping :i "' || SCHEMA_URL_VALUE || '",');
102 exception
103 when no_data_found then
104
105 dbms_output.put_Line('dbms_xmlschema.registerSchema');
106 dbms_output.put_Line('(');
107 dbms_output.put_line('SCHEMAURL => "' || SCHEMA_URL_VALUE || '",');
108 dbms_output.put_line('SCHEMADOC => "' || SOURCE_PATH || '",');
109 dbms_output.put_line('LOCAL => ' || xdb_dom_utilities.boolean_to_varchar(LOCAL) || ',');
110 dbms_output.put_line('GENTYPES => ' || xdb_dom_utilities.boolean_to_varchar(GENTYPES) || ',');
111 dbms_output.put_line('GENBEAN => ' || xdb_dom_utilities.boolean_to_varchar(GENBEAN) || ',');
112 dbms_output.put_line('GENTABLES => ' || xdb_dom_utilities.boolean_to_varchar(GENTABLES)|| ',');
113 dbms_output.put_line('FORCE => ' || xdb_dom_utilities.boolean_to_varchar(FORCE) || ',');
114 dbms_output.put_line('OWNER => "' || OWNER || '"');
115 dbms_output.put_line('BINARY_XML => ' || xdb_dom_utilities.boolean_to_varchar(BINARY_XML) || ',');
116 dbms_output.put_line(')');
117
118 xmlSchema := xdbUriType(SOURCE_PATH).getXML();
119 xdb_annotate_schema.fixRelativeURLs(xmlSchema,SCHEMA_URL_VALUE);
120 dbms_xdb.deleteResource(SOURCE_PATH);
121 res := dbms_xdb.createResource(SOURCE_PATH,xmlSchema);
122
123 if (BINARY_XML) then
124 dbms_xmlschema.registerSchema(SCHEMAURL => SCHEMA_URL_VALUE,
125 SCHEMADOC => xmlSchema,
126 LOCAL => LOCAL,
127 GENTYPES => FALSE,
128 GENBEAN => GENBEAN,
129 GENTABLES => GENTABLES,
130 FORCE => FORCE,
131 OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
132 OWNER => OWNER);
133 else
134 dbms_xmlschema.registerSchema(SCHEMAURL => SCHEMA_URL_VALUE,
135 SCHEMADOC => xmlSchema,
136 LOCAL => LOCAL,
137 GENTYPES => GENTYPES,
138 GENBEAN => GENBEAN,
139 GENTABLES => GENTABLES,
140 FORCE => FORCE,
141 OWNER => OWNER);
142 end if;
143 end;
144
145 END LOOP;
146 end;
147 /
old 2: SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','&1'),nls_charset_id('AL32UTF8'));
new 2: SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','Register-XBRL.xml'),nls_charset_id('AL32UTF8'));
old 22: BINARY_XML BOOLEAN := &2;
new 22: BINARY_XML BOOLEAN := FALSE;
old 45: BINARY_XML := &2;
new 45: BINARY_XML := FALSE;
old 94: SOURCE_PATH := '/home/&USERNAME' || SOURCE_PATH;
new 94: SOURCE_PATH := '/home/KORFSA' || SOURCE_PATH;
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xlink-2003-12-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xl-2003-12-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xbrl-linkbase-2003-12-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => TRUE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xl-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xbrl-instance-2003-12-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => TRUE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2004/ref-2004-08-10.xsd",
SCHEMADOC => "/home/KORFSA/xsd/ref-2004-08-10.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2005/xbrldt-2005.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xbrldt-2005.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL => "http://www.xbrl.org/2004/xbrldi-2006.xsd",
SCHEMADOC => "/home/KORFSA/xsd/xbrldi-2006.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
PL/SQL procedure successfully completed.
Elapsed: 00:00:09.59
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:21:59 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> spool registerSchema_&1..log
SQL> --
SQL> set timing on
SQL> --
SQL> alter session set events='31098 trace name context forever'
2 /
Session altered.
Elapsed: 00:00:00.00
SQL> set serveroutput on size 200000
SQL> --
SQL> declare
2 SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','&1'),nls_charset_id('AL32UTF8'));
3
4 SCHEMALIST_DOM DBMS_XMLDOM.DOMDOCUMENT;
5 SCHEMA_NODELIST DBMS_XMLDOM.DOMNODELIST;
6 SCHEMA_NODE DBMS_XMLDOM.DOMNODE;
7
8 SOURCE_PATH VARCHAR2(256);
9 SCHEMA_URL_VALUE VARCHAR2(256);
10 SCHEMA_REGISTERED NUMBER(1);
11
12 NODE_VALUE VARCHAR2(256);
13
14 LOCAL BOOLEAN := TRUE;
15 GENTYPES BOOLEAN := TRUE;
16 GENBEAN BOOLEAN := FALSE;
17 GENTABLES BOOLEAN := TRUE;
18 FORCE BOOLEAN := FALSE;
19
20 OWNER VARCHAR2(32) := USER;
21
22 BINARY_XML BOOLEAN := &2;
23
24 SCHEMA_XPATH VARCHAR2(256);
25 CHILD_XPATH VARCHAR2(256);
26
27 XPATH_INDEX number(2);
28
29 XMLSCHEMA XMLTYPE;
30
31 res boolean;
32
33 begin
34 SCHEMALIST_DOM := DBMS_XMLDOM.newDOMDocument(SCHEMALIST_XML);
35 SCHEMA_NODELIST := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(SCHEMALIST_DOM,'schema');
36
37 FOR i in 0 .. (DBMS_XMLDOM.GETLENGTH(SCHEMA_NODELIST) - 1) LOOP
38
39 LOCAL := TRUE;
40 GENTYPES := TRUE;
41 GENBEAN := FALSE;
42 GENTABLES := TRUE;
43 FORCE := FALSE;
44 OWNER := USER;
45 BINARY_XML := &2;
46
47 XPATH_INDEX := i+1;
48
49 SCHEMA_XPATH := '/schemas/schema[' || XPATH_INDEX || ']/';
50
51 CHILD_XPATH := SCHEMA_XPATH || 'document/text()';
52 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, SOURCE_PATH);
53
54
55 CHILD_XPATH := SCHEMA_XPATH || 'schemaURL/text()';
56 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, SCHEMA_URL_VALUE);
57
58 CHILD_XPATH := SCHEMA_XPATH || 'owner/text()';
59 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
60 if (UPPER(NODE_VALUE) IS NOT NULL) then
61 OWNER := UPPER(NODE_VALUE);
62 end if;
63
64 CHILD_XPATH := SCHEMA_XPATH || 'local/text()';
65 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
66 if (UPPER(NODE_VALUE) = 'FALSE') then
67 LOCAL := FALSE;
68 end if;
69
70 CHILD_XPATH := SCHEMA_XPATH || 'genTypes/text()';
71 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
72 if (UPPER(NODE_VALUE) = 'FALSE') then
73 GENTYPES := FALSE;
74 end if;
75
76 CHILD_XPATH := SCHEMA_XPATH || 'genTables/text()';
77 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
78 if (UPPER(NODE_VALUE) = 'FALSE') then
79 GENTABLES := FALSE;
80 end if;
81
82 CHILD_XPATH := SCHEMA_XPATH || 'force/text()';
83 DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
84 if (UPPER(NODE_VALUE) = 'TRUE') then
85 FORCE := TRUE;
86 end if;
87 --
88 -- CHILD_XPATH := SCHEMA_XPATH || 'binary/text()';
89 -- DBMS_XSLPROCESSOR.VALUEOF(DBMS_XMLDOM.MAKENODE(SCHEMALIST_DOM),CHILD_XPATH, NODE_VALUE);
90 -- if (UPPER(NODE_VALUE) = 'TRUE') then
91 -- BINARY_XML := TRUE;
92 -- end if;
93 --
94 SOURCE_PATH := '/home/&USERNAME' || SOURCE_PATH;
95
96 begin
97 select 1
98 into SCHEMA_REGISTERED
99 from USER_XML_SCHEMAS
100 where schema_URL = SCHEMA_URL_VALUE;
101 dbms_output.put_line('Skipping :i "' || SCHEMA_URL_VALUE || '",');
102 exception
103 when no_data_found then
104
105 dbms_output.put_Line('dbms_xmlschema.registerSchema');
106 dbms_output.put_Line('(');
107 dbms_output.put_line('SCHEMAURL => "' || SCHEMA_URL_VALUE || '",');
108 dbms_output.put_line('SCHEMADOC => "' || SOURCE_PATH || '",');
109 dbms_output.put_line('LOCAL => ' || xdb_dom_utilities.boolean_to_varchar(LOCAL) || ',');
110 dbms_output.put_line('GENTYPES => ' || xdb_dom_utilities.boolean_to_varchar(GENTYPES) || ',');
111 dbms_output.put_line('GENBEAN => ' || xdb_dom_utilities.boolean_to_varchar(GENBEAN) || ',');
112 dbms_output.put_line('GENTABLES => ' || xdb_dom_utilities.boolean_to_varchar(GENTABLES)|| ',');
113 dbms_output.put_line('FORCE => ' || xdb_dom_utilities.boolean_to_varchar(FORCE) || ',');
114 dbms_output.put_line('OWNER => "' || OWNER || '"');
115 dbms_output.put_line('BINARY_XML => ' || xdb_dom_utilities.boolean_to_varchar(BINARY_XML) || ',');
116 dbms_output.put_line(')');
117
118 xmlSchema := xdbUriType(SOURCE_PATH).getXML();
119 xdb_annotate_schema.fixRelativeURLs(xmlSchema,SCHEMA_URL_VALUE);
120 dbms_xdb.deleteResource(SOURCE_PATH);
121 res := dbms_xdb.createResource(SOURCE_PATH,xmlSchema);
122
123 if (BINARY_XML) then
124 dbms_xmlschema.registerSchema(SCHEMAURL => SCHEMA_URL_VALUE,
125 SCHEMADOC => xmlSchema,
126 LOCAL => LOCAL,
127 GENTYPES => FALSE,
128 GENBEAN => GENBEAN,
129 GENTABLES => GENTABLES,
130 FORCE => FORCE,
131 OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
132 OWNER => OWNER);
133 else
134 dbms_xmlschema.registerSchema(SCHEMAURL => SCHEMA_URL_VALUE,
135 SCHEMADOC => xmlSchema,
136 LOCAL => LOCAL,
137 GENTYPES => GENTYPES,
138 GENBEAN => GENBEAN,
139 GENTABLES => GENTABLES,
140 FORCE => FORCE,
141 OWNER => OWNER);
142 end if;
143 end;
144
145 END LOOP;
146 end;
147 /
old 2: SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','&1'),nls_charset_id('AL32UTF8'));
new 2: SCHEMALIST_XML XMLTYPE := XMLType(bfilename('XMLDIR','Register-KIS.xml'),nls_charset_id('AL32UTF8'));
old 22: BINARY_XML BOOLEAN := &2;
new 22: BINARY_XML BOOLEAN := FALSE;
old 45: BINARY_XML := &2;
new 45: BINARY_XML := FALSE;
old 94: SOURCE_PATH := '/home/&USERNAME' || SOURCE_PATH;
new 94: SOURCE_PATH := '/home/KORFSA' || SOURCE_PATH;
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31/krfr-pte-2006-05-31.xsd",
SCHEMADOC => "/home/KORFSA/kis/krfr-pte-2006-05-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
Import : skipping "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31/krfr-ptr-2006-05-31.xsd",
SCHEMADOC => "/home/KORFSA/kis/krfr-ptr-2006-05-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
Import : skipping "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd".
Import : skipping
"http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31/krfr-pte-2006-05-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31/kr-gaap-ci-2006-05-31.xsd",
SCHEMADOC => "/home/KORFSA/kis/kr-gaap-ci-2006-05-31.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
Import : skipping "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd".
Import : skipping
"http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31/krfr-ptr-2006-05-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31/kr-gaap-ci-2006-05-31.xsd>",
SCHEMADOC => "/home/KORFSA/kis/kisinfo-ci-2007-02-09.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping
"http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31/kr-gaap-ci-2006-05-31.xsd".
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/gaap/ci/2007-02-09/kisinfo-ci
-2007-02-09.xsd",
SCHEMADOC => "/home/KORFSA/kis/kisinfo-ci-2007-02-09.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping
"http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31/kr-gaap-ci-2006-05-31.xsd".
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/ratio/2007-02-09/kisinfo-rati
o-2007-02-09.xsd",
SCHEMADOC => "/home/KORFSA/kis/kisinfo-ratio-2007-02-09.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => FALSE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/gcd/2007-02-09/kisinfo-gcd-20
07-02-09.xsd",
SCHEMADOC => "/home/KORFSA/kis/kisinfo-gcd-2007-02-09.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => TRUE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
dbms_xmlschema.registerSchema
SCHEMAURL =>
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/gcd/2007-02-09/kisinfo-ci-std
-2007-02-09.xsd",
SCHEMADOC => "/home/KORFSA/kis/kisinfo-ci-std-2007-02-09.xsd",
LOCAL => TRUE,
GENTYPES => TRUE,
GENBEAN => FALSE,
GENTABLES => TRUE,
FORCE => FALSE,
OWNER => "KORFSA"
BINARY_XML => FALSE,
Import : skipping "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd".
Import : skipping
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/gaap/ci/2007-02-09/kisinfo-ci
-2007-02-09.xsd".
Import : skipping
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/ratio/2007-02-09/kisinfo-rati
o-2007-02-09.xsd".
Import : skipping
"http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/gcd/2007-02-09/kisinfo-gcd-20
07-02-09.xsd".
PL/SQL procedure successfully completed.
Elapsed: 00:13:02.36
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:35:02 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> --
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> spool uploadFileList_&1..log
SQL> --
SQL> set serveroutput on size 20000
SQL> --
SQL> call xdb_utilities.UploadFiles('&1','XMLDIR')
2 /
old 1: call xdb_utilities.UploadFiles('&1','XMLDIR')
new 1: call xdb_utilities.UploadFiles('FILELIST-KORFSA.xml','XMLDIR')
Call completed.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 1 22:35:02 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> @setUser
SQL> --
SQL> define USERNAME = KORFSA
SQL> --
SQL> def PASSWORD = KORFSA
SQL> --
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> select count(*)
2 from LINKBASE_TABLE
3 /
COUNT(*)
1
SQL> set long 100000 pages 0
SQL> --
SQL> select object_value
2 from LINKBASE_TABLE
3 /
<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Generated by Fujitsu XWand 7.1.0041 -->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http:
//www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:k
isinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl
.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
<link:labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/rol
e/link">
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_N
etIncomeToTotalAssets" xlink:label="label_NetIncomeToTotalAssets_1171332301109_0
" xlink:title="label_NetIncomeToTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToTotalAssets_
1171332307468_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="l
abel_NetIncomeToTotalAssets" xml:lang="ko" id="label_NetIncomeToTotalAssets_1171
332307468_0">총자산순이익율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToTotalAssets_1171332301109_0" xli
nk:to="label_NetIncomeToTotalAssets_1171332307468_0" xlink:title="label: NetInco
meToTotalAssets to label_NetIncomeToTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToTotalAssets_
1171332336000_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="l
abel_NetIncomeToTotalAssets" xml:lang="en" id="label_NetIncomeToTotalAssets_1171
332336000_0">Net income to total assets</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToTotalAssets_1171332301109_0" xli
nk:to="label_NetIncomeToTotalAssets_1171332336000_0" xlink:title="label: NetInco
meToTotalAssets to label_NetIncomeToTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToTotalAssets_
1171332350937_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:tit
le="label_NetIncomeToTotalAssets" xml:lang="ko" id="label_NetIncomeToTotalAssets
_1171332350937_0">총자산순이익율(ROA)</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToTotalAssets_1171332301109_0" xli
nk:to="label_NetIncomeToTotalAssets_1171332350937_0" xlink:title="label: NetInco
meToTotalAssets to label_NetIncomeToTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToTotalAssets_
1171332360734_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:tit
le="label_NetIncomeToTotalAssets" xml:lang="en" id="label_NetIncomeToTotalAssets
_1171332360734_0">Net income to total assets(ROA)</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToTotalAssets_1171332301109_0" xli
nk:to="label_NetIncomeToTotalAssets_1171332360734_0" xlink:title="label: NetInco
meToTotalAssets to label_NetIncomeToTotalAssets"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_N
etIncomeToStockHoldersEquity" xlink:label="label_NetIncomeToStockHoldersEquity_1
171332424921_0" xlink:title="label_NetIncomeToStockHoldersEquity"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToStockHolders
Equity_1171332424921_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:t
itle="label_NetIncomeToStockHoldersEquity" xml:lang="ko" id="label_NetIncomeToSt
ockHoldersEquity_1171332424921_1">자기자본순이익율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToStockHoldersEquity_1171332424921
_0" xlink:to="label_NetIncomeToStockHoldersEquity_1171332424921_1" xlink:title="
label: NetIncomeToStockHoldersEquity to label_NetIncomeToStockHoldersEquity"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToStockHolders
Equity_1171332438390_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:t
itle="label_NetIncomeToStockHoldersEquity" xml:lang="en" id="label_NetIncomeToSt
ockHoldersEquity_1171332438390_0">Net income to stockholders' equity</link:
label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToStockHoldersEquity_1171332424921
_0" xlink:to="label_NetIncomeToStockHoldersEquity_1171332438390_0" xlink:title="
label: NetIncomeToStockHoldersEquity to label_NetIncomeToStockHoldersEquity"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToStockHolders
Equity_1171332456406_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xl
ink:title="label_NetIncomeToStockHoldersEquity" xml:lang="ko" id="label_NetIncom
eToStockHoldersEquity_1171332456406_0">자기자본순이익율(ROE)</link:label
>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToStockHoldersEquity_1171332424921
_0" xlink:to="label_NetIncomeToStockHoldersEquity_1171332456406_0" xlink:title="
label: NetIncomeToStockHoldersEquity to label_NetIncomeToStockHoldersEquity"/>
<link:label xlink:type="resource" xlink:label="label_NetIncomeToStockHolders
Equity_1171332470046_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xl
ink:title="label_NetIncomeToStockHoldersEquity" xml:lang="en" id="label_NetIncom
eToStockHoldersEquity_1171332470046_0">Net income to stockholders' equity(R
OE)</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_NetIncomeToStockHoldersEquity_1171332424921
_0" xlink:to="label_NetIncomeToStockHoldersEquity_1171332470046_0" xlink:title="
label: NetIncomeToStockHoldersEquity to label_NetIncomeToStockHoldersEquity"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_O
perationIncomeToSales" xlink:label="label_OperationIncomeToSales_1171332550062_0
" xlink:title="label_OperationIncomeToSales"/>
<link:label xlink:type="resource" xlink:label="label_OperationIncomeToSales_
1171332550062_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="l
abel_OperationIncomeToSales" xml:lang="ko" id="label_OperationIncomeToSales_1171
332550062_1">매출액영업이익율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_OperationIncomeToSales_1171332550062_0" xli
nk:to="label_OperationIncomeToSales_1171332550062_1" xlink:title="label: Operati
onIncomeToSales to label_OperationIncomeToSales"/>
<link:label xlink:type="resource" xlink:label="label_OperationIncomeToSales_
1171332566609_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="l
abel_OperationIncomeToSales" xml:lang="en" id="label_OperationIncomeToSales_1171
332566609_0">Operation income to sales</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_OperationIncomeToSales_1171332550062_0" xli
nk:to="label_OperationIncomeToSales_1171332566609_0" xlink:title="label: Operati
onIncomeToSales to label_OperationIncomeToSales"/>
<link:label xlink:type="resource" xlink:label="label_OperationIncomeToSales_
1171332580000_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:tit
le="label_OperationIncomeToSales" xml:lang="ko" id="label_OperationIncomeToSales
_1171332580000_0">매출액영업이익율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_OperationIncomeToSales_1171332550062_0" xli
nk:to="label_OperationIncomeToSales_1171332580000_0" xlink:title="label: Operati
onIncomeToSales to label_OperationIncomeToSales"/>
<link:label xlink:type="resource" xlink:label="label_OperationIncomeToSales_
1171332590140_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:tit
le="label_OperationIncomeToSales" xml:lang="en" id="label_OperationIncomeToSales
_1171332590140_0">Operation income to sales</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_OperationIncomeToSales_1171332550062_0" xli
nk:to="label_OperationIncomeToSales_1171332590140_0" xlink:title="label: Operati
onIncomeToSales to label_OperationIncomeToSales"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_D
ebtRatio" xlink:label="label_DebtRatio_1171332895875_0" xlink:title="label_DebtR
atio"/>
<link:label xlink:type="resource" xlink:label="label_DebtRatio_1171332895875
_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_DebtRati
o" xml:lang="ko" id="label_DebtRatio_1171332895875_1">부채비율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_DebtRatio_1171332895875_0" xlink:to="label_
DebtRatio_1171332895875_1" xlink:title="label: DebtRatio to label_DebtRatio"/>
<link:label xlink:type="resource" xlink:label="label_DebtRatio_1171332904078
_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_DebtRati
o" xml:lang="en" id="label_DebtRatio_1171332904078_0">Debt ratio</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_DebtRatio_1171332895875_0" xlink:to="label_
DebtRatio_1171332904078_0" xlink:title="label: DebtRatio to label_DebtRatio"/>
<link:label xlink:type="resource" xlink:label="label_DebtRatio_1171332920671
_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="label_Deb
tRatio" xml:lang="ko" id="label_DebtRatio_1171332920671_0">부채비율</link:la
bel>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_DebtRatio_1171332895875_0" xlink:to="label_
DebtRatio_1171332920671_0" xlink:title="label: DebtRatio to label_DebtRatio"/>
<link:label xlink:type="resource" xlink:label="label_DebtRatio_1171332931734
_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="label_Deb
tRatio" xml:lang="en" id="label_DebtRatio_1171332931734_0">Debt ratio</link:labe
l>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_DebtRatio_1171332895875_0" xlink:to="label_
DebtRatio_1171332931734_0" xlink:title="label: DebtRatio to label_DebtRatio"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_S
tockHoldersEquityToTotalAssets" xlink:label="label_StockHoldersEquityToTotalAsse
ts_1171333005656_0" xlink:title="label_StockHoldersEquityToTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_StockHoldersEquityToTot
alAssets_1171333005656_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink
:title="label_StockHoldersEquityToTotalAssets" xml:lang="ko" id="label_StockHold
ersEquityToTotalAssets_1171333005656_1">자기자본비율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_StockHoldersEquityToTotalAssets_11713330056
56_0" xlink:to="label_StockHoldersEquityToTotalAssets_1171333005656_1" xlink:tit
le="label: StockHoldersEquityToTotalAssets to label_StockHoldersEquityToTotalAss
ets"/>
<link:label xlink:type="resource" xlink:label="label_StockHoldersEquityToTot
alAssets_1171333022718_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink
:title="label_StockHoldersEquityToTotalAssets" xml:lang="en" id="label_StockHold
ersEquityToTotalAssets_1171333022718_0">Stockholders' equity to total asset
s</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_StockHoldersEquityToTotalAssets_11713330056
56_0" xlink:to="label_StockHoldersEquityToTotalAssets_1171333022718_0" xlink:tit
le="label: StockHoldersEquityToTotalAssets to label_StockHoldersEquityToTotalAss
ets"/>
<link:label xlink:type="resource" xlink:label="label_StockHoldersEquityToTot
alAssets_1171333035968_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel"
xlink:title="label_StockHoldersEquityToTotalAssets" xml:lang="ko" id="label_Stoc
kHoldersEquityToTotalAssets_1171333035968_0">자기자본비율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_StockHoldersEquityToTotalAssets_11713330056
56_0" xlink:to="label_StockHoldersEquityToTotalAssets_1171333035968_0" xlink:tit
le="label: StockHoldersEquityToTotalAssets to label_StockHoldersEquityToTotalAss
ets"/>
<link:label xlink:type="resource" xlink:label="label_StockHoldersEquityToTot
alAssets_1171333042984_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel"
xlink:title="label_StockHoldersEquityToTotalAssets" xml:lang="en" id="label_Stoc
kHoldersEquityToTotalAssets_1171333042984_0">Stockholders' equity to total
assets</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_StockHoldersEquityToTotalAssets_11713330056
56_0" xlink:to="label_StockHoldersEquityToTotalAssets_1171333042984_0" xlink:tit
le="label: StockHoldersEquityToTotalAssets to label_StockHoldersEquityToTotalAss
ets"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_E
BITDAToSales" xlink:label="label_EBITDAToSales_1171333730671_0" xlink:title="lab
el_EBITDAToSales"/>
<link:label xlink:type="resource" xlink:label="label_EBITDAToSales_117133373
0671_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_EBIT
DAToSales" xml:lang="ko" id="label_EBITDAToSales_1171333730671_1">EBITDA 대 매
출액</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_EBITDAToSales_1171333730671_0" xlink:to="la
bel_EBITDAToSales_1171333730671_1" xlink:title="label: EBITDAToSales to label_EB
ITDAToSales"/>
<link:label xlink:type="resource" xlink:label="label_EBITDAToSales_117133374
3312_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_EBIT
DAToSales" xml:lang="en" id="label_EBITDAToSales_1171333743312_0">EBITDA to Sale
s</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_EBITDAToSales_1171333730671_0" xlink:to="la
bel_EBITDAToSales_1171333743312_0" xlink:title="label: EBITDAToSales to label_EB
ITDAToSales"/>
<link:label xlink:type="resource" xlink:label="label_EBITDAToSales_117133375
1687_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="label
_EBITDAToSales" xml:lang="ko" id="label_EBITDAToSales_1171333751687_0">EBITDA δî
Ç δºñ∞╢£∞òí</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_EBITDAToSales_1171333730671_0" xlink:to="la
bel_EBITDAToSales_1171333751687_0" xlink:title="label: EBITDAToSales to label_EB
ITDAToSales"/>
<link:label xlink:type="resource" xlink:label="label_EBITDAToSales_117133376
8484_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="label
_EBITDAToSales" xml:lang="en" id="label_EBITDAToSales_1171333768484_0">EBITDA to
Sales</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_EBITDAToSales_1171333730671_0" xlink:to="la
bel_EBITDAToSales_1171333768484_0" xlink:title="label: EBITDAToSales to label_EB
ITDAToSales"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_R
eceivablesTurnover" xlink:label="label_ReceivablesTurnover_1171333934171_0" xlin
k:title="label_ReceivablesTurnover"/>
<link:label xlink:type="resource" xlink:label="label_ReceivablesTurnover_117
1333934171_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="labe
l_ReceivablesTurnover" xml:lang="ko" id="label_ReceivablesTurnover_1171333934171
_1">매출채권회전율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_ReceivablesTurnover_1171333934171_0" xlink:
to="label_ReceivablesTurnover_1171333934171_1" xlink:title="label: ReceivablesTu
rnover to label_ReceivablesTurnover"/>
<link:label xlink:type="resource" xlink:label="label_ReceivablesTurnover_117
1333947578_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="labe
l_ReceivablesTurnover" xml:lang="en" id="label_ReceivablesTurnover_1171333947578
_0">Receivables turnover</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_ReceivablesTurnover_1171333934171_0" xlink:
to="label_ReceivablesTurnover_1171333947578_0" xlink:title="label: ReceivablesTu
rnover to label_ReceivablesTurnover"/>
<link:label xlink:type="resource" xlink:label="label_ReceivablesTurnover_117
1333969437_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title=
"label_ReceivablesTurnover" xml:lang="ko" id="label_ReceivablesTurnover_11713339
69437_0">매출채권회전율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_ReceivablesTurnover_1171333934171_0" xlink:
to="label_ReceivablesTurnover_1171333969437_0" xlink:title="label: ReceivablesTu
rnover to label_ReceivablesTurnover"/>
<link:label xlink:type="resource" xlink:label="label_ReceivablesTurnover_117
1333982609_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title=
"label_ReceivablesTurnover" xml:lang="en" id="label_ReceivablesTurnover_11713339
82609_0">Receivables turnover</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_ReceivablesTurnover_1171333934171_0" xlink:
to="label_ReceivablesTurnover_1171333982609_0" xlink:title="label: ReceivablesTu
rnover to label_ReceivablesTurnover"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_G
rowthRateOfSales" xlink:label="label_GrowthRateOfSales_1171334041281_0" xlink:ti
tle="label_GrowthRateOfSales"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfSales_11713
34041281_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_
GrowthRateOfSales" xml:lang="ko" id="label_GrowthRateOfSales_1171334041281_1">δº
ñ∞╢£∞òí∞ª¥Ω░Ç∞£¿</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfSales_1171334041281_0" xlink:to
="label_GrowthRateOfSales_1171334041281_1" xlink:title="label: GrowthRateOfSales
to label_GrowthRateOfSales"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfSales_11713
34054250_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="label_
GrowthRateOfSales" xml:lang="en" id="label_GrowthRateOfSales_1171334054250_0">Gr
owth rate of sales</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfSales_1171334041281_0" xlink:to
="label_GrowthRateOfSales_1171334054250_0" xlink:title="label: GrowthRateOfSales
to label_GrowthRateOfSales"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfSales_11713
34061781_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="l
abel_GrowthRateOfSales" xml:lang="ko" id="label_GrowthRateOfSales_1171334061781_
0">매출액증가율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfSales_1171334041281_0" xlink:to
="label_GrowthRateOfSales_1171334061781_0" xlink:title="label: GrowthRateOfSales
to label_GrowthRateOfSales"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfSales_11713
34079500_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:title="l
abel_GrowthRateOfSales" xml:lang="en" id="label_GrowthRateOfSales_1171334079500_
0">Growth rate of sales</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfSales_1171334041281_0" xlink:to
="label_GrowthRateOfSales_1171334079500_0" xlink:title="label: GrowthRateOfSales
to label_GrowthRateOfSales"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_G
rowthRateOfOperatingIncome" xlink:label="label_GrowthRateOfOperatingIncome_11713
34322406_0" xlink:title="label_GrowthRateOfOperatingIncome"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfOperatingIn
come_1171334322406_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:tit
le="label_GrowthRateOfOperatingIncome" xml:lang="ko" id="label_GrowthRateOfOpera
tingIncome_1171334322406_1">영업이익증가율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfOperatingIncome_1171334322406_0
" xlink:to="label_GrowthRateOfOperatingIncome_1171334322406_1" xlink:title="labe
l: GrowthRateOfOperatingIncome to label_GrowthRateOfOperatingIncome"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfOperatingIn
come_1171334338593_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:tit
le="label_GrowthRateOfOperatingIncome" xml:lang="en" id="label_GrowthRateOfOpera
tingIncome_1171334338593_0">Growth rate of operating income</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfOperatingIncome_1171334322406_0
" xlink:to="label_GrowthRateOfOperatingIncome_1171334338593_0" xlink:title="labe
l: GrowthRateOfOperatingIncome to label_GrowthRateOfOperatingIncome"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfOperatingIn
come_1171334352625_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlin
k:title="label_GrowthRateOfOperatingIncome" xml:lang="ko" id="label_GrowthRateOf
OperatingIncome_1171334352625_0">영업이익증가율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfOperatingIncome_1171334322406_0
" xlink:to="label_GrowthRateOfOperatingIncome_1171334352625_0" xlink:title="labe
l: GrowthRateOfOperatingIncome to label_GrowthRateOfOperatingIncome"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfOperatingIn
come_1171334368562_0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlin
k:title="label_GrowthRateOfOperatingIncome" xml:lang="en" id="label_GrowthRateOf
OperatingIncome_1171334368562_0">Growth rate of operating income</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfOperatingIncome_1171334322406_0
" xlink:to="label_GrowthRateOfOperatingIncome_1171334368562_0" xlink:title="labe
l: GrowthRateOfOperatingIncome to label_GrowthRateOfOperatingIncome"/>
<link:loc xlink:type="locator" xlink:href="kisinfo-ratio-2007-02-09.xsd#id_G
rowthRateOfTotalAssets" xlink:label="label_GrowthRateOfTotalAssets_1171340856203
_0" xlink:title="label_GrowthRateOfTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfTotalAssets
_1171340856203_1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="
label_GrowthRateOfTotalAssets" xml:lang="ko" id="label_GrowthRateOfTotalAssets_1
171340856203_1">총자산증가율</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfTotalAssets_1171340856203_0" xl
ink:to="label_GrowthRateOfTotalAssets_1171340856203_1" xlink:title="label: Growt
hRateOfTotalAssets to label_GrowthRateOfTotalAssets"/>
<link:label xlink:type="resource" xlink:label="label_GrowthRateOfTotalAssets
_1171340874281_0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:title="
label_GrowthRateOfTotalAssets" xml:lang="en" id="label_GrowthRateOfTotalAssets_1
171340874281_0">Growth rate of total assets</link:label>
<link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcr
ole/concept-label" xlink:from="label_GrowthRateOfTotalAssets_1171340856203_0" xl
ink:to="label_GrowthRateOfTotalAssets_1171340874281_0" xlink:title="label: Growt
hRateOfTotalAssets to label_GrowthRateOfTotalAssets"/>
-
Why do you insist in calling my home phone EVERY hour to complete a survey!
I have been interrupted on no less than 3 conference calls while working from home today. I even called and politely asked that I stop receiving them but received ANOTHER interruption. I am happy to complete a survey but not during my work day and there is ABSOLUTELY no need to call every hour!!!! Maybe once per day!
practicalnurse,
Have no fear, Verizon is here. I would love to go over the account with you to figure out what happened? Was this for Verizon Wireless services or for your home services? I did request to follow you. Can you please accept that request and request to follow me back. Then once we are following each other you can send me a Direct Message: http://vz.to/1fbIKzK Please keep us posted.
KevinR_VZW
Follow us on Twitter @VZWSupport -
Migration assistant taking forever, says it has 127 hours till completion???
Setup my mac before I wanted to transfer from my old computer. Today I connected my PC to my Mac via wifi using migration assistant. The only issue I am having is it's taken about 6 hours already with only about 1cm of loading. I am transferring about 450GB. I just checked it and it says it will be completed in approximately 127 hours!!! Any help would be great, I'm not sure what to do. I do not want to wait 5 days, that seems a bit stupid. Thanks
Sure.
Your router should have (at the least) three Ethernet ports and you can use a cable to directly connect to your router, rather than using WiFi. Your PC most certainly has an Ethernet port where you can plug the cable from the router.
Depending on which MacBook Pro you have, it will either have an Ethernet port (non-Retina) or you can purchase a Thunderbolt>Ethernet adapter from Apple. Then you'd use a cable to plug into the router so that both machines would communicate much faster than over WiFi.
Call back if I haven't explained too well,
Clinton -
Why does the Install-SPSolution / Uninstall-SPSolution take exactly 8 hours to complete?
I asked this question
here before and didn't get a usable answer and I see other people are getting the same issue. I did some more testing, added a timer/t to my scripts and discovered that the Install-SPSolution / Uninstall-SPSolution always takes exactly
8 hours to the minute to complete, no matter when I start it. I verified this over several refreshes of my webpart and it is always exactly 8 hours. This applies to both Central Admin and farm solutions. I hope that the duration of 8 hours
to the minute does contain a clue to solve this issue.
This is the PS1 script I use to install the CA component:
param([string]$cadmin2010 = "", [string]$cadmin2013 = "")
Write-Output "Installing MySolution.CentralAdmin.wsp webpart"
Add-PsSnapin Microsoft.SharePoint.PowerShell
Write-Output "Loaded SharePoint environment"
$cadmin = $cadmin2010
if ($cadmin2013) {$cadmin = $cadmin2013}
Write-Output $("Installing webpart on " + $cadmin)
$sln = Add-SPSolution MySolution.CentralAdmin.wsp
Write-Output "Added solution"
Install-SPSolution -Identity MySolution.CentralAdmin.wsp -GACDeployment -Force
Write-Output "Installing solution"
while($sln.JobExists)
start-sleep -s 5
Write-Output "Solution installed"
Enable-SPFeature -Identity b2ff3a66-0f9d-4b4a-9b79-842aeca34d42 -url $cadmin -Force
Write-Output "Feature enabled"
It takes 8 hours before the "Solution Installed" message is printed. Once it completes, everything works fine, but with the uninstall of an old version and the install of a new version, 16 hours is a long wait. This is the output of my script:
C:\Program Files\Product\EFS>RefreshCAComponents.cmd
C:\Program Files\Product\EFS>time/t
04:55 PM
C:\Program Files\Product\EFS>"C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe" .\RemoveCaComponents.ps1 -cadmin2013 http://productionwfe1:6101/
Removing MySolution.CentralAdmin.wsp CA Customization
Loaded SharePoint environment
Removing CA Customization from http://productionwfe1:6101/
Disabled feature
Uninstalled feature
Uninstalling solution
Solution uninstalled <-- takes 8 hours since printing the previous line
Solution removed
C:\Program Files\Product\EFS>time/t
12:55 AM
C:\Program Files\Product\EFS>"C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe" .\InstallCaComponents.ps1 -cadmin2013 http://productionwfe1:6101/
Installing MySolution.CentralAdmin.wsp webpart
Loaded SharePoint environment
Installing webpart on http://productionwfe1:6101/
Added solution
Installing solution
Solution installed <-- takes 8 hours since printing the previous line
Feature enabled
C:\Program Files\Product\EFS>time/t
08:55 AMPlease use this code for waiting to deployment finish (it shouldnt take so long):
$solutionFileName = "something.wsp"
$timeout = 1000
$jobName = "*solution-deployment*$solutionFileName*"
$job = Get-SPTimerJob | ?{ $_.Name -like $jobName }
if ($job -eq $null)
Throw "Timer job for '$solutionFileName' not found"
$jobFullName = $job.Name
Write-host "Waiting to finish job '$jobFullName'..."
do
if($timeout -le 0)
Write-host "Failed: timeout"
Throw "Job '$jobFullName' not finished after "+ ($timeout * 2) + " seconds"
Start-Sleep -Seconds 2
Write-host . -NoNewLine
$timeout -= 1
} while ((Get-SPTimerJob $jobFullName) -ne $null)
Source: SharePoint Solution Deployer (codeplex)
Best regards,
Radovan
Please let me know if my post was helpful. -
A query takes 7 hours to complete (0 rows rturned)
Hi all,
This query takes 7hours to complete since I migrated from 10g to 11g.
SELECT /*+ gather_plan_statistics */ T.OWNER, T.TABLE_NAME
FROM ( SELECT DISTINCT COFIR FROM DBAUSR_TT) U, VDBSTA S, DBA_TABLES T
WHERE S.COFIR = U.COFIR
AND S.CTTAB = 'T'
AND T.OWNER = S.COFIR
AND T.TABLE_NAME = S.COTAB
AND T.TEMPORARY = 'N'
AND (T.LAST_ANALYZED IS NOT NULL
OR EXISTS
(SELECT 1
FROM DBA_TAB_STATISTICS A
WHERE A.OWNER = T.OWNER
AND A.TABLE_NAME = T.TABLE_NAME
AND NVL (A.STATTYPE_LOCKED, '*') != 'ALL')
OR EXISTS
(SELECT 1
FROM DBA_INDEXES I
WHERE I.TABLE_OWNER = T.OWNER
AND I.TABLE_NAME = T.TABLE_NAME
AND I.LAST_ANALYZED IS NOT NULL))
ORDER BY 1, 2;
SQL> select * from table(dbms_xplan.display_cursor(NULL,NULL,'last iostats'));
PLAN_TABLE_OUTPUT
SQL_ID f3bzgtgudc0cd, child number 0
SELECT /*+ gather_plan_statistics */ T.OWNER, T.TABLE_NAME FROM (
SELECT DISTINCT COFIR FROM DBAUSR_TT) U, VDBSTA S, DBA_TABLES T
WHERE S.COFIR = U.COFIR AND S.CTTAB = 'T' AND
T.OWNER = S.COFIR AND T.TABLE_NAME = S.COTAB AND
T.TEMPORARY = 'N' AND (T.LAST_ANALYZED IS NOT NULL
OR EXISTS (SELECT 1 FROM
DBA_TAB_STATISTICS A WHERE A.OWNER = T.OWNER
AND A.TABLE_NAME = T.TABLE_NAME
AND NVL (A.STATTYPE_LOCKED, '*') != 'ALL')
OR EXISTS (SELECT 1 FROM
DBA_INDEXES I WHERE I.TABLE_OWNER = T.OWNER
AND I.TABLE_NAME = T.TABLE_NAME
AND I.LAST_ANALYZED IS NOT NULL)) ORDER BY 1, 2
Plan hash value: 291652704
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads |
| 0 | SELECT STATEMENT | | 1 | | 0 |00:07:55.28 | 73M| 54M|
| 1 | SORT ORDER BY | | 1 | 1 | 0 |00:07:55.28 | 73M| 54M|
|* 2 | FILTER | | 1 | | 0 |00:07:55.28 | 73M| 54M|
| 3 | NESTED LOOPS OUTER | | 1 | 1 | 2726 |00:00:05.37 | 17301 | 766 |
| 4 | NESTED LOOPS OUTER | | 1 | 1 | 2726 |00:00:05.37 | 17298 | 766 |
| 5 | NESTED LOOPS OUTER | | 1 | 1 | 2726 |00:00:05.37 | 16604 | 756 |
| 6 | NESTED LOOPS OUTER | | 1 | 1 | 2726 |00:00:05.37 | 16604 | 756 |
| 7 | NESTED LOOPS | | 1 | 1 | 2726 |00:00:05.37 | 12998 | 619 |
| 8 | NESTED LOOPS | | 1 | 1 | 2726 |00:00:05.37 | 10268 | 619 |
|* 9 | HASH JOIN | | 1 | 1 | 2726 |00:00:00.27 | 5329 | 11 |
|* 10 | HASH JOIN | | 1 | 4 | 5909 |00:00:00.18 | 5323 | 9 |
|* 11 | HASH JOIN | | 1 | 207 | 3296 |00:00:00.02 | 4152 | 0 |
| 12 | MERGE JOIN CARTESIAN | | 1 | 10 | 4 |00:00:00.02 | 3 | 0 |
|* 13 | HASH JOIN | | 1 | 1 | 1 |00:00:00.02 | 0 | 0 |
|* 14 | FIXED TABLE FULL | X$KSPPI | 1 | 1 | 1 |00:00:00.01 | 0 | 0 |
| 15 | FIXED TABLE FULL | X$KSPPCV | 1 | 100 | 2044 |00:00:00.01 | 0 | 0 |
| 16 | BUFFER SORT | | 1 | 10 | 4 |00:00:00.01 | 3 | 0 |
| 17 | VIEW | | 1 | 10 | 4 |00:00:00.01 | 3 | 0 |
| 18 | HASH UNIQUE | | 1 | 10 | 4 |00:00:00.01 | 3 | 0 |
| 19 | TABLE ACCESS FULL | DBAUSR_TT | 1 | 10 | 10 |00:00:00.01 | 3 | 0 |
| 20 | VIEW | VDBSTA | 1 | 2065 | 3296 |00:00:00.01 | 4149 | 0 |
| 21 | UNION-ALL | | 1 | | 3296 |00:00:00.01 | 4149 | 0 |
| 22 | NESTED LOOPS | | 1 | 1433 | 187 |00:00:00.01 | 1617 | 0 |
| 23 | MERGE JOIN CARTESIAN | | 1 | 1717 | 1740 |00:00:00.01 | 18 | 0 |
|* 24 | TABLE ACCESS FULL | USEUBX | 1 | 1 | 1 |00:00:00.01 | 3 | 0 |
| 25 | BUFFER SORT | | 1 | 1717 | 1740 |00:00:00.01 | 15 | 0 |
|* 26 | TABLE ACCESS FULL | STATAB | 1 | 1717 | 1740 |00:00:00.01 | 15 | 0 |
|* 27 | INDEX UNIQUE SCAN | TABCOM1 | 1740 | 1 | 187 |00:00:00.01 | 1599 | 0 |
| 28 | HASH UNIQUE | | 1 | 610 | 3106 |00:00:00.02 | 2499 | 0 |
| 29 | NESTED LOOPS ANTI | | 1 | 3294 | 3106 |00:00:00.01 | 2499 | 0 |
| 30 | MERGE JOIN CARTESIAN | | 1 | 3434 | 3480 |00:00:00.01 | 18 | 0 |
|* 31 | TABLE ACCESS FULL | USEUBX | 1 | 2 | 2 |00:00:00.01 | 3 | 0 |
| 32 | BUFFER SORT | | 2 | 1717 | 3480 |00:00:00.01 | 15 | 0 |
|* 33 | TABLE ACCESS FULL | STATAB | 1 | 1717 | 1740 |00:00:00.01 | 15 | 0 |
|* 34 | INDEX UNIQUE SCAN | TABCOM1 | 2634 | 58 | 301 |00:00:00.01 | 2481 | 0 |
| 35 | HASH UNIQUE | | 1 | 14 | 0 |00:00:00.01 | 15 | 0 |
| 36 | MERGE JOIN CARTESIAN | | 1 | 14 | 0 |00:00:00.01 | 15 | 0 |
|* 37 | TABLE ACCESS FULL | STATAB | 1 | 5 | 0 |00:00:00.01 | 15 | 0 |
| 38 | BUFFER SORT | | 0 | 3 | 0 |00:00:00.01 | 0 | 0 |
|* 39 | TABLE ACCESS FULL | USEUBX | 0 | 3 | 0 |00:00:00.01 | 0 | 0 |
| 40 | HASH UNIQUE | | 1 | 8 | 3 |00:00:00.01 | 18 | 0 |
| 41 | MERGE JOIN CARTESIAN | | 1 | 8 | 3 |00:00:00.01 | 18 | 0 |
|* 42 | TABLE ACCESS FULL | USEUBX | 1 | 1 | 1 |00:00:00.01 | 3 | 0 |
| 43 | BUFFER SORT | | 1 | 8 | 3 |00:00:00.01 | 15 | 0 |
|* 44 | TABLE ACCESS FULL | STATAB | 1 | 8 | 3 |00:00:00.01 | 15 | 0 |
|* 45 | TABLE ACCESS FULL | OBJ$ | 1 | 1000 | 99107 |00:00:00.01 | 1171 | 9 |
| 46 | TABLE ACCESS FULL | USER$ | 1 | 76 | 76 |00:00:00.02 | 6 | 2 |
|* 47 | TABLE ACCESS CLUSTER | TAB$ | 2726 | 1 | 2726 |00:00:05.85 | 4939 | 608 |
|* 48 | INDEX UNIQUE SCAN | I_OBJ# | 2726 | 1 | 2726 |00:00:00.23 | 577 | 19 |
| 49 | TABLE ACCESS CLUSTER | TS$ | 2726 | 1 | 2726 |00:00:00.01 | 2730 | 0 |
|* 50 | INDEX UNIQUE SCAN | I_TS# | 2726 | 1 | 2726 |00:00:00.01 | 4 | 0 |
| 51 | TABLE ACCESS CLUSTER | SEG$ | 2726 | 1 | 2726 |00:00:01.37 | 3606 | 137 |
|* 52 | INDEX UNIQUE SCAN | I_FILE#_BLOCK# | 2726 | 1 | 2726 |00:00:00.51 | 880 | 52 |
|* 53 | INDEX RANGE SCAN | I_OBJ1 | 2726 | 1 | 0 |00:00:00.01 | 0 | 0 |
|* 54 | INDEX RANGE SCAN | I_OBJ1 | 2726 | 1 | 2719 |00:00:00.18 | 694 | 10 |
|* 55 | INDEX RANGE SCAN | I_USER2 | 2726 | 1 | 2719 |00:00:00.01 | 3 | 0 |
| 56 | VIEW | DBA_TAB_STATISTICS | 2726 | 13 | 0 |07:24:59.23 | 73M| 54M|
| 57 | UNION-ALL | | 2726 | | 0 |07:24:59.23 | 73M| 54M|
| 58 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |00:00:00.18 | 19122 | 1 |
| 59 | NESTED LOOPS | | 2726 | 1 | 0 |00:00:00.18 | 19122 | 1 |
| 60 | NESTED LOOPS OUTER | | 2726 | 1 | 2726 |00:00:00.04 | 11535 | 0 |
| 61 | NESTED LOOPS | | 2726 | 1 | 2726 |00:00:00.04 | 11534 | 0 |
| 62 | TABLE ACCESS BY INDEX ROWID | USER$ | 2726 | 1 | 2726 |00:00:00.04 | 5452 | 0 |
|* 63 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.02 | 2726 | 0 |
|* 64 | INDEX RANGE SCAN | I_OBJ2 | 2726 | 1 | 2726 |00:00:00.01 | 6082 | 0 |
|* 65 | INDEX UNIQUE SCAN | I_TAB_STATS$_OBJ# | 2726 | 1 | 0 |00:00:00.01 | 1 | 0 |
|* 66 | TABLE ACCESS CLUSTER | TAB$ | 2726 | 1 | 0 |00:00:00.12 | 7587 | 1 |
|* 67 | INDEX UNIQUE SCAN | I_OBJ# | 2726 | 1 | 2726 |00:00:00.02 | 3225 | 0 |
|* 68 | INDEX UNIQUE SCAN | I_MON_MODS_ALL$_OBJ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 69 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:52:08.09 | 23M| 13M|
| 70 | NESTED LOOPS | | 2726 | 1 | 0 |01:52:08.09 | 23M| 13M|
| 71 | MERGE JOIN CARTESIAN | | 2726 | 9067 | 32M|01:50:22.71 | 13M| 13M|
| 72 | NESTED LOOPS OUTER | | 2726 | 1 | 2726 |00:00:00.02 | 11535 | 0 |
| 73 | NESTED LOOPS | | 2726 | 1 | 2726 |00:00:00.02 | 11534 | 0 |
| 74 | TABLE ACCESS BY INDEX ROWID | USER$ | 2726 | 1 | 2726 |00:00:00.01 | 5452 | 0 |
|* 75 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.01 | 2726 | 0 |
|* 76 | INDEX RANGE SCAN | I_OBJ2 | 2726 | 1 | 2726 |00:00:00.02 | 6082 | 0 |
|* 77 | INDEX UNIQUE SCAN | I_TAB_STATS$_OBJ# | 2726 | 1 | 0 |00:00:00.01 | 1 | 0 |
| 78 | BUFFER SORT | | 2726 | 11909 | 32M|01:50:22.71 | 13M| 13M|
| 79 | TABLE ACCESS FULL | TAB$ | 2726 | 11909 | 32M|01:48:31.82 | 13M| 13M|
|* 80 | VIEW PUSHED PREDICATE | TABPARTV$ | 32M| 1 | 0 |00:01:23.69 | 9566K| 0 |
|* 81 | TABLE ACCESS BY INDEX ROWID | TABPART$ | 32M| 4 | 703K|00:01:10.17 | 9566K| 0 |
|* 82 | INDEX RANGE SCAN | I_TABPART_BOPART$ | 32M| 4 | 703K|00:00:51.77 | 9210K| 0 |
|* 83 | INDEX UNIQUE SCAN | I_MON_MODS_ALL$_OBJ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 84 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:53:02.61 | 23M| 13M|
| 85 | NESTED LOOPS | | 2726 | 1 | 0 |01:53:02.61 | 23M| 13M|
| 86 | MERGE JOIN CARTESIAN | | 2726 | 9067 | 32M|01:51:19.21 | 13M| 13M|
| 87 | NESTED LOOPS | | 2726 | 1 | 2726 |00:00:00.21 | 11534 | 0 |
| 88 | TABLE ACCESS BY INDEX ROWID | USER$ | 2726 | 1 | 2726 |00:00:00.12 | 5452 | 0 |
|* 89 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.02 | 2726 | 0 |
|* 90 | INDEX RANGE SCAN | I_OBJ2 | 2726 | 1 | 2726 |00:00:00.06 | 6082 | 0 |
| 91 | BUFFER SORT | | 2726 | 11909 | 32M|01:51:19.03 | 13M| 13M|
| 92 | TABLE ACCESS FULL | TAB$ | 2726 | 11909 | 32M|01:49:51.13 | 13M| 13M|
|* 93 | VIEW PUSHED PREDICATE | TABPARTV$ | 32M| 1 | 0 |00:01:23.47 | 9566K| 0 |
|* 94 | TABLE ACCESS BY INDEX ROWID | TABPART$ | 32M| 1 | 0 |00:01:10.51 | 9566K| 0 |
|* 95 | INDEX RANGE SCAN | I_TABPART_BOPART$ | 32M| 4 | 703K|00:00:53.01 | 9210K| 0 |
|* 96 | INDEX UNIQUE SCAN | I_MON_MODS_ALL$_OBJ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 97 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:49:37.09 | 13M| 13M|
| 98 | NESTED LOOPS | | 2726 | 1 | 0 |01:49:37.09 | 13M| 13M|
| 99 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:49:37.09 | 13M| 13M|
| 100 | NESTED LOOPS | | 2726 | 1 | 0 |01:49:37.09 | 13M| 13M|
| 101 | NESTED LOOPS | | 2726 | 11909 | 32M|01:47:05.13 | 13M| 13M|
| 102 | TABLE ACCESS BY INDEX ROWID | USER$ | 2726 | 1 | 2726 |00:00:00.08 | 5452 | 0 |
|*103 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.04 | 2726 | 0 |
| 104 | TABLE ACCESS FULL | TAB$ | 2726 | 11909 | 32M|01:46:32.59 | 13M| 13M|
|*105 | VIEW PUSHED PREDICATE | TABCOMPARTV$ | 32M| 1 | 0 |00:00:37.20 | 1 | 1 |
| 106 | TABLE ACCESS BY INDEX ROWID | TABCOMPART$ | 32M| 1 | 0 |00:00:23.85 | 1 | 1 |
|*107 | INDEX RANGE SCAN | I_TABCOMPART_BOPART$ | 32M| 1 | 0 |00:00:09.37 | 1 | 1 |
|*108 | INDEX UNIQUE SCAN | I_MON_MODS_ALL$_OBJ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*109 | TABLE ACCESS BY INDEX ROWID | OBJ$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*110 | INDEX RANGE SCAN | I_OBJ1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*111 | INDEX UNIQUE SCAN | I_TAB_STATS$_OBJ# | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 112 | NESTED LOOPS | | 2726 | | 0 |01:50:32.64 | 13M| 13M|
| 113 | NESTED LOOPS | | 2726 | 1 | 0 |01:50:32.62 | 13M| 13M|
| 114 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:50:32.60 | 13M| 13M|
| 115 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |01:50:32.60 | 13M| 13M|
| 116 | NESTED LOOPS | | 2726 | 1 | 0 |01:50:32.58 | 13M| 13M|
| 117 | NESTED LOOPS | | 2726 | 1 | 0 |01:50:32.58 | 13M| 13M|
| 118 | NESTED LOOPS | | 2726 | 1 | 0 |01:50:32.58 | 13M| 13M|
| 119 | NESTED LOOPS | | 2726 | 11909 | 32M|01:48:00.62 | 13M| 13M|
| 120 | TABLE ACCESS BY INDEX ROWID| USER$ | 2726 | 1 | 2726 |00:00:00.04 | 5452 | 0 |
|*121 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.02 | 2726 | 0 |
| 122 | TABLE ACCESS FULL | TAB$ | 2726 | 11909 | 32M|01:48:00.58 | 13M| 13M|
|*123 | VIEW PUSHED PREDICATE | TABCOMPARTV$ | 32M| 1 | 0 |00:00:39.60 | 1 | 0 |
| 124 | TABLE ACCESS BY INDEX ROWID| TABCOMPART$ | 32M| 1 | 0 |00:00:26.27 | 1 | 0 |
|*125 | INDEX RANGE SCAN | I_TABCOMPART_BOPART$ | 32M| 1 | 0 |00:00:09.80 | 1 | 0 |
| 126 | VIEW PUSHED PREDICATE | TABSUBPARTV$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*127 | TABLE ACCESS BY INDEX ROWID | TABSUBPART$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*128 | INDEX RANGE SCAN | I_TABSUBPART_POBJSUBPART$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*129 | INDEX RANGE SCAN | I_OBJ1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*130 | INDEX UNIQUE SCAN | I_TAB_STATS$_OBJ# | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*131 | INDEX UNIQUE SCAN | I_MON_MODS_ALL$_OBJ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*132 | INDEX RANGE SCAN | I_OBJ1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*133 | TABLE ACCESS BY INDEX ROWID | OBJ$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*134 | FILTER | | 2726 | | 0 |00:00:00.02 | 0 | 0 |
|*135 | FILTER | | 0 | | 0 |00:00:00.01 | 0 | 0 |
|*136 | HASH JOIN OUTER | | 0 | 8 | 0 |00:00:00.01 | 0 | 0 |
| 137 | NESTED LOOPS OUTER | | 0 | 8 | 0 |00:00:00.01 | 0 | 0 |
|*138 | FIXED TABLE FULL | X$KQFTA | 0 | 8 | 0 |00:00:00.01 | 0 | 0 |
|*139 | INDEX UNIQUE SCAN | I_TAB_STATS$_OBJ# | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 140 | TABLE ACCESS FULL | FIXED_OBJ$ | 0 | 783 | 0 |00:00:00.01 | 0 | 0 |
| 141 | NESTED LOOPS | | 2726 | 1 | 0 |00:00:00.70 | 19121 | 4 |
| 142 | NESTED LOOPS | | 2726 | 1 | 0 |00:00:00.68 | 19121 | 4 |
| 143 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |00:00:00.68 | 19121 | 4 |
| 144 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |00:00:00.68 | 19121 | 4 |
| 145 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |00:00:00.64 | 19121 | 4 |
| 146 | NESTED LOOPS OUTER | | 2726 | 1 | 0 |00:00:00.64 | 19121 | 4 |
| 147 | NESTED LOOPS | | 2726 | 1 | 0 |00:00:00.64 | 19121 | 4 |
| 148 | NESTED LOOPS | | 2726 | 1 | 2726 |00:00:00.25 | 11534 | 0 |
| 149 | TABLE ACCESS BY INDEX ROWID | USER$ | 2726 | 1 | 2726 |00:00:00.16 | 5452 | 0 |
|*150 | INDEX UNIQUE SCAN | I_USER1 | 2726 | 1 | 2726 |00:00:00.04 | 2726 | 0 |
|*151 | INDEX RANGE SCAN | I_OBJ2 | 2726 | 1 | 2726 |00:00:00.08 | 6082 | 0 |
|*152 | TABLE ACCESS CLUSTER | IND$ | 2726 | 1 | 0 |00:00:00.39 | 7587 | 4 |
|*153 | INDEX UNIQUE SCAN | I_OBJ# | 2726 | 1 | 2726 |00:00:00.02 | 3225 | 0 |
| 154 | TABLE ACCESS CLUSTER | TS$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*155 | INDEX UNIQUE SCAN | I_TS# | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
| 156 | TABLE ACCESS CLUSTER | SEG$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*157 | INDEX UNIQUE SCAN | I_FILE#_BLOCK# | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*158 | INDEX RANGE SCAN | I_OBJ1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*159 | INDEX RANGE SCAN | I_USER2 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*160 | TABLE ACCESS BY INDEX ROWID | OBJ$ | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*161 | INDEX RANGE SCAN | I_OBJ1 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
|*162 | INDEX RANGE SCAN | I_USER2 | 0 | 1 | 0 |00:00:00.01 | 0 | 0 |
Predicate Information (identified by operation id):
2 - filter(("T"."ANALYZETIME" IS NOT NULL OR IS NOT NULL OR IS NOT NULL))
9 - access("U"."NAME"="S"."COFIR" AND "O"."OWNER#"="U"."USER#")
10 - access("O"."NAME"="S"."COTAB")
11 - access("S"."COFIR"="U"."COFIR")
13 - access("KSPPI"."INDX"="KSPPCV"."INDX")
14 - filter("KSPPI"."KSPPINM"='_dml_monitoring_enabled')
24 - filter("U"."TYUSR"='C')
26 - filter(("S"."CTTAB"='T' AND "S"."TYUSR" IS NULL))
27 - access("T"."COOBJ"="S"."COTAB")
31 - filter("U"."TYUSR"='U')
33 - filter(("S"."CTTAB"='T' AND "S"."TYUSR" IS NULL))
34 - access("S"."COTAB"="T"."COOBJ")
37 - filter(("S"."TYUSR"='G' AND "S"."CTTAB"='T'))
39 - filter(("U"."TYUSR"='U' OR "U"."TYUSR"='X'))
42 - filter("U"."TYUSR"='X')
44 - filter(("S"."CTTAB"='T' AND "S"."TYUSR"='X'))
45 - filter((DECODE(BITAND("O"."FLAGS",2),0,'N',2,'Y','N')='N' AND BITAND("O"."FLAGS",128)=0))
47 - filter(BITAND("T"."PROPERTY",1)=0)
48 - access("O"."OBJ#"="T"."OBJ#")
50 - access("T"."TS#"="TS"."TS#")
52 - access("T"."TS#"="S"."TS#" AND "T"."FILE#"="S"."FILE#" AND "T"."BLOCK#"="S"."BLOCK#")
53 - access("T"."BOBJ#"="CO"."OBJ#")
54 - access("T"."DATAOBJ#"="CX"."OBJ#")
55 - access("CX"."OWNER#"="CU"."USER#")
63 - access("U"."NAME"=:B1)
64 - access("O"."OWNER#"="U"."USER#" AND "O"."NAME"=:B1 AND "O"."NAMESPACE"=1 AND "O"."REMOTEOWNER" IS NULL AND
"O"."LINKNAME" IS NULL AND "O"."SUBNAME" IS NULL)
filter(("O"."SUBNAME" IS NULL AND "O"."REMOTEOWNER" IS NULL AND "O"."LINKNAME" IS NULL))
65 - access("O"."OBJ#"="TS"."OBJ#")
66 - filter((NVL(DECODE(BITAND("T"."TRIGFLAG",67108864)+BITAND("T"."TRIGFLAG",134217728),0,NULL,67108864,'DATA',134217728,'CAC
HE','ALL'),'*')<>'ALL' AND BITAND("T"."PROPERTY",1)=0))
67 - access("O"."OBJ#"="T"."OBJ#")
68 - access("T"."OBJ#"="M"."OBJ#")
75 - access("U"."NAME"=:B1)
76 - access("O"."OWNER#"="U"."USER#" AND "O"."NAME"=:B1 AND "O"."NAMESPACE"=1 AND "O"."REMOTEOWNER" IS NULL ANDsome information about the database:
2 ;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
SQL> sho parameter optimizer
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.1.0.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUEthe issue seems to be on the view DBA_TAB_STATISTICS and in particular on this operation:
| 122 | TABLE ACCESS FULL | TAB$ | 2726 | 11909 | 32M|01:48:00.58 | 13M| 13M|How can I tune this query ?
Thanks for helpingWell, if you've ever looked at the source for DBA_TAB_STATISTICS you will understand why it's not a great candidate to query frequently, like in an exists look up :)
This takes up a little more code, but i'd wager it finishes a bit sooner.
SELECT
/*+ gather_plan_statistics */
T.OWNER,
T.TABLE_NAME
FROM
( SELECT DISTINCT COFIR
FROM DBAUSR_TT
) U,
VDBSTA S,
DBA_TABLES T
WHERE S.COFIR = U.COFIR
AND S.CTTAB = 'T'
AND T.OWNER = S.COFIR
AND T.TABLE_NAME = S.COTAB
AND T.TEMPORARY = 'N'
AND
T.LAST_ANALYZED IS NOT NULL
OR EXISTS
SELECT 1
FROM DBA_INDEXES I
WHERE I.TABLE_OWNER = T.OWNER
AND I.TABLE_NAME = T.TABLE_NAME
AND I.LAST_ANALYZED IS NOT NULL
UNION
SELECT
T.OWNER,
T.TABLE_NAME
FROM
( SELECT DISTINCT COFIR FROM DBAUSR_TT
) U,
VDBSTA S,
DBA_TABLES T,
DBA_TAB_STATISTICS A
WHERE S.COFIR = U.COFIR
AND S.CTTAB = 'T'
AND T.OWNER = S.COFIR
AND T.TABLE_NAME = S.COTAB
AND T.TEMPORARY = 'N'
--added predicate
AND T.LAST_ANALYZED IS NULL
AND A.OWNER = T.OWNER
AND A.TABLE_NAME = T.TABLE_NAME
AND NVL (A.STATTYPE_LOCKED, '*') != 'ALL')
ORDER BY 1, 2; -
My server Windows 2008R2 taking more than 30 hours to complete backup
Yah, no detail here but might be worth calling High-Rely and get a high performance backup NAS with 10gigE in it so you can hit the 24 hour window.
Unfortunately you aren't giving enough information to answer this question. What are you using for backup software? The built in windows backup?
The next question would be, is it possible to reduce how long it takes to back up? Unfortunately we don't know how much data you have, if it is mostly small files or large files, or what media you are backing up to. Tape? USB disk, Network storage? (If so what speed are the network links? 100Mb? 1Gb?
You are very limited with scheduling inside of Windows Backup. You can use windows task scheduler to start backups however and perhaps run them every other day? Your other option would be under the settings tab for the task in Task Scheduler,
"If the task is already running, then the following rule applies" Set this to Queue a new instance. It will wait for the previous backup to finish before... -
Publishing is taking hours to complete!
When I select "Publish" the little status pie chart is getting about 3/4 the way full and then it pauses for hours on end! It will eventually always publish, but it is taking way longer than it used to. Why is this?
FYI -- I have made no changes to my network or internet connection. All other web connections seem to be operating just fine.Try resetting your internet modem by cutting the power for about 30 seconds.
You can test your upload speed by going to .....
http://internetfrog.com/
Maybe you are looking for
-
IPod Photo no longer recognized by iTunes 10
I do not know how long ago my iPod Photo stopped being recognized by iTunes. It is certainly an old iPod that I occasionally use to record voice for podcast. Today, I noticed that this iPod Photo no longer shows up in iTunes 10. I connected it to two
-
3.1.2 updated now songs and apps don't work...please help
I have an ipod touch that was given to me for my birthday a couple of years ago, I've never had any real problems with it untill now: Last night I bought the 3.1.2 update as some of my recently updated apps are unusable without it. I believe this is
-
Hi I have installed MAM 2.5 on my PDA with 128 MB of RAM (Processor: Intel PXA270). Now i have about 500 functional locations, but I can not say that I am impressed about its performance. In real life we will need to have almost 100 000 functional lo
-
Failed to add rpd in obiee 11g
i installed obiee11g. it supports oracle11g with character string non-AL32UTF8. IT IS INSTALLED PROPERLY. BUT I AM UNABLE TO GET THE CATALOG IN BROWSER. WHEN I ADD SAMPLEAPP RPD IT IS SHOWING ERRORS. WILL U PLS TELL ME HOW CAN I ADD RPD TO OBIEE11G
-
Usesdi=yes in formsweb.cfg
Is there a way to set usesdi=yes in formsweb.cfg? I've tried it and I've tried otherparams=usesdi=yes. The server ignores the former and ignores all my parameters with the latter.