Indexed ok.... url table in DB ok... sample search not returning hits?
I created a simple table and created a schedule to index it.
The crawler indicates success::
Shutting down all crawling threads...
Caching thread cache_1 returns without getting a file
Caching thread cache_0 returns without getting a file
Shutting down all caching threads...
Total number of documents cached = 1
Total data collected = 9 bytes
Indexing started at 23/09/05 13:00
Indexing completed at 23/09/05 13:00
DoneI can see entries in the two WK$ tables.
The search/usearch page arnt returning any hits. Any ideas?
No error, just no information.
Chris
Sorry, i should add that I changed the relevant config options to point to my database, and that part of things is working fine (no errors).
Just no hits!
Similar Messages
-
Trying to index Same URL - But its getting discarded-( Autonomy Search)
Hi All,
We have a applicatoion page , which displays Spanish/Arabic/Chinese/English Content based on Langauge Selection.
By default , the page will display English Content.
Upon Selecting other language , the same page will be refreshed and selected language content will be displayed.
And I have created a SPIDER Process to index application pages.
But, Other language Content is not getting indexed .(Only English Content is getting indexed as it is default langauge selection)
As same page is getting refreshed for other language selection, same URL is discarded as shown below.
Discarded Link (DUPLICATE): # --> http://192.168.20.97:8001/corpPortalWeb/CrimsonlogicSriv/global/PartnersDelete.jsp
Please suggest me , how to index same page for other language selection also?
Thanks in advance,
Srinivaswe created separate autonomy spider databases for each language. We also experimented with using a dummy url which listed all the links with all the languages where the spider could begin from using a parameter in the url that would set the language and cookies. we finally realised that all of this is ok for Autonomy but pretty bad for an external spider like Google (maintaining the language in session/cookie isnt very Spider friendly).
The best solution is a RESTful approach. your URL's should be of the form
http://site/en/whateverelse and you can use webserver stripping/ filters / beehive url config/ etc so that your site generates the URL correctly. may be a little late in the game for you if your development is well underway
regards
deepak
Edited by: deepshet on May 19, 2009 11:27 AM -
A query related to creating Indexes for a table
Hi ,
I am in a J2EE Banking Project using Oracle 10g as our Database .
We have created Indexes on some tables .
But this this is not called by any of our Java class .
Could anybody please let me know how these Indexes will actually improve the Performance .
Waiting for your replies .
Thanks in advance .But in our safety database (huge & ofcourse Oracle), we use indexes just because to avoid duplicates, improve data retrieval and so on.As you pointed out indexes can do 2 things for you: enforce uniqueness and (hopefully) improve data retrieval. Enforcing uniqueness is pretty basic, but indexes don't always improve performance. Under the wrong condtions indexes can hurt performance. The ideas below refer to B-TREE indexes; other kinds of indexes have other considerations
Indexes add overhead to insert, delete, and (hopefully not - updating index columns is a Bad Idea), enough so that if you're inserting a lot of rows into a large table it is sometimes helpful to drop the indexes, load the data, and recreate the indexes when done to help performance. The more indexes a table has the more overhead DML statements need to maintain them.
Indexes help query performance under a couple of conditions. When using them as join keys to retrieve a small percentage of rows in a table (< 20% maybe; there is no firm number) indexes can help. When a query can read its columns from an index only (such as counts against a primary key index) index access can be faster than table access.
Indexes can hurt performance by adding overhead for maintenance if the index is never actually used or if used to read most of the rows in a table when a full table scan would be more efficient (why go through the extra effort to read the index and then table when you'll have to read most of the rows in the table anyway?). -
Indexing on partitioned tables
I was wondering if there are any good standards for indexing very large partitioned tables (i.e. what should I index). Also, if there are any good standards for indexing these partitioned tables when running queries that do not include the partitioned column in the query?
There's no real difference in what you would index, other than maybe a slightly lower requirement for indexing on tha partitioning key column(s).
You ought to be considering whether you need local or global indexes though, and you'll find a lot of information on that over at http://asktom.oracle.com and in the documentation -- to simplify, OLTP usually uses global indexes and DWH usually uses local indexes. You'll want to understand the pro's and con's or each before deciding on your own situation though. -
How much time it take to rebuild an index for a table with 20 millions rows
Hi all,
i need to rebuild the index of a table containing 20 000 000 row (i don't know why the other people working on this didn't think of rebuilding the index regularly, because i asked and apparently it has never been done :cry: :cry:) i am not a sql developper nor a DBA so i can't mesure how long it take to rebuild the index, does any one have an idea (aproximativly of course :aie:), the other question is there any formula to use in order to calculate how often to rebuild the indexes (i can for example retieve how much rows are delated or inserted daily ...)
Thanks again
Tahataha wrote:
:aie: that's why i am asking because i don't know (and to be sure which solution is best)
so the table is like this (the columns) :
45 varchar2, 5 timestamp, 30 Number no LOB columns, (15 indexes : 5 unique indexes and that those indexes uses at a maximum 4 columns)15 indexes - 100,000 deletes: this could mean 1,500,000 block visits to maintain index leaf blocks as the table rows are deleted. If you're unlucky this could turn into 1,500,000 physical block read requests; if you're lucky, or the system is well engineered this could be virtually no physical I/O. The difference in time could be huge. At any rate it is likely to be 1,500,000 redo entries at 250 - 300 bytes per entry for a total of about 400MB of redo (so how large are your redo logs and how many log switches are you going to cause).
yes the tables is used by an application so (update, insert ) can take place at any time
for the deletion , there is the batch which does a mass delete on the table ( 4 or 5 time each day)
You haven't answered the question - how long does it take to do a sample batch delete.
If you can enable SQL tracing, or take a before/after snapshot of v$sesstat or v$session_event for the session as it does the delete then you can get some idea of where the time is going - for all you know it might be spending most of its time waiting for a lock to do away.
>
"How many leaf blocks are currently allocated to the index(es) ?" how can i answer to this question ? may be if i check the all_objects table ?
If you keep your statistics up to date then dba_indexes is a good place, cross-checked with dba_segments, and you can use the dbms_space package for more detail. I have a code sample on my blog which allows you to compare the current size of your indexes with the size they would be if rebuilt at some specific percentage: http://jonathanlewis.wordpress.com/index-sizing/ (It's such good code that Oracle Corp. has copied it into MOS note 989186.1)
Regards
Jonathan Lewis -
How to make use of Index of a table in report to fetch data?
Hi,
I need a sample code for select statement which is making use of INDEX of a table
to fetch data.
Doubt:
Can I fetch all the fields in the table by passing certain key fields of INDEX in where condition?Hi Raja,
1) Mention the fields that you wish from database table (incase you don't need all the fields from the database table).
2) Don't use the INTO CORRESPONDING FIELDS OF TABLE ztable clause.
3)Instead use INTO TABLE ztable (But take care that during the declaration of the ztable, the fields declared are in order that in database table to fetch the Records in sequence).
Please Find the Syntax and Code Below..
SELECT * FROM <TABLE>
WHERE <WHERE>
%_HINTS ORACLE 'INDEX("<TABLE>~<INDEX ID")'.
SELECT carrid
INTO TABLE t_spfli
FROM spfli
WHERE carrud IN s_carrid AND
connid IN s_connid
%_HINTS ORACLE 'INDEX("&SPFLI&" "SPFLI~XXX")'.
Hope this Is helpFul
Thanks
kalyan -
Regarding Secondary Index in a Table
hi
if i create a secondary index in a table is it obligatory or optional to have first field as MANDT (Client field) if the table is client dependent & how many secondary indexes(MAXIMUM) can be created for a table.
RegardsHi,
Check the below Link
How to transport a secondary index on P master data table?
Hope this helps you.
Regards,
Anki Reddy -
Local index vs global index in partitioned tables
Hi,
I want to know the differences between a global and a local index.
I'm working with partitioned tables about 10 millons rows and 40 partitions.
I know that when your table is partitioned and your index non-partitioned is possible that
some database operations make your index unusable and you have tu rebuid it, for example
when yo truncate a partition your global index results unusable, is there any other operation
that make the global index unusable??
I think that the advantage of a global index is that takes less space than a local and is easier to rebuild,
and the advantage of a local index is that is more effective resolving a query isn't it???
Any advice and help about local vs global index in partitioned tables will be greatly apreciatted.
Thanks in advancehere is the documentation -> http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/partconc.htm#sthref2570
In general, you should use global indexes for OLTP applications and local indexes for data warehousing or DSS applications. Also, whenever possible, you should try to use local indexes because they are easier to manage. When deciding what kind of partitioned index to use, you should consider the following guidelines in order:
1. If the table partitioning column is a subset of the index keys, use a local index. If this is the case, you are finished. If this is not the case, continue to guideline 2.
2. If the index is unique, use a global index. If this is the case, you are finished. If this is not the case, continue to guideline 3.
3. If your priority is manageability, use a local index. If this is the case, you are finished. If this is not the case, continue to guideline 4.
4. If the application is an OLTP one and users need quick response times, use a global index. If the application is a DSS one and users are more interested in throughput, use a local index.
Kind regards,
Tonguç -
Not able to figure out the table index for Edit table User Properties Dialo
Studio Edition Version 11.1.1.0.0
Build JDEVADF_MAIN.D5PRIME_GENERIC_080403.0915.4920
I'm trying to automate the various features in Jdeveloper dialogs. At one point I got struck with table in Edit Table Dialog.
Right Click on New -> Database Tier-> Select APPS: Import to offline database Objects. Step 1- Step5 dialogs comes up. Click on Next till finish button comes up. After that one table along with xdf file will be shown in the Jdeveloper Tree Menu. Right click on Table, Go to Properties. Then Select User Properties in the Left Pane. On Right Side table will be shown. I want to know what is the index for this table and also I need to input certain text and select some drop downs from this table.
Automation Tool: JFCUnit
Could you please tell how can I put values in some of the fields and select the values from the drop downs.
Kindly let me know if you need any more Information for the same.Hi,
if you are from Oracle, please use an internal forum. If not, the JDeveloper 11 forum is at: JDeveloper and OC4J 11g Technology Preview
Frank -
Hey,
My program collects 5 pieces of information per object from user. Some of the input data is in String format, rest are Integers. I create an object from this data and put in into a table. My table contains max 10 pieces of information.
I have editing options for this data, which are erase one or all pieces, or modify a piece. I erase data by simply setting the index to null. Erasing one piece is incomplete atm, here's why:
Say I have 5 pieces in table, and I erase the one with index of 0. I can't print my information because the table starts with a null value:
int index = 0;
if (table[index] != null) { System.out.println(data);} ..
My guess is that I can solve this problem by decreasing the index of pieces greater than the modified one by 1. I can imagine that I'll be using for loop here. This is where I run out of ideas: is it possible to just modify the index, or do I have to rewrite the data again?
Any help is appreciated,
br,
nomiI think using for loop would be the easiest way (?).
I'm filling the table as simply as:
items[index] = new table (value, quality..);Using LinkedList seems a bit far fetched for me. But
again, if I am to use for loop, I think I would have
to rewrite the data to appropriate index?Why is a List far fetched? Type of List you pick depends on how you use the list (whether you want RandomAccess, etc.).
List items = new ArrayList(); // or LinkedList
items.remove(index); // Remove the item at index.To use an array:
Table [] items = new Table[20]; // whatever size
items[index] = new Table(value, quality, ...);
// To remove:
System.arraycopy(items, index, items, index+1, items.length-(index+1));
items[items.length-1] = null; -
Space in bytes used by a single index in given table space
Hi All,
How can i find a table space used by index in bytes
Eg:
suppose i have a table space USERS and i have a table say customer . one index defined on table customer called CUSTOMER_UQ and mapped to table to table space USERS . How can i find the bytes used by object CUSTOMER_UQ in table space USERS.
ThanksThe used space in Karthik's example is the number of bytes actually used by entries in the index, not the amount of space allocated to the index itself.
To find out how much space in disk is allocated to the index you can use (as the owner of the index) something like:
SELECT bytes FROM user_segments
WHERE segment_name = <index name>You could also use all_segments or dba_segments if you have access as another user, but you would also need to specify the owner name.
John -
How to get selected row index of a Table ?
hi gurus,I'm new to Webdynpro for abap
I'm displaying just Flight details in a Table so
how to get selected row index of a Table and need to be display in Message manager.Hi,
For getting the row index use the following code.
DATA lo_nd_node TYPE REF TO if_wd_context_node.
DATA lo_el_node TYPE REF TO if_wd_context_element.
DATA index TYPE i.
* navigate from <CONTEXT> to <NODE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
lo_el_node = lo_nd_node->get_lead_selection( ).
index = lo_el_node->get_index( ).
node is the name of the node which is binded to the table.
For printing the message u can use code wizard.
Press ctrl-F7. Now Select generate message.
IN this select the method REPORT_SUCCESS
In the code now u can give index to Message text Exporting parameter. Comment receiving parameter.
Write the whole code in onLeadSelect of the table.
Regards,
Pankaj Aggarwal -
Dear Gurus,
I´ve got some performance problems of an especific table called CC_FICHA_FINANCEIRA, the structure of the table is described below:
NUMBER OF RECORDS: ABOUT 1.600.000
NAME NULL TYPE
CD_FUNDACAO NOT NULL VARCHAR2(2)
NUM_INSCRICAO NOT NULL VARCHAR2(9)
CD_PLANO NOT NULL VARCHAR2(4)
CD_TIPO_CONTRIBUICAO NOT NULL VARCHAR2(2)
ANO_REF NOT NULL VARCHAR2(4)
MES_REF NOT NULL VARCHAR2(2)
SEQ_CONTRIBUICAO NOT NULL NUMBER(5)
CD_OPERACAO NOT NULL VARCHAR2(1)
SRC NUMBER(15,2)
REMUNERACAO NUMBER(15,2)
CONTRIB_PARTICIPANTE NUMBER(15,2)
CONTRIB_EMPRESA NUMBER(15,2)
DIF_CONTRIB_PARTICIPANTE NUMBER(15,2)
DIF_CONTRIB_EMPRESA NUMBER(15,2)
TAXA_ADM_PARTICIPANTE NUMBER(15,2)
TAXA_ADM_EMPRESA NUMBER(15,2)
QTD_COTA_RP_PARTICIPANTE NUMBER(15,6)
QTD_COTA_FD_PARTICIPANTE NUMBER(15,6)
QTD_COTA_RP_EMPRESA NUMBER(15,6)
QTD_COTA_FD_EMPRESA NUMBER(15,6)
ANO_COMP NOT NULL VARCHAR2(4)
MES_COMP NOT NULL VARCHAR2(2)
CD_ORIGEM VARCHAR2(2)
EXPORTADO VARCHAR2(1)
SEQ_PP_PR_PAR NUMBER(10)
ANO_PP_PR_PAR NUMBER(5)
SEQ_PP_PR_EMP NUMBER(10)
ANO_PP_PR_EMP NUMBER(5)
SEQ_PP_PR_TX_PAR NUMBER(10)
ANO_PP_PR_TX_PAR NUMBER(5)
SEQ_PP_PR_TX_EMP NUMBER(10)
ANO_PP_PR_TX_EMP NUMBER(5)
I think that the indexes of this table can be the problem, there are too many. I will describe them below:
INDEX COLUMNS
CC_FICHA_FINANCEIRA_PK CD_FUNDACAO
NUM_INSCRICAO
CD_PLANO
CD_TIPO_CONTRIBUICAO
ANO_REF
MES_REF
SEQ_CONTRIBUICAO
CD_OPERACAO
ANO_COMP
MES_COMP
CC_FICHA_FINANCEIRA_IDX_002 CD_FUNDACAO
NUM_INSCRICAO
CD_PLANO
CD_TIPO_CONTRIBUICAO
ANO_COMP
ANO_REF
MES_COMP
MES_REF
SRC
CC_FICHA_FINANCEIRA_IDX_006 CD_ORIGEM
CC_FICHA_FINANCEIRA_IDX_007 CD_TIPO_CONTRIBUICAO
CC_FICHA_FINANCEIRA_IDX2 CD_FUNDACAO
ANO_REF
MES_REF
NUM_INSCRICAO
CD_PLANO
CD_TIPO_CONTRIBUICAO
CONTRIB_EMPRESA
CC_FICHA_FINANCEIRA_IDX3 CD_FUNDACAO
ANO_REF
MES_REF
CD_PLANO
CD_TIPO_CONTRIBUICAO
SEQ_CONTRIBUICAO
There are columns that have 4 indexes. Is it right? How is the better way to analyze those indexes?
Regards...Hi,
You can monitor index usage to know if it used by application.
See metalink note 136642.1 Identifying Unused Indexes with the ALTER INDEX MONITORING USAGE Command
Nicolas. -
Creation of secondary index on RSPCPROCESSLOG table
Hello guys,
We have detected severe performance issues while executing the transaction ST03n in our BW 3.5 System.
Looking in the OSS notes we found the note "SAP Note 841324 - ST03N: poor performance for process chain profile" where it recommends the creation of a secondary index in the table RSPCPROCESSLOG with the following features:
Create another secondary index on the RSPCPROCESSLOG table with the
following fields:
- INSTANCE
- TYPE
Can you please let us know what is the step by step to proceed with the creation of this secondary index?
Thanks for your help.
Kind regardsPlease ask questions about Oracle Text (formerly interMedia text) in the Oracle Text forum. You will get a quicker, more expert answer there.
-
Best way of Using Index on a Table.
I am trying to understand the phenomena of using INDEX on a Table
need some guidance!!!
Let us take this scenario
I have a table "MYRECORD" which has 4 attributes(or coulombs)
1. "STATE" (varchar) // this can have 49 different values like newyork, dehli etc
2. "YEAR" //a year like 2007
3. "MONTH" //a month like JAN,FEB etc
4. "CAT" (int) // type(category) of data represented by values 0 to 40
with a PRIMARY KEY(STATE,YEAR,MONTH,CAT)
now i will create index
1. INX_myrecord (STATE,YEAR,MONTH) on table MYRECORD
so now my question is
1. what is the effect on performance of DB it makes?
2. when I use a query
SELECT * FROM MYRECORD WHERE STATE="dehli" AND YEAR=2007 AND MONTH="JAN";
how will it get processed if index is created and not created.
3. how can I refer a index by name in a query if so possible?
Cheers,
UD
Message was edited by:
UDAYYou have edited your post. Now you have a primary key consisting of state, year, month and cat which makes an index on state, year and month useless as the already existing primary key can provide for retrieval of rows by index. If you don't have other columns - or just few other not being large varchar2 columns - you should have created the table as an IOT (Index Organized Table - avoiding to have separate table and index containing - nearly - the same data) in the first place.
As a primary key by definition can contain only unique non null values, a query like SELECT * FROM MYRECORD WHERE STATE='dehli' AND YEAR=2007 AND MONTH='JAN' cannot give you more than the number of distinct cat values (0 .. 40) + 1 (if cat can be null - presumed one/some of the corresponding state, year and month is not null)
The information processing depends principally of the query, the mere presence of an index does not make sure it will be used. If an index is used it means the index will be searched first then the table rows will be accessed by rowids contained in the index (usually a single row or a range of rows - a rather small number of them - is retrieved this way, your select for example). Submitting something like SELECT * FROM MYRECORD WHERE YEAR=2007 AND cat=33 would most likely produce a full table scan of myrecord table ignoring the primary key.
Regards
Etbin
Maybe you are looking for
-
I recently purchased two videos from the itunes store. I downlooaded them both successfully to my ipad2 Videos App, the next time I synced the ipad the Movies title was erased and the remaing titles: Rentals Podcasts & Music Videos were left, what ha
-
Hi I just purchased a Mac Book Air and installed the 2008 version of Microsoft and office
I purchased a mac book air and installed the 2008 version of Microsoft Home and office.... would i need to purchase the latest version to upgrade or is it upgradable through a download?
-
Hi All, in SD reporting we got one issue, which is below mentaioned objects 0NOQUOT_REJ-Number of rejected quotation items 0NETVALQUOT-Order value from quotation we need what is the R/3 fields names and tables for above objects Regards, Malli
-
Sap E-commerce (Standard sap b2b) shopping cart login issue
Hi, After loggin in though the URL: http://<hostname>/b2b/init.do, then by providing the userid and password it is giving "Runtime errors" Conatct the administrator. Checked the default trace logs: Below is the content of the log: #1.5 #00110A6357CE0
-
Usually i let my ipod battery die out completely before recharging. This time when i charged it, the lock symbol came up, even when the hold button is toggled off. the only time it turns on now is when i charge it or connect to the computer and still