While creating context index
desc test
no number(2) primary key
text varchar2(20)
create index tindex on test(text) indextype is ctxsys.context;
when a gave this command cpu usage is going to 100% and i waited up to 9 hr but i didn't get index create what is the problem there is no error.my table don't have any records.
my os is sun solaris intel and oracle version is 8.1.5
regars
chandrahas
Hi,
is it possible to give an example of how your data looks like? What are these special characters? Oracle Text includes option like printjoins and skipjoins which give special meanings to characters. So an example will guide us for helping you.
Herald ten Dam
http://htendam.wordpress.com
Similar Messages
-
Error while creating an Index in SP14..Please help.. :(
Hello All,
Im working on SP14.
Got an error as below while creating an Index:
" <b>Index could not be created; creating index failed: general configuration error (Errorcode 2030)"</b>
Whats wrong..?
Please help.
Awaiting Reply.
Thanks and Warm Regards,
Ritu R HunjanHi Ritu & Subrato,
I'm affraid Errorcode 2030 is related to TREX user administrative rights in the OS.
Please take a look at this thread and the suggestions give there to fix your problem:
Index creation failure and other problems
Hope this helps,
Robert -
Privileges require for a user to create CONTEXT indexes
Hi all,
RDBMS: 11.2.0.3
SO.......: OEL 6.3
What are the necessary privileges that have to be granted to a user to be able to create CONTEXT Indexes, for example. I have granted the CTXAPP to my user, but when i tryied to create the CONTEXT Index with the command bellow, i got an "insufficient privilege" error message.
CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC (ON COMMIT)');It depends on whether the user is trying to create the index on his own table in his own schema or on somebody else's table in somebody else's schema. The following demonstrates minimal privileges (quota could be smaller) for user usr_docs to create the index on his own table in his own schema and for my_user to create the index on usr_docs table in usr_docs schema.
SCOTT@orcl> -- version:
SCOTT@orcl> SELECT banner FROM v$version
2 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
5 rows selected.
SCOTT@orcl> -- usr_docs privileges:
SCOTT@orcl> CREATE USER usr_docs IDENTIFIED BY usr_docs
2 /
User created.
SCOTT@orcl> ALTER USER usr_docs QUOTA UNLIMITED ON users
2 /
User altered.
SCOTT@orcl> GRANT CREATE SESSION, CREATE TABLE TO usr_docs
2 /
Grant succeeded.
SCOTT@orcl> -- my_user privileges:
SCOTT@orcl> CREATE USER my_user IDENTIFIED BY my_user
2 /
User created.
SCOTT@orcl> GRANT CREATE SESSION, CREATE ANY INDEX TO my_user
2 /
Grant succeeded.
SCOTT@orcl> -- user_docs:
SCOTT@orcl> CONNECT usr_docs/usr_docs
Connected.
USR_DOCS@orcl> CREATE TABLE tab_documentos (documento CLOB)
2 /
Table created.
USR_DOCS@orcl> INSERT ALL
2 INTO tab_documentos VALUES ('test data')
3 INTO tab_documentos VALUES ('other stuff')
4 SELECT * FROM DUAL
5 /
2 rows created.
USR_DOCS@orcl> CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01
2 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 PARAMETERS ('SYNC (ON COMMIT)')
5 /
Index created.
USR_DOCS@orcl> DROP INDEX usr_docs.idx_ctx_tab_documentos_01
2 /
Index dropped.
USR_DOCS@orcl> -- my_user:
USR_DOCS@orcl> CONNECT my_user/my_user
Connected.
MY_USER@orcl> CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01
2 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 PARAMETERS ('SYNC (ON COMMIT)')
5 /
Index created. -
Specifying nologging while creating spatial indexes
Hello
Is it possible to specify NOLOGGING parameter while creating spatial indexes? When i am trying to specify this i get the following error message
SQL> create index BUSH_sx on BUSH(BUSHLOCATION) indextype is mdsys.spatial_index nologging;
create index BUSH_sx on BUSH(BUSHLOCATION) indextype is mdsys.spatial_index nologging
ERROR at line 1:
ORA-29850: invalid option for creation of domain indexes
Even i cannot alter the index with NOLOGGING option. Does Oracle allow this option in spatial indexes?
Regards
samI am looking into the logging issues.
SDO_COMMIT_INTERVAL determines the number records in a commit chunk during index BUILD, I noted this was not documented raised doc BUG 6414510 for this
and SDO_DML_BATCH_SIZE manual entries....
Specifies the number of index updates to be processed in each batch of updates after a commit operation. The default value is 1000. For example, if you insert 3500 rows into the spatial table and then perform a commit operation, the updates to the spatial index table are performed in four batches of insert operations (1000, 1000, 1000, and 500).
The sdo_dml_batch_size parameter can improve application performance, because Spatial can preallocate system resources to perform multiple index updates more efficiently than successive single index updates; however, to gain the performance benefit, you must not perform commit operations after each insert operation or at intervals less than or equal to the sdo_dml_batch_size value. You should not specify a value greater than 10000 (ten thousand), because the cost of the additional memory and other resources required will probably outweigh any marginal performance increase resulting from such a value.
====================================
I have found if you are doing repeated inserts/updates etc of 100,000 plus records despite the above, there is an advantage or appears to be! ;-) for setting it to 50,000.
it can be adjusted for an index that has been built
update SDO_INDEX_METADATA_TABLE
set SDO_DML_BATCH_SIZE = <Desired Value>
where sdo_index_owner = <INDEX/SCHEMA Owner>
and sdo_index_name = 'INDEX_NAME';
Clearly every system will be different experiment on test systems only....
Another area which can generally impact DML is undo_retention holding blocks when
you just don't care.
good settings when you dont wish to hold it
Look at SQL> show parameter undo
undo_management string AUTO
undo_retention integer 1 <<<< One second
undo_tablespace string MAKE Sure its big enough
with 10.2.0.x seems to be an issue with setting it to 0 but I've not had time to investigate
will do later. Also at 10.2.0.2 VERY large DML can sometimes hit ORA-600's the reasons are complex if you do hit them open a service request with support. There is a patch to cope with 95% of the issues. The other 5% I'm in the process of nailing and for those the current workaround is
update SDO_INDEX_METADATA_TABLE
set SDO_DML_BATCH_SIZE = 1
where sdo_index_owner = <INDEX/SCHEMA Owner>
and sdo_index_name = 'INDEX_NAME';
========================================
Dont do this without checking the 600 with support....
========================================
rather rambling....regarding the redo watch this space... -
Why I can't create ConText index?
Hi everyone.
I install Oracle9i(v9.0.1.1) in my computer.
I create a table, insert a xml document into it, but I can't create ConText index
on it.
How can I solve this problem ?
Thank you.
SQL> create table xtest(doc sys.xmltype);
SQL> insert into xtest values (sys.xmltype.createxml('<A>simple</A>'));
SQL> alter session set query_rewrite_enabled = true;
SQL> alter session set query_rewrite_integrity = trusted;
SQL> create index xtestx on xtest(doc)
2 indextype is ctxsys.context;
ORA-29855: An error occur when execute ODCIINDEXCREATE
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drixtab.create_index_tables
ORA-01031: insufficient privileges
ORA-06512: in "CTXSYS.DRUE", line 157
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", line 176I've solve this problem.
I ues PL/SQL Developer. When I connect as SYSDBA, create index fail.
But if I connect as normal, it succeed! -
Oracle intermedia error while creating the index
desc test
no number(2) primary key
name varchar2(20)
SQL> create index tindex on test(name) indextype is ctxsys.context;
create index tindex on test(name) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extprocep_agt1: fatal: relocation error: file
/export/home/oracle8i/OraHome1/ctx/lib/libctxx8.so: symbol ociepgoe: referenced
symbol not found
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
what is the problem ??
i Add an entry in the tnsnames.ora:
extproc_connection_data =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = ipc)
(KEY = DBSID))
(CONNECT_DATA = (SID = ep_agt1)))
and
i Add the following in the listener SID_LIST:
(SID_DESC = (SID_NAME = ep_agt1)
(ORACLE_HOME = /oracle)
(ENVS = LD_LIBRARY_PATH=/oracle/ctx/lib)
(PROGRAM = extproc))
my os is sun solaris intel and oracle version is 8.1.5
nullTry the following:
1. Connect as ctxsys, and perform the following:
SQL> create or replace library dr$libx as '<ORA_HOME>/bin/oractxx8.dll';
2. Check the status of CTXSYS packages:
select object_name, status from user_objects where status like 'IN%';
OBJECT_NAME STATUS
DRIDISP INVALID
3. Re-compile any invalid packages (should be just dridisp) from the .plb file(s) in ?\ctx\admin
SQL> @<ORA_HOME>\ctx\admin\dridisp.plb
Package body created.
SQL> select object_name, status from user_objects where status like 'IN%';
no rows selected
conn test/test
SQL> create index simple_index on simple(text) indextype is ctxsys.context ;
Index created.
Notes
Note1. CONTEXT QUERIES WILL STILL NOT RUN.
SQL> insert into simple values (1, 'the cat sat on the mat') ;
1 row created.
SQL> commit;
Commit complete.
SQL> select pk from simple where contains(text, 'cat') >0 ;
select pk from simple where contains(text, 'cat') >0
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 1, column 7:
PLS-00201: identifier 'CTXSYS.DR_REWRITE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Edit <ORA_HOME\admin\orcl\pfile\init.ora
where orcl is your database name
Remove the line "text_enable=true" and bounce the database.
SQL> select pk from simple where contains(text, 'cat') >0 ;
PK
1
Best Regards -
Rights issue when creating context index.
Hi,
We have two users, "app" and "appsys" . with most permissions granted through roles.
"app" has just enough permissions for the application to run. No update/delete/etc on most tables, just select and (on a select few) insert rights.
"appsys" is the "crew" user, with enough rights for basic day-to-day administration and most upgrade scripts that come with new code releases.
Other than that, it's a pretty much default EE 11.2.0.1.0.
Therefore, my first preference was to have 'appsys' create the desired text index for use by 'app':
CREATE INDEX app.table_text_ix ON app.table (xml)
INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('SYNC (EVERY "TRUNC(SYSDATE + 1) + 03/24") TRANSACTIONAL');
Have also tried the bare:
CREATE INDEX app.table_text_ix ON app.table (xml)
INDEXTYPE IS CTXSYS.CONTEXT;
Both give the same result:
Error at Command Line:1 Column:19
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvxtab.create_index_tables
ORA-01031: insufficient privileges
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
When using user app (temporarily granting relevant privileges):
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvddl.IndexCreate
ORA-27486: insufficient privileges
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
I've tried granting just about anything but the kitchen sink to either user, both direct and indirect, but it still won't let me. Even SYS seems to be missing something.
Or rather, I seem to be missing something. But what? I've read a few prior threads about this issue and tried most suggestions: still no go.
Things I've GRANTed, as per documentation:
- CTXAPP role
- execute on ctxsys.ctx_ddl
- RESOURCE
- CONNECT
Other privileges it already had OR that I've tried granting:
EXECUTE ANY PROCEDURE
CREATE SESSION
UNLIMITED TABLESPACE
CREATE TABLE
CREATE ANY TABLE
ALTER ANY TABLE
DROP ANY TABLE
CREATE CLUSTER
CREATE ANY INDEX
ALTER ANY INDEX
DROP ANY INDEX
CREATE SEQUENCE
CREATE PROCEDURE
CREATE ANY PROCEDURE
CREATE ANY JOBB
CREATE TRIGGER
CREATE ANY TRIGGER
CREATE TYPE
CREATE OPERATOR
CREATE INDEXTYPE
Have also tried the grant select on sys.all_users to public; solution from a previous thread.
So... I'm lost... what am I missing?I don't know if what you have posted is pseudo-code or what you actually ran. Table is not a valid name for a table. It is best to post a copy and paste of an actual run from SQL*Plus, including line numbers and errors. I suggest that you start with a very simple example, avoiding reserve names like table and xml, just creating a simple text index on a table with a varchar2 column, as the same user that owns the table, checking everything along the way. Once you get that working, then you can add the other things one at a time. I have provided a script for you to run and post the results of below, followed by a run of the script on my system to show what you should get.
-- script for you to run from SQL*Plus and post a copy and paste of the results of:
-- version:
SELECT * FROM v$version
-- check that ctxsys user exists:
SELECT username
FROM all_users
WHERE username = 'CTXSYS'
-- check that Oracle Text is installed properly:
SELECT *
FROM dba_registry
WHERE comp_id = 'CONTEXT'
-- create test user:
CREATE USER test IDENTIFIED BY test
-- grant privileges:
GRANT CONNECT, RESOURCE, CTXAPP TO test
-- connect:
CONNECT test/test
-- create table:
CREATE TABLE test.test_tab
(test_col VARCHAR2 (9))
-- insert test data:
INSERT INTO test.test_tab (test_col)
VALUES ('test data')
-- check that test data was inserted:
SELECT * FROM test.test_tab
-- create index:
CREATE INDEX test.test_idx
ON test.test_tab (test_col)
INDEXTYPE IS CTXSYS.CONTEXT
-- check for errors:
SELECT * FROM ctx_user_index_errors
-- check that index and domain index tables were created:
COLUMN object_name FORMAT A30
SELECT object_name, object_type
FROM user_objects
WHERE object_name LIKE '%TEST%'
-- check that tokens were created:
SELECT token_text FROM test.dr$test_idx$i
-- test query:
SELECT * FROM test.test_tab
WHERE CONTAINS (test_col, 'test data') > 0
/-- example of the results you should get:
SCOTT@orcl_11gR2> -- version:
SCOTT@orcl_11gR2> SELECT * FROM v$version
2 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
5 rows selected.
SCOTT@orcl_11gR2> -- check that ctxsys user exists:
SCOTT@orcl_11gR2> SELECT username
2 FROM all_users
3 WHERE username = 'CTXSYS'
4 /
USERNAME
CTXSYS
1 row selected.
SCOTT@orcl_11gR2> -- check that Oracle Text is installed properly:
SCOTT@orcl_11gR2> SELECT *
2 FROM dba_registry
3 WHERE comp_id = 'CONTEXT'
4 /
COMP_ID
COMP_NAME
VERSION STATUS
MODIFIED NAMESPACE
CONTROL SCHEMA
PROCEDURE STARTUP
PARENT_ID
OTHER_SCHEMAS
CONTEXT
Oracle Text
11.2.0.1.0 VALID
30-MAR-2010 11:06:15 SERVER
SYS CTXSYS
VALIDATE_CONTEXT
1 row selected.
SCOTT@orcl_11gR2> -- create test user:
SCOTT@orcl_11gR2> CREATE USER test IDENTIFIED BY test
2 /
User created.
SCOTT@orcl_11gR2> -- grant privileges:
SCOTT@orcl_11gR2> GRANT CONNECT, RESOURCE, CTXAPP TO test
2 /
Grant succeeded.
SCOTT@orcl_11gR2> -- connect:
SCOTT@orcl_11gR2> CONNECT test/test
Connected.
TEST@orcl_11gR2> -- create table:
TEST@orcl_11gR2> CREATE TABLE test.test_tab
2 (test_col VARCHAR2 (9))
3 /
Table created.
TEST@orcl_11gR2> -- insert test data:
TEST@orcl_11gR2> INSERT INTO test.test_tab (test_col)
2 VALUES ('test data')
3 /
1 row created.
TEST@orcl_11gR2> -- check that test data was inserted:
TEST@orcl_11gR2> SELECT * FROM test.test_tab
2 /
TEST_COL
test data
1 row selected.
TEST@orcl_11gR2> -- create index:
TEST@orcl_11gR2> CREATE INDEX test.test_idx
2 ON test.test_tab (test_col)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 /
Index created.
TEST@orcl_11gR2> -- check for errors:
TEST@orcl_11gR2> SELECT * FROM ctx_user_index_errors
2 /
no rows selected
TEST@orcl_11gR2> -- check that index and domain index tables were created:
TEST@orcl_11gR2> COLUMN object_name FORMAT A30
TEST@orcl_11gR2> SELECT object_name, object_type
2 FROM user_objects
3 WHERE object_name LIKE '%TEST%'
4 /
OBJECT_NAME OBJECT_TYPE
DR$TEST_IDX$I TABLE
DR$TEST_IDX$K TABLE
DR$TEST_IDX$N TABLE
DR$TEST_IDX$R TABLE
DR$TEST_IDX$X INDEX
TEST_IDX INDEX
TEST_TAB TABLE
7 rows selected.
TEST@orcl_11gR2> -- check that tokens were created:
TEST@orcl_11gR2> SELECT token_text FROM test.dr$test_idx$i
2 /
TOKEN_TEXT
DATA
TEST
2 rows selected.
TEST@orcl_11gR2> -- test query:
TEST@orcl_11gR2> SELECT * FROM test.test_tab
2 WHERE CONTAINS (test_col, 'test data') > 0
3 /
TEST_COL
test data
1 row selected.
TEST@orcl_11gR2> -
Creating context index on blob-field
I'm running Oracle 8.1.6 on Suse Linux 6.4.
Trying to create an database via dbassist or dbassist created skripts
will fail, if try to include interMedia.
So used the possibility to copy a sample datebase from CD.
Who knows about a Solution for this?
So configured listener.ora und tnsnames.ora to use external procedures.
Creating an user with cxtapp-role works.
Creating ctx preferences works.
But.......
Creating an index on blob field will fail.
The Error Message tells :
create index doc_index on textdokument(text)
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf|hrung der Routine ODCIINDEXCREATE
ORA-20000: interMedia Text-Fehler:
DRG-11206: Benutzerfilterbefehl /opt/oracle/product/8.1.5/ctx/bin/ctxhx
konnte
nicht ausgef|hrt werden
ORA-06512: in "CTXSYS.DRUE", Zeile 126
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 54
ORA-06512: in Zeile 1
Funny, there is no directory $ORACLE_HOME/ctx/bin
and there there is no ctxhx anywhere!
Reinstalling InterMedia will not help.
Are there no Filters within the Linux-Release?
Whats the problem like ?
nullI encountered similar problem running Oracle 8.1.6.on Windows 2000 Prof. I created and then populated a table, by indexing one of the CLOB columns I got following error messages:
Create index system.AI on Tabel1(Text5) indextype is ctxsys.context
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf|hrung der Routine ODCIINDEXCREATE
ORA-20000: interMedia Text-Fehler:
DRG-11440: Vorgang wird in der GERMAN Sprache nicht unterst|tzt
ORA-06512: in "CTXSYS.DRUE", Zeile 126
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 54
ORA-06512: in Zeile 1
The error message tell me that something is not supported for German text so the indexing fails. Does it mean there is no German support in IMT? Does somebody know what's wrong? Any workaround & Where to look at? Thanks.
Lucy -
Hi,
Iam trying to create an context index in a table. After a logn run it gave an error. end-of-file on communication channel. How to resolve this error. And do i have any possibility to continue my index creation. How to recover it?
Urgent Help needed......
Thanks,
Sri"End of file on communication channel" nearly always means the Oracle background process has crashed, which means either an Oracle bug or a hardware issue.
You would need to look at the database alert logs to get more information about the crash.
You probably won't be able to resume the indexing job from where it crashed, but will need to drop the index and recreate it. -
When I try to create a context index in a table I have the following error:
create index pruebaindex on pruebactx(TEXTO) indextype is ctxsys.context
2 ;
create index pruebaindex on pruebactx(TEXTO) indextype is ctxsys.context
ERROR en lmnea 1:
ORA-29855: se ha producido un error en la ejecucisn de la rutina
ODCIINDEXCREATE
ORA-20000: Error de interMedia Text:
DRG-50704: el listener de Net8 no se esta ejecutando o no puede iniciar
procedimientos externos
ORA-28575: no se ha podido abrir la conexisn RPC con el agente de procedimiento
externo
ORA-06512: en "CTXSYS.DRUE", lmnea 126
ORA-06512: en "CTXSYS.TEXTINDEXMETHODS", lmnea 54
ORA-06512: en lmnea 1
I ve tried to configure listener for call external procedures using the Ora Admin manual indications and I think that a second listener is running for RPC connections but the create index command give me the same error.
ThanksThe temp files should get deleted after each file is processed.
"Forever" is meaningless. How long does it take, and for how many documents? Text indexes do take a long time to create - can be measured in days in some situations.
The errors you're seeing in ctx_user_index_errors are probably caused by damaged documents - files that the filter thinks it recognizes, but then fails to process according to the expected layout for those documents. If there are only a few of these, then I wouldn't worry too much - if there are lots (> 1% of your total, perhaps) then it's definitely worth investigating further.
Scanned documents stored as images (jpegs, tiffs, etc) cannot be indexed. Generally the filters should recognize and skip such documents without errors. -
Error while creating an index for NVARCHAR2 datatype
Dear All,
I'm trying to create and index on a NVARCHAR2 field type but I get the following error:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10509: invalid text column: SUBJECT
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
If I create an index in the same table but for a VARCHAR2 field type, I don't get any.
Please help me. Here is the table description:
Thanks.Daniele,
Can you describe your use of NVARCHAR2 ?
What is your National character set ?
What kind of data are you storing there ?
- Steve B. -
ORA-01555: snapshot too old while creating large index
Dear All,
I have a newly created partitioned table of size 300GB.
On which i am creating a composite unique index having 5 columns(local partitioned).
The size of the index may be around 250GB(assume from a similar type table).
My DB version in Oracle 9i release 2.
Size of my undo tablespace is 12GB.
Undo related parameters are as below:
undo_management AUTO
undo_retention 18000
undo_suppress_errors FALSE
At 10:40:36 AM i fired the "create index .... local;" query
All day long i was monitoring using "select used_ublk,addr from v$transaction" and same below output all the times:
USED_UBLK ADDR
1 C000000185ECF458
[ using v$session(column TADDR) i found that "C000000185ECF458" is the ADDR of my transaction (if i am not wrong) ]
But at 11:09:27 PM (about 12 hours later) i found: ORA-01555: snapshot too old
I am sure that at that time my undo tablespace usages was below < 30%
At that time some insertion & selection was going on but those were not on this table.
Why this happened ? As far as i know oracle in AUM oracle doesn't overwrite existing undo data as long as there
is free space available.
While searching on web i found one post as below:
likeThanks guys for your prompt replys.
Yes i've monitored v$TEMPSEG_USAGE and DBA_SEGMENTS for the progress of the index creation, but this are not related to my question and yes i could use nologging or parallel (in gact i'm going to try all these options for faster index creation). On my original post i missed below part, please go through it:
While searching on web i found one post as below:
metalinknote #396863.1 which describes it
=> 2) When are UNDO segments OFFLINED?
Answer:
SMON decides on the # of undo segs to offline and drop based on the max transaction concurrency over a 12 hour period in 9i. This behavior is altered in 10g where the max concurrency is maintained over a 7-day period. Moreover, in 10g SMON doesn't drop the extra undo segs, but simply offlines them. SMON uses the same values with "fast ramp up" to adjust the number of undo segments online.
Link:[http://kr.forums.oracle.com/forums/thread.jspa?threadID=620489]
I says "SMON decides on the # of undo segs to offline and drop based on the max transaction concurrency over a 12 hour period in 9i.".
what does it mean ? Is this the cause for me, as my query war 12 hours old and my undo_retention is set to 5 hours ?
I'll be very grateful if some one explains the cause.
BR
Obaid -
Error while creating new Index
Hi,
I'm trying to create Index and I'm getting the following error:
Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
Can you please suggest what's the mistake?
Regards,
BalajiHello Balaji,
Please check whether the nameserver and other property values given in the Trex Service in Visual Admin of the system are coorect.
Visual Admin --> Server --> Services --> TREX Service.
Regards,
Vinod -
ORA-29855 while creating spatial index
Hello, I am having trouble creating a spatial index.
When I execute the following:
create index la2003geoidx on polygons("GEOMETRY1")
indextype is mdsys.spatial_index;
I get the error
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
I've seen a few topics in this forum that mention this error, but in my case that is the ONLY error message.whew. had trouble with the login.
Hi Daniel,
we are using 8.1.6 with the latest patches available. We have been using a spatial database for some time, but have never gotten the indexing to work. We always got wierd stuff, but now it's just the one error message.
We are using Geomedia Pro 4 to access the data on the client end, if that makes a difference -
Abnormality while creating Context Menu
Hi All,
When i was working with context menus it is found that the context menus having label like "Copy" "Delete" are not been created..
Any Idea..
Thanks And Regards
Abdul Jaleel CIf found out that some labels are simply not displayed. If you create a custom menu item with a label like "Adobe" for example, it won't appear.
I also created this method to ease the addition of menu items:
private function createMenuItem(
menu:ContextMenu,
handler:Function,
caption:String,
separator:Boolean,
enabled:Boolean = true,
visible:Boolean = true):void
var menuItem:ContextMenuItem = new ContextMenuItem(caption, separator, enabled, visible);
menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, handler);
menu.customItems.push(menuItem);
Maybe you are looking for
-
Can someone help me with getting a form from read-only to editable
I have an e-mail button to email my form to the users and it puts the form into a READONLY status, how do I get the fields to be editable again? For example, I have a form that a user is going to fill out, then email to others. Once the pdf file is a
-
T410 broadband device not found
Hello I am trying to get the built in broadband device work (of course i have purcached the device and installed the hardware aswell as all the required softwares and driver which means the qualcomm gobi 2000 usb composite device 9205 driver and all
-
How may I configure my keyboard or its function so that in 'Messages" pressing the "return" key does not send the message , but moves to the next line.? I've looked at preferences etc. but cant seeem to locate an option for the "return" key
-
Youtube videos won't completely load / play in safari - (OK in firefox tho)
So whenever I try to play a youtube video, it'll partially buffer, and only about the first quarter to half of the video will play. This was the case in Safari 2.whatever and Tiger, and is still the case with Safari 3 and Leopard. Here's the weird pa
-
Combinataion between VBRK AND LIPS
hi, I have a requirement, where i have to combine two tables , which doesnt have any field in common. but i have to combine the tables VBRK and LIPS. from lips i have to select matnr and lfimg. from vbrk, i have to take vkorg,vtweg, kunrg. how can i