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 ?
null
I 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
Similar Messages
-
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. -
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! -
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> -
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. -
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
chandrahasHi,
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 -
About context index???
Dear all,
My oracle version is as follows;
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Productio
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
I created ctxsys user as follows;
conn sys as sysdba
sql> @D:\oracle\ora92\ctx\admin\dr0dsys
-- Run drcsys.sql with args USERNAME DEFAULT_TABLESPACE TEMPORARY_TABLESPACE
sql> @D:\oracle\ora92\ctx\admin\dr0csys.sql ctxsys ctxsys temp
connect ctxsys
-- Run dr0inst.sql, with arg - your CTX library (this one is for HP-UX)
sql> @D:\oracle\ora92\ctx\admin\dr0inst
-- Run drdefXX.sql to install language, XX = {us, uk, ...}
sql> @D:\oracle\ora92\ctx\admin\defaults\drdefus.sql
-- Grant users access to use CTX
sql> grant CTXAPP to sun1;
Now,I am creating context index on blob coulmn, but i got following error.
conn sun1
SQL> create index articles_title_idx on articles (title)
indextype is ctxsys.context;
create index articles_title_idx on articles (title)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index ARTICLES_TITLE_IDX does not exist
DRG-50857: oracle error in drdmlpo
ORA-00600: internal error code, arguments: [opibnd1], [], [], [], [], [], [],
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
Please help me.
Thanks In advance,
Prathamesh.ORA-600 is Oracle's message for unhandled exceptions in their code i.e. bugs. There is a bug for this behaviour. Does your system have the CURSOR_SHARING paremeter set to anything other than EXACT?
Cheers, APC -
Performance of context index with sorting
Dear All,
I've got a problem and don't know how to solve this.
there has a table which have a XMLTYPE field to store the unstructred xml, and created with context index.
When I try to select a record from it by using contains (res, '[searchingfield]')>0, the response time is quick, but when I try to order by another field which in the same table, the response time is drop down slightly. (ex. select id, path, res, update_date from testingtbl where contains(res, 'shopper')>0 order by update_date desc.
Actually there is a context index build for field 'res', any other index build for field 'update_date', when sql without 'order by update_date', the context index will use, but the update_date index will not be used even have ordering criteria.
Is there any expect can tell how to solve this? how to keep the performance even doing the sorting process?
Thanks and Regards
RaymondThanks for your quick reply.
The mentions information provide after back to office, actually I just want to know if there is any method(s) which can use the context index (with contains keyword) and sorting without slow down the performance.
Thanks and Regards
Raymond -
Hi,
I want to create a context index on one column which contains large text. And the table contains millions of records and daily inserts happen into the same table. My question is
1.Do we need to run any procedures after inserting the records daily i.e synchronization??
2.Is there any problem from performace point of view creating context index on the table??
Thanks,
Srihi,
pls have a take a look this doc
http://docs.oracle.com/cd/B19306_01/text.102/b14217/ind.htm
http://stackoverflow.com/questions/1916244/how-to-sync-and-optimize-an-oracle-text-index
regards, -
Hi,
I want to create a context index on one column which contains large text. And the table contains millions of records and daily inserts happen into the same table. My question is
1.Do we need to run any procedures after inserting the records daily?
2.Is there any problem from performace point of view creating context index on the table
Thanks,
Srisri333 wrote:
Hi,
I want to create a context index on one column which contains large text. And the table contains millions of records and daily inserts happen into the same table. My question is
1.Do we need to run any procedures after inserting the records daily?Not for what you describe. But you didn't describe much. I guess you will do something with this table data later. It depends from that. But since you only mentioned that you insert. Then no there is nothing to do after that.
2.Is there any problem from performace point of view creating context index on the tableSure. Creating the index takes time. If the index is there new inserts will take more time.
Edited by: Sven W. on Oct 10, 2012 12:02 PM -
Cannot create text index in partition table on Oracle 10g
I try to create context index in a table with 15 millions records. The table is divided 5 partitions and each patition has 3 millions records. When I create the context index in the table, the same error always arised. The follow are my work:
--First create my own lexer
begin
ctx_ddl.createperference('my_chinese_lexer','chinese_lexer');
end;
--Second create index
create index idx_part_text3 on tb_test_part(text3)
indextype is ctxsys.context local (
partition p1_ix,
partition p2_ix,
partition p3_ix ,
partition p4_ix,
partition p5_ix)
parameters('lexer my_chinese_lexer') parallel;
--error message
create index idx_part_text3 on tb_test_part(text3)
Error in 1 line:
ORA-12801: Parellel Query Server P000 send error signal
ORA-29855: Error on execute ODCIINDEXCREATE program
ORA-06510: PL/SQL: User Defined Error
ORA-06512: In "CTXSYS.DRIDISP", line 244
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRIPARX", line 10
ORA-06512: In "CTXSYS.TEXTINDEXMETHODS", line 359
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRUE", line 186
ORA-06512: In "CTXSYS.DRVDDL", line 682
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRVDDL", line 452
ORA-06510: PL/SQL: User Defined Error
BTW:
My oracle 10g run on linux AS3 box with 4xP4 and 6G Mem.
I set pga_aggregate_target=2200M, and at the beginning of creating index, the max pga alloced is about 1100M, but when one patition finished, the error arised and the max pga alloced suddenly reached 3500M. So in every times, the index status is always like below:
P1_ix usable
P2_ix Inprogress
P3_ix Inprogress
P4_ix Inprogress
P5_ix Inprogress
Thx for any help!Try to increase LARGE_POOL_SIZE.
PGA_AGGREGATE_TARGET is not only parameter that can meddle in parallel execution.
Looks like parallel execution parameters is not correctly set. Check it all, including PARALLEL_EXECUTION_MESSAGE_SIZE. -
Do we need to create seconady Index in BI 7.0
Hi,
I need some Information. I came to know that in BI 7.0. The Index are created automatically by BI Accelarator.
Please let me know wheather we can create secondary Index.
regards
BijevemulaHello Raghav
In ODS Primary and secondary indexes are created manually 010 and 020
Secondary index must differ from primary index
Maximum 16 secondary indexes
in cube primary index in created automatically no secondary index is there
Indexes created on ODS?
010
production year zpryr
countrykey 0country
divisioncode zdvcr
020
production year zpryr
countrykey 0country
divisioncode zdvcr
product code zprcd
brand 0Matl_grp1
030
production year zpryr
countrykey 0country
divisioncode zdvcr
failure date zfdte
prdnquarter zprnd
By default there will be index on the key fields. So you are not required to create any index on those fields.
http://www.websitedatabases.com/database-index.html
if you enter in your selection criteria production year, country key, division code then it will use first index.. But if you give product code also in addition to 3 fields then it will use second (020) index.
But if enter only product code, brand, failure date,prdnquarter then it will not use any of the index....
Note: Before creating any index please confirm with your basis admin...
Thanks
Tripple k -
Show photoes using blob field in Oracle DB
When create Crystal report using Blob field in Oracle 10g DB, the photoes are tif format stored in blod and there are multipages for every record. However in the Crystal Report,it just show the first page of the photo.
Are there some ways to display all the pages? Or is it necessary to programming using java or .net to display?Not capable. CR will only show the first picture and not an album.
-
SAVING Text created when CONTEXT index is created on BLOB field.
Hi,
I am still reading the doc, but thought I'd ask to try and save time ...
I am using CONTEXT index on a BLOB field, and would like to store the Text that is created into a CLOB field, for display purposes.
Is this possible with ORACLE TEXT ?
Thanks
JeffHi,
have a look at the package CTX_DOC. It is in the manual: [url http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cdocpkg.htm#sthref1639] Oracle text Reference. You can use IFILTER, which doesn't need the index, but also FILTER which uses the index. There are examples in the manual.
If more questions, it is better to ask the question in the Text Forum: [url http://forums.oracle.com/forums/forum.jspa?forumID=71] Oracle Text Forum
Herald ten Dam
http://htendam.wordpress.com
Maybe you are looking for
-
Apple devices will not print to Officejet 6700 including MacBook Pro and iPad
I am trying to help someone set up their MacBook Pro and iPad to be able to wirelessly print to their Officejet 6700. I recently set them up with a new Apple Airport Extreme for their router. The printer connects fine to the wireless network. Everyth
-
Problem using 'the current day' attribute in a rule
Hi, I have encountered an issue where the following two rules, (the second rule in word document table as best I can depict) will not compilewill not compile: the current time of day = ExtractTimeOfDay(the current time) |the earliest start date time
-
How to revaluate negative closing stock value in SAP B1?
Hi all, I am trying to revaluate those items with the negative closing stock value using Inventory Revaluation. I choose Inventory Debit/Credit for the revaluation type and key in the item code, quantity, +ve value in debit/credit, G/L increase and d
-
I need to put the -Time Code- numbers running on the video... help
OhI have FC Express.. I have Effects:Video Filters:Video: Blink, De-Interface, Flicker, Image Stabilizater, Shift Fields, Stop Motion Blur, Strobe & Viewfinder... No Timecode generator or reader here... ?
-
Account not credited after payment
My Skype name is Soxmum, Julia Thomas. I made an EFT payment on the 9th March and my account has still not been credited, usually it's credited very quickly. My order no. [removed for privacy] Payment ref no. xxxxxxxxxxxxxxx I can email you proof is