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&apos; 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&apos; 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&apos; 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&apos; 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"/>
 

Similar Messages

  • 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;

  • HT201407 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 it took 4 hours an completed but my iphone still wont come on..what can i do to fix the problem? please

    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 &amp; I've had no control of my phone since. I asked him how to regain control &amp; how he knew his exact words were "oh that is out of our scope of capabilities here at this level &amp; you would need an apple engineer to fix it". I said ok then how do I get an apple eng then? He laughed &amp; said you can't!!!! To which I was furious I came home &amp; 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 &amp; 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 &amp; 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????

  • My mac hung up while installing an update. It took hours and still did not complete the update. I restarted my mac. Upon turning it back on, a wheel has been spinning on a grey screen. I tried to reinstall OS X from utilities, but encounter an error. Why?

    My mac hung up while installing an update. It took hours and still did not complete the update. I restarted my mac. Upon turning it back on, a wheel has been spinning on a grey screen. I tried to reinstall OS X from utilities, but encounter an error. What do I do?

    Hey Manaskala,
    First point of call on all grey screen issues is the following:
    http://support.apple.com/kb/TS2570
    Given this issue has appeared after a software update, I'd advise you do the following instead though:
    1. Get an external hard drive, with enough space to put the entire hard drive of your Mac onto. Make sure you've safely copied any data you have off of it, as the next step will erase it.
    2. In the recovery HD of your machine, use Disk Utility to format you EXTERNAL hard drive with the partition table as GUID, and the format as Mac OS Extended (Journaled).
    3. Get out of Disk Utility, and click Reinstall Mac OS X.
    4. When asked where, choose to install onto your external hard drive.
    5. When the download and installation is complete, your Mac will reboot into a clean fresh setup screen. Make your user account an administrator, and make up a name and password; I use 'Test' and 'test'.
    6. Your machine is now running from the external hard drive, not the internal hard drive, so don't be alarmed when you don't see your files.
    7. Open the finder, you should see 'Macintosh HD' in the sidebar. This is the internal hard drive of your computer.
    8. Open Macintosh HD, and copy out the following folders into a new folder on your desktop:
    -Users.
    -Applications.
    -Library. (This only needs to be done if you use 3rd party software that saves things in the /Library, do a quick google and see if it does e.g. Photoshop, Protools).
    9. When these have copied (it'll take quiet a while), you can now use Disk Utility to erase your hard drive. Don't erase Macintosh HD but the ENTIRE hard drive on the inside of your Mac, and as Thomas A Reed mentioned, there was likely an existing issue on your HDD so please go to Security Options and choose 'Zero Out' before clicking erase. This will rebuild the partition table which was a possible cause of the failed update.
    10. Reboot the machine holding 'Option', go to recovery HD.
    11. Choose 'Reinstall Mac OS X', this time onto your INTERNAL hard drive.
    12. When this is complete, make another admin user called test and password test, like you did last time.
    13. Run Software Update from the  menu of your Mac.
    14. In the Finder, you should see your external Hard Drive. open it up, inside that you should see your desktop etc, and on the desktop will be your folder containing Library, Applications and Users.
    15. Go to Finder up next to the  and choose File -> New Finder Window.
    16. In your second finder window, open up Macintosh HD (through the Go -> Computer menu), and go to your Users folder.
    17. Open the Users folder in your first finder window, and copy your user folder (has your name on it) into the second user folder (the one inside Macintosh HD).
    18. This might take a while.
    19. When complete, go to System Preferences -> Users and Groups and unlock the padlock.
    20. Click the '+' sign, and make a new administrator user.
    21. Now, the fun bit. Note the name of your user folder you copied, e.g. 'Nathan', containing all of your stuff. Note the difference between your user folder (has your name on it) and the Users folder (contains YOUR user folder, guest folder and shared folder).
    22. Make the ACCOUNT NAME of your new adminstrator user the EXACT name of your user folder (normally lower case and without spaces), this is case sensitive folks. Your full name can be whatever you want, usually your full name.
    23. Then click create. You should be informed that a home folder with that name in it already exists in the Users folder, would you like to make your new account from that folder? say YES!
    24. When this is complete, log out of the Test user, log into your new account we've just made, all your stuff should be there.
    25. ???????
    26. Profit.
    There's a few little bits that may need to be cleaned up afterwards, applications folder from your external hard drive should replace the applications folder on your internal hard drive, if the previously mentioned /Library folder contained important goodies then that should replace the /Library folder on your new Mac.
    Hopefully that will help you out, straight after that is done make sure your stuff is there, erase your external hard drive and turn on time machine!

  • 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.

  • My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help?

    My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help I have tried everything I know to do

    Unfortunately this means that there is a problem in the boot sector of your hard drive. It might be indicative of a fundamental corruption in the coding that allows your computer to boot your operating system from your hard drive. I had this problem twice and it resulted in me having to get a new hard drive and restore my data.
    In other words, your computer can't talk to your operating system so you can't access your data.
    Here is my advice: DON'T CALL APPLE TECH SUPPORT though they are kind and usually helpful it will take you an hour just to explain the situation and they will only tell you to do what I'm gonna say here.
    First: Shut down your computer completely
    Two: boot up while holding down the following keys: command, option, p, and r. The computer will reboot 3 times. This solution will likely fail so if you're frustrated skip to the next step.
    Three: Boot up while holding down the option key. Select recovery drive. Select your default language. Select disk utility, click on Macintosh HD, and select "verify and repair volume." Likely the verification will produce some line like "unused node not erased." Or something like that. If anything using the words "node structure" comes up, you need a new hard drive.
    If after verification and repairs you still can't boot I sincerely hope you have apple care because you will need a new hard drive. Set up an appointment to come in to the apple store, they will tell you to go and get data recovery, just ask them to give you the old hard drive. Unless you have an up to date backup in which case you can just restore from that. If you're lucky the only issue is with the boot sector which means that if you ask them to give you the old hard drive, you can buy an enclosure and you have effectively been given a free external hard drive. It still works to store data just not to load an operating system.
    If you have a back up drive bring it to the apple store and they'll do the whole thing right there, it should take around an hour and a half but may take longer.
    Hope this helps, it's annoying but it's your safest bet.
    All the best.

  • I switch on my mac book pro and all i get is the apple logo and below a loading wheel , but its stuck there for like an hour !!! help??

    i switch on my mac book pro and all i get is the apple logo and below a loading wheel , but its stuck there for like an hour !!! help??

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    Step 1
    The first step in dealing with a boot failure is to secure your data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since your last backup, you can skip this step.   
    There are several ways to back up a Mac that is unable to boot. You need an external hard drive to hold the backup data.
         a. Boot into the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
    b. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    c. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. The easiest way to deal with the problem is to boot from an external drive, or else to use either of the techniques in Steps 1b and 1c to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a boot failure can be resolved by resetting the NVRAM.
    Step 4
    If you use a wireless keyboard, trackpad, or mouse, replace or recharge the batteries. The battery level shown in the Bluetooth menu item may not be accurate.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to boot, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can boot now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've booted from an external storage device, make sure that your internal boot volume is selected in the Startup Disk pane of System Preferences.
    Boot in safe mode. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you boot in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, your boot volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 6.
    If you can boot and log in now, empty the Trash, and then open the Finder Info window on your boot volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then reboot as usual (i.e., not in safe mode.)
    If the boot process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select your startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then reboot as usual.
    Step 9
    Reinstall the OS. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 10
    Repeat Step 9, but this time erase the boot volume in Disk Utility before installing. The system should automatically reboot into the Setup Assistant. Follow the prompts to transfer your data from a Time Machine or other backup.
    Step 11
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a boot failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 12
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • TS1717 The download speed for movies is terribly slow.  It took hours to download.  Any suggestions?

    Any suggestions for improving download speeds on movies. It took hours to download my first purchase.  I've used Amazon and Netflix for renting movies and had reasonable download speeds.

    Hi Travelling fool 101,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like you were able to update the iPad but were eventually able to. I would recommend that you read this article, it may be able to help the issue.
    Resolve issues with an over-the-air iOS update - Apple Support
    Download takes a long time, or you can't reach update server
    iOS updates require a persistent Internet connection, and the time it takes to download the update will vary according to the size of the update and your Internet speed. You can use your device normally while downloading the iOS update, and iOS will notify you when you can install the update. To improve the speed of the download, avoid downloading other content.
    Cheers,
    Mario

  • I Baught A iMac 2010 From Someone it came with lion but for the programs i use i need snow leopard but when trying to install it won't boot from usb or cd what can be the problem i've been at this for over 24 hours if anyone ca help it'd be greatly apprec

    I Baught A iMac 2010 From Someone it came with lion but for the programs i use i need snow leopard but when trying to install it won't boot from usb or cd what can be the problem i've been at this for over 24 hours if anyone ca help it'd be greatly appreciate it! Thanks!

    Downgrade OS X Lion To Snow Leopard [Video How-To]
    http://www.cultofmac.com/110614/downgrade-os-x-lion-to-snow-leopard-video-how-to /
    How To Downgrade OS X Lion To Snow Leopard: The Complete Tutorial
    http://www.redmondpie.com/how-to-downgrade-os-x-lion-to-snow-leopard-the-complet e-tutorial/
    How To Downgrade from Apple OS X Lion to Snow Leopard
    http://www.pcmag.com/article2/0,2817,2389334,00.asp

  • IPod nano (7th gen) and iTunes have said it is 'synced' however no songs show when disconnected. Once reconnected, storage says data if fully free even though sync took place, experience of same, help?

    IPod nano (7th gen) and iTunes have said it is 'synced' however no songs show when disconnected. Once reconnected, storage says data if fully free even though sync took place, experience of same, help please?

    IPod nano (7th gen) and iTunes have said it is 'synced' however no songs show when disconnected. Once reconnected, storage says data if fully free even though sync took place, experience of same, help please?

  • IMac 7,1. Snow Leopard. 2 printers that printed nothing, or more than ±1/4 from page top. Reinstalled OS. Time Machine BU now allows only latest (faulty) files. ±4 series shown, each taking +8 hours to complete. How to reinstall from 'DEVICES' in 'iMac'?

    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.

  • My iphone 6 battery duration is just 4 hour or less, please help me

    my iphone 6 battery duration is too low, just 4 hour or less, please help me with this?

    setting - general - battery usage - see what app is draining your battery.

  • Can't find a playlist I created on my playlist or computer? I didn't delete it. I don't want to create it again because it took a long time. please help me find and recover.

    Can't find a playlist I created on my playlist or computer? I didn't delete it. I don't want to create it again because it took a long time. please help me find and recover.

    Playlists only exist as part of the larger iTunes library listing so if you are not seeing it there it doesn't exist anywhere else.  I know with my older version of iTunes it is very easy to accidentally delete a playlist.  With newer versions it may be possible to recover it with the undo feature in the menu but this likely will only work immediately after the deletion.

  • I have restored my iphone and its saying time remaining is about 24 hours can you please help. can i switch the phone back on ? please help ??? :(

    after there being an error in trying to update the software it said i have to restore my phone which i have done but says time remaining is about 24 hours . can you please help ? i just want to switch my phone on again .

    Hello lyndsey1430,
    From what I can gather, it sounds like you're having issues restoring your device. After reviewing your post, I have located an article that can help in this situation. It contains helpful advice concerning recovery mode:
    If you can't update or restore your iPhone, iPad, or iPod touch
    Use recovery mode
    You might need to use recovery mode to restore your device in these cases:
    iTunes doesn't recognize your device or says it's in recovery mode.
    You see the Apple logo onscreen for several minutes with no progress bar.
    You see the Connect to iTunes screen.
    Learn what to do if you see the progress bar onscreen for several minutes.
    To put your device into recovery mode, follow these steps:
    Turn off your device and leave it off.
    Plug in your device's USB cable to a computer with iTunes. 
    Hold down the Home button on your device as you connect the USB cable. Keep holding down the Home button until you see the Connect to iTunes screen.
    When you see this screen, release the Home button. If you don't see this screen, try steps 1 through 3 again. 
    When your device is connected, iTunes will open. You'll see a message saying that iTunes has detected an iPhone, iPad, or iPod touch in recovery mode.
    Use iTunes to restore your device. Restoring in recovery mode will erase your device. If you previously synced with iTunes or iCloud, you might be able to restore from your backup.
    Get more help
    Learn what to do if you don't see your device in iTunes for OS X, or in iTunes for Windows.
    If you put your device into recovery mode by mistake, restart it. Or you can wait 15 minutes and your device will exit recovery mode by itself.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • I have had an eMac for a few years. I don't know any of the specs. Every time I try to download or install a new version of itunes or OS I get any number of error messages and cannot complete.  Help!!!!

    I have had an eMac for a few years. I don't know any of the specs. Every time I try to download or install a new version of itunes or OS I get any number of error messages and cannot complete.  Help!!!!

    It's best to start with figuring out your eMac model and OS in order to answer the question. This article will help you determine your model:
    How to locate the serial number and identify your model
    And to get the version of Mac OS that's installed:
    From the Apple Menu at the left end of your menu bar, select "About this Mac..."
    In the resulting Window, you can see the Mac OS version just under the big "Mac OS X":
    If the eMac is older and you have never upgraded the system software, it's possible that your OS version is too old to run the current iTunes. The current version requires OS 10.5 (Leopard)or higher, which is a pay-for system upgrade.

Maybe you are looking for

  • Aperture not showing up / displaying in Mail Photo Browser in Leopard 10.5

    This is for anyone who upgraded to Leopard 10.5.1 and wanted to use Mail's Photo Browser to insert Aperture pics into mail messages. At first, it only displayed the iPhoto and Photo Booth folders in Mail's Photo Browser on my Powermac but I remember

  • Director 11 and Actionscript 3

    I am having trouble getting some Action Script 3 Flash movies to run in Director 11. I am aware that you should not use Flash components and have avoided this. Can somebody point me in the direction of a comprehensive document explaining best practic

  • Cannot populate user defined column

    I try to get the selected Item's AvgPrice on et_validate event with the following code. After orecordset.doquery the item's avgprice will not be displayed. How can achieve this? Any help would be appreciated. Regards Zoltan Sutto Set oItem = oInvoice

  • Working with DVCPro 720p in 10.1.2

    This was going to be a question, but then I figured out the workaround, so I'm sharing what I learned. I'm working on a project shot in DVCPro 720p which is anamorphic - 960:720 pixels and my timeline automatically set itself to the same size. There'

  • OTL Time Upload Requirement

    Hi there, We have a requirement where we need to capture two additional pieces of information on the timecard which are mapped to input values sequence 12 and 13 on the element. We also have a custom requirement for sites with no application access t