Make unusable index undo

Hello,
for deletion I have set the indexes of a table to unstable. But I could not delete: ORA-01502. What a shit. Why did not warn Oracle me? Rebuild is too expensive. Ich will delete, delete, delete. Why must I have a fucking index?
Is there a faster way to rebuild or to get a state in which I can start deletion?

We do not know what version you have.
We do not know what DDL you executed (or why).
We do not know what error messages you are viewing.
Not knowing what you did to what it is unlikely anyone is going to be able to help you except, perhaps, to refer you to an anger management class. <g>
Oracle, the company, assumes that people that use their product read the documentation they spend many millions of dollars to prepare and post online. They expect that when people do things it is with a reasonable understanding of the consequences. This is no different from a car company assuming that you know what the brake pedal is for.
Calm down and post the information we need to be able to help you.

Similar Messages

  • SQL Loader direct path loads and unusable indexes

    sorry about all the questions. I am researching several issues. I am reading the Utilities document. It says that in certain circumstances indexes will become unusable. I have some questions about my scenario.
    1. tables partitioned by range
    2. local indexes
    3. all tables have 1 primary key and other indexes are non-unique
    4. all sql loads will go into the most recent partition
    5. users will be querying tables while sql loader is occurring
    6. only one sql loader session will run per table
    7. no foreign keys, triggers, or other constrants other than primary keys.
    The docs are not clear. Do I have a concern about unusable indexes with direct path loads? Will indexes function while the sql loader direct path is occurring(this I can't test since I have small data files now and they load fast, but I will have larger ones in production).
    My understanding is that Extertnal tables using Insert append is exactly the same as sql loader direct path load. Is this true?

    if you dont have anything productive to say how about you don't post at all? you have made ignorant posts like this for years.
    as far as reading the docs what do you think "the docs are not clear" means? By the docs I am referring to the utilities document.
    As far as version number its 10.2 and I forgot that. However, it does not appear that sql loader has really changed all that much over the last few versions.
    Finally I plan on testing it out and its more than a 2 minute test. I wanted to make sure I don't miss anythng in my tests.
    don't respond to any threads or posts I make from now on.

  • EAR4 - Gathering Statistics, unusable indexes and more

    Hi,
    Some feedback on statistics:
    1. When choosing a table -> Statistics -> gather Statistics, the minimum is to have a CASCADE option (so all the indexes will be analyzed too). I think it should be the deafult! This way there is a chance that the developers will have good statistics...
    As a bonus, an advanced tab with the rest of the options might be nice, when you have time.
    2. When choosing to gather statistics on an index, you should you dbms_stats and not ALTER INDEX... COMPUTE STATISTICS which is a deprecated syntax.
    And about indexes:
    1. When looking at the index tab of a table, unusable indexes should be visibly different - maybe just color the status column. Well, any color-coding can help to gain more infomation very fast (index types and index status). Well, I guess the same goes for disabled triggers, disabled constraints etc...
    2. When right-clicking an index in an index tab of a table, the only option is export, which makes no sense. Could you replace it with the six relevant index options, just like when we right click an index in the side bar (drop, rebuild, rename, make unusable...)
    Well, same goes for the triggers tab of a table - when right-clicking a trigger give us the trigger actions(enable/disable, drop...), not export.
    my two cents,
    Ofir

    When Choose a partitioned table from the tables list (tree view on the left), I have many tabs with details (Columns, data, indexes,etc).
    1. The last tab, SQL, doesn't generate any CREATE TABLE sql at all for the simple partition table I created (10g Release 2 on windows 2000, raptor 4.1, a table with a single partition).
    2. There is no way to see the partitions definitions - for example, the list of partitions and their ranges (or list values). I would like to have another tab for partitioned table with that information (from all_tab_partitions). Also, how can I easily see the type of partitioning and the partition key of the table?
    3. Also in the builtin reports, there is no way to get that data. The only report about partitioned tables that I see is Table -> Organization -> Partitioned -> Partitioned Tables, that only provide owner, table_name, maybe tablespace and logging (blank in my case).. I think:
    a. You should rewrite the report to use dba/all_part_tables - with columns like partitioning_type, subpartitioning_type, partition_count etc.
    b. add a report about the partition key columns per partitioned table from dba_part_key_columns.
    4. When adding an index to a partitioned table, I can't choose local/global index. The index is always created as a global index. For example, can't create bitmap index on partitioned tables because they must be local.
    Ofir

  • How to make an index in InDesign CC 2014.1 using a topics list?

    Hi all,
    I have read the long help document on how to make an index in InDesign CC 2014.1 using a topics list, and still can't work out what to do.
    I have done a 548 page book, using a document for each chapter, and a book file to put them all together in the right order.
    I now need to make an index at the back, as the author has many quotes throughout the book at the start of each chapter and section.
    I have a list of those people quoted and want to upload this list and get the index feature in InDesign to find all instances of the name occurring in the entire book.
    After reading the help document I still cannot work out how to do this.
    My questions are:
    1. Do you have to use an InDesign document as a source for the list of topics? If so, should the document be added to the book file or outside it?
    It seems a bit recursive to have the list of topics in an ID document that is in the book file.
    2. Once you have uploaded the topics into the Index feature, how do you get it to look for all instances of that 'topic' througout the entire book? I can't figure that out from the help documents. What do I select? Do I do it from the Index panel? Do I highlight the text in the source document? Not sure how to do this...
    3. I need the names to list surname first of the quoted authors in the index. This command seems to be different between various editions of ID. For ID CC 2014.1 is it ctrl+alt+shift+]
    4. To make the surname show first, what do I highlight? The topic? and then do ctrl+alt+shift+] and select find all as well? Or do I have to just go through the text and manually do this and ditch the idea of uploading topics first?
    I am confused as you can see and any help with this is appreciated.

    Sorry 007, I really thought you were posting a trick question as on the OCP tests.
    Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
    What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
    Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
    The output will show you if it used the index, number of rows returned, blocks read, etc.
    SQL> create table emp (ename  varchar2(40));
    Table created.
    SQL> insert into emp select username from sys.dba_users;
    25 rows created.
    SQL> commit;
    Commit complete.
    SQL> set autotrace on
    SQL> select * from emp where ename != 'SYSTEM';
    Execution Plan
    Plan hash value: 2951343571
    | Id  | Operation        | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |           |    24 |   528 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX FULL SCAN | ENAME_IDX |    24 |   528 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
    You can test each of your scenarios, one by one, including use of a hint.

  • How can I make OSX index a network share for spotlight?

    How can I make OSX index a network share for spotlight?
    I am using a QNAP NAS with SMB network shares, which I mount with OS X Mavericks. They are not searchable, as far as I know because of the indexing of network share is by default not activated.
    To force the OS to index them I activated this via mdutils. But this is no solutions. This makes spotlight to index the share once. But I want spotlight to index it always and keep it up to date. I have a huge amount of documents & fotographs, which is very difficult to manage without being searchable.
    Unfortunately the only solution I found in the www was the mdutils-way, which seems not to work, maybe only works not for me.
    I would appreciate any assistance,
    Thank you,
    Stefan

    My thanks to everyone who has contributed to solving this problem here.
    It appears that there still is NOT a good, reliable solution.  Please correct me if I'm wrong.
    I did find this on http://jonathansblog.co.uk/how-to-enable-spotlight-indexing-on-a-network-drive:
    ===================================
    To enable spotlight indexing on a network drive:
    # mdutil /Volumes/name -i on
    To disable the indexing of a connected network drive:
    # mdutil /Volumes/name -i off
    To check the status of indexing on a connected network drive:
    # mdutil /Volumes/name -s
    ===================================
    And, I found this on the Synology NAS forums:
    cd /Volumes
    mdutil shareName -i on
    mdimport -Vp ./shareName
    where shareName = name of your share
    I have used the mdutil /Volumes/name -i on, and it seems to work.
    But, if I understand it correctly, it is a one-time indexing -- the index is NOT keep up-to-date with changes.
    So, how can we keep the index up-to-date?
    My thought was to schedule a Terminal file to execute each night with the mdutil code.
    Would this work?  If so, how would you setup a scheduled run?
    Would it have to be done on each Mac that accesses the Share?

  • Can we put INDEXES on Views if not Is there any way to make it Index bas

    Hi
    I am running a query in which there are several views involved in the join condition Can we put INDEXES on Views in ORACLE 9i if not Is there any way to make it Index based views beacuse the result that i am getting is very slow and is eating like 10gb of the temp tablespace.
    Thanks

    No, you cannot put indexes on a view. Think about what a view is, a stored sql statement. Oracle has no way of knowing what rows are in a view until it actually runs the view. So, even if you could, Oracle would need to run the view to get the rows, build the index, then run your query a second time using the index. Seems counter productive to me. A view can use indexes on the underlying tables if appropriate.
    Generally speaking, I would say that a query that makes use of multiple views is probably really inefficient. Often, you are only looking for one or two columns from a view which may require joining several tables whose columns are of no use in the main query. I would start by re-writing the query using the base tables, and only using those tables that are actually required to answer the question.
    TTFN
    John

  • How to find unused indexes in oracle 10g r2

    Hi all,
    db:oracle 10.2.0.3
    os:solaris
    i want rebuilt the some of the indexes (due poor performence of db)
    how to find the unused indexes in oracle 10gr2 database.?
    can any one help me out plz.

    kk001 wrote:
    Hi all,
    db:oracle 10.2.0.3
    os:solaris
    i want rebuilt the some of the indexes (due poor performence of db)
    how to find the unused indexes in oracle 10gr2 database.?
    can any one help me out plz.You can use V$OBJECT_USAGE.
    But how you decide need rebuilding indexes?
    How you decide problem related indexes?
    What is exactly your mean "due poor performence of db"? some queries hang/long running or whole system hang or has poor performance?
    In generally do not need rebuilding index(unless specially cases),first give we above questions`s answers.

  • Oracle 10.2.0.3.0 - impdp - Unusable index exists on unique/primary ...

    Hi All,
    Oracle 10.2.0.3.0 - during impdp the following failure appears:
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ORA-39083: Object type CONSTRAINT failed to create with error:
    ORA-14063: Unusable index exists on unique/primary constraint key
    Failing sql is:
    ALTER TABLE "MY_SCHEMA"."MY_TABLE" ADD CONSTRAINT "MY_TABLE_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "MY_TBS"
    Question:
    The dump file doesn't contain index tree, and impdp should just create index(es) as it appears in the metadata information.
    So what's the point to flush this error?

    Yes, the index is appearing on the dba_indexes table, however its state is 'UNUSABLE'.
    It looks impdp takes its state from origin metadata, puts into destination, and even is not trying to rebuild it.
    Of course, after running ALTER INDEX REBUILD its status was changed to VALID.
    So, what's the point impdp tells about its state? It can be hundreds of unusable indexes, why it's not just rebuilding it?

  • How to find out unused Indexes (regardless of restarts of server or database)?

    Hello colleagues,
    do you know how to get list of unused indexes regardless of restarts of MS-SQL-Server or Database?
    Because (if I understand correctly to information in
    BOL ) all content of dynamic management view sys.dm_db_index_usage_stats is deleted during restart of MS-SQL-Server or Detach Database.
    Due to when I use my next script (to generate report with list of unused indexes) immediately (or after short time) after restart of MS-SQL-Server it contains misleading/confusing information.
    USE [AdventureWorks]
    GO
    DECLARE @CurrDate as varchar(10), @CurrTime as varchar(5), @DatePartsSeparator as char(1), @EmptyDate as smalldatetime;
    SET @DatePartsSeparator = '/';
    SET @CurrDate = RIGHT ('0' + CONVERT(varchar,DATEPART (day,GETDATE())), 2);
    SET @CurrDate = @CurrDate + @DatePartsSeparator;
    SET @CurrDate = @CurrDate + RIGHT ('0' + CONVERT(varchar,DATEPART (month,GETDATE())), 2);
    SET @CurrDate = @CurrDate + @DatePartsSeparator;
    SET @CurrDate = @CurrDate + CONVERT(varchar,DATEPART (year,GETDATE()));
    SET @CurrTime = RIGHT ('0' + CONVERT(varchar,DATEPART (hour,GETDATE())), 2);
    SET @CurrTime = @CurrTime + ':';
    SET @CurrTime = @CurrTime + RIGHT ('0' + CONVERT(varchar,DATEPART (minute,GETDATE())), 2);
    SET @EmptyDate = CONVERT(smalldatetime, '01' + @DatePartsSeparator + '01' + @DatePartsSeparator + '2000');
    SELECT SERVERPROPERTY('servername') AS [Server]
    , DB_NAME(s.database_id) AS [Database]
    , o.type_desc [ObjectType]
    , o.name AS [Object]
    , i.name AS [Index]
    , (user_seeks + user_scans + user_lookups) AS Reads
    , user_updates AS Writes
    , ((SELECT SUM(p.rows) FROM sys.partitions p WHERE p.index_id = s.index_id AND s.object_id = p.object_id) / 100) AS [Rows(1000)]
    , CASE
    WHEN s.user_updates < 1 THEN 100
    ELSE CAST(1.00 * (s.user_seeks + s.user_scans + s.user_lookups) / s.user_updates AS decimal (12,5))
    END AS Reads_per_Write
    , (SELECT TOP 1 luu.[Last_User_Usage] FROM (
    SELECT COALESCE(s.last_user_lookup, @EmptyDate) AS [Last_User_Usage]
    UNION
    SELECT COALESCE(s.last_user_scan, @EmptyDate) AS [Last_User_Usage]
    UNION
    SELECT COALESCE(s.last_user_seek, @EmptyDate) AS [Last_User_Usage]
    ) AS luu ORDER BY luu.[Last_User_Usage] DESC) AS [Last_User_Usage]
    , COALESCE(s.last_user_update, @EmptyDate) AS [Last_User_Update]
    , CASE WHEN i.is_disabled = 0 THEN 'N' ELSE 'Y' END AS [Disabled]
    , i.index_id
    , o.create_date AS [Index_Created]
    , o.modify_date AS [Index_Modified]
    , u.name AS [Index_Owner]
    , @CurrDate AS [This_Report_Created]
    , @CurrTime AS [This_Report_Created_Time]
    , CONVERT(CHAR(40), SUSER_SNAME()) AS [This_Report_Created_by_User]
    , 'DROP INDEX ' + QUOTENAME(i.name) + ' ON ' + QUOTENAME(DB_NAME(s.database_id)) + '.' + QUOTENAME(c.name) + '.' + QUOTENAME(OBJECT_NAME(s.object_id)) as 'drop statement'
    FROM sys.dm_db_index_usage_stats s
    INNER JOIN sys.indexes i ON i.index_id = s.index_id AND s.object_id = i.object_id
    INNER JOIN sys.objects o ON s.object_id = o.object_id
    INNER JOIN sys.schemas c ON o.schema_id = c.schema_id
    LEFT OUTER JOIN sys.database_principals u ON OBJECTPROPERTY ( o.object_id , 'OwnerId' ) = u.principal_id
    WHERE OBJECTPROPERTY(s.object_id,'IsUserTable') = 1
    AND s.database_id = DB_ID()
    AND i.type_desc = 'nonclustered'
    AND i.is_primary_key = 0
    AND i.is_unique_constraint = 0
    AND o.type IN ('U','V')
    AND o.is_ms_shipped = 0
    AND (SELECT SUM(p.rows) FROM sys.partitions p WHERE p.index_id = s.index_id AND s.object_id = p.object_id) > 10000
    ORDER BY Reads;
    GO
    __________________________________________________________ If isn't above described anything, the following applies: Technical details: * OS: Windows Server v2008-R2, English, Enterprise Edition, x64, SP1 ** My User-Account is member of 'Administrators'
    local security group. * MS-SQL-Server: v2008-R2, English, Enterprise Edition, x64, SP1 ** My User-Account is member of 'SysAdmin' db-role.

    Hi,
    You are right. The sys.dm_db_index_usage_stats DMV tells how often and to what extent indexes are used.
    Please check the unused section in the below article to find the unused indexes:
    Uncover Hidden Data to Optimize Application Performance
    http://msdn.microsoft.com/en-us/magazine/cc135978.aspx#S5
    In addition, you can also use Database Engine Tuning Advisor to verify if you have too many indexes. DTA can easily find the bad indexes and provide the recommendation for action.
    Reference:
    http://blogs.technet.com/b/sql_server_isv/archive/2011/04/08/fundamentals-running-database-engine-tuning-advisor-and-selecting-indexes.aspx
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • Rebuild unusable indexes

    Hi,
    I am creating a patch for re-building unusable indexes, after splitting partition on a table.
    1. I am spooling the following alter constructs based on dba_indexes:
    select 'alter index '||owner||'.'||index_name||' rebuild online ;' from dba_indexes
    where status = 'UNUSABLE' ;
    My question is: my indexes are listed in dba_indexes and not in user_indexes.
    Am I correct to look in dba_indexes for unusable indexes? What's the difference between dba_indexes and user_indexes?
    2. After splitting a partition on a table I am doing the following:
    - compile invalid objects
    - rebuild unusable indexes
    Do I need to do fix anything else after splitting a partition?
    Thank you.

    if your indexes are not on the USER_INDEXES it means you are trying to rebuild someone else's indexes. So you should have privileges for that. If you are the DBA, or were properly granted privileges, then you can do it.
    Automatic compilation takes place for the invalid database objects in case a DDL took place, and as long as the object signature has not changed the procedures will successfully compile, but you can proactively compile them either way, this will save you time when the related procedure will be executed.
    unless the original motivation relates to something else, it is ok if you want to split partitions, but if you are required to perform this in batch this would let me know you are not aware of the system growth, so technically speaking it is fine, but from the capacity planning point of view, IMO, you should do more work to forecast partition growth requirements.
    ~ Madrid
    http://hrivera99.blogspot.com

  • How to make an index use in a query execution

    Hi,
    I have the below query for which ename column has an index. As of my knowledge below queries 1st and 2st will not use index. Hence i used the 3rd statement and that too its not using the index. Finally i used the 4th query, but even the 4th query is not using the index. Then how do i make this query to use my index??? Do i need to create a function based index for this??? Is that the final option????
    1. select * from emp where ename !='BH' ;
    2. select * from emp where ename <> 'BH';
    3. select * from emp where ename not in ('BH');
    4. select * from emp where ename < 'BH' or ename > 'BH';
    Regards,
    007
    Edited by: 007 on Jun 6, 2013 7:56 AM
    Edited by: 007 on Jun 6, 2013 8:06 AM
    Edited by: 007 on Jun 6, 2013 8:06 AM
    Edited by: 007 on Jun 6, 2013 8:06 AM
    Edited by: 007 on Jun 6, 2013 8:12 AM

    Sorry 007, I really thought you were posting a trick question as on the OCP tests.
    Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
    What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
    Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
    The output will show you if it used the index, number of rows returned, blocks read, etc.
    SQL> create table emp (ename  varchar2(40));
    Table created.
    SQL> insert into emp select username from sys.dba_users;
    25 rows created.
    SQL> commit;
    Commit complete.
    SQL> set autotrace on
    SQL> select * from emp where ename != 'SYSTEM';
    Execution Plan
    Plan hash value: 2951343571
    | Id  | Operation        | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |           |    24 |   528 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX FULL SCAN | ENAME_IDX |    24 |   528 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
    You can test each of your scenarios, one by one, including use of a hint.

  • Anyone know how to make an "Index Transparent" gif

    I have successfully made transparent PNGs and GIFusing an Alpha transparency but now I need to make images which would be the same as ueing fireworks / Photoshop to make a colour transparent. i.e. indexed transparency.
    Does anyone know how to do this.
    My code is as follows :
    // configure all of the parameters
    String text = "ABC abc XYZ xyz ["+ new Date()+"]";
    String font_file = "./tst/Maiandb.TTF";
    font_file = request.getRealPath(font_file);
    float size = 30.0f;
    Color background = Color.white;
    Color color = Color.black;
    Font font = Font.createFont(Font.TRUETYPE_FONT, new FileInputStream(font_file));
    font = font.deriveFont(size);
    buffer = new java.awt.image.BufferedImage(1,1,java.awt.image.BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = buffer.createGraphics();
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    java.awt.font.FontRenderContext fc = g2.getFontRenderContext();
    java.awt.geom.Rectangle2D bounds = font.getStringBounds(text,fc);
    // calculate the size of the text
    width = (int) bounds.getWidth();
    height = (int) bounds.getHeight();
    // prepare some output
    buffer = new java.awt.image.BufferedImage(width, height, java.awt.image.BufferedImage.TYPE_INT_ARGB);
    g2 = buffer.createGraphics();
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    g2.setRenderingHint(RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
    g2.setFont(font);
    // actually do the drawing
    Color transparent = new Color(0, 0, 0, 0);
    g2.setColor(transparent);
    g2.fillRect(0,0,width,height);
    g2.setColor(color);
    g2.setComposite(AlphaComposite.SrcOver);
    g2.drawString(text,0,(int)-bounds.getY());
    File file = new File ("./jsp1/tst/fred1.gif");
    com.gif4j.light.GifImage gifImage = new com.gif4j.light.GifImage();
    com.gif4j.light.GifFrame gifFrame = new com.gif4j.light.GifFrame(buffer);
    gifImage.addGifFrame(gifFrame);
    GifEncoder.encode(gifImage, file);Thanks in advance

    ^^EDIT^^
    System admins updated iMac to OS X Mountain Lion (10.8.4).

  • Unusable Indexes

    Hi,
    I have been experiencing some indexes being unusable due to which queries and jobs taking much longer to finish. As it is very big indices its a big overhead to rebuild those indices on time, so please can anyone help here what may be cause of indices being unusable how to resolve it and factors should we look into to avoid the problem in near future.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on Solaris.
    Thanks and Regards
    Jafar
    http://www.oracledbarea.blogspot.com

    Hi Jafar,
    can anyone help here what may be cause of indices being unusable how to resolve it and Indexes can become invalid or unusable whenever a DBA tasks shifts the ROWID values, thereby requiring an index rebuild.
    factors should we look into to avoid the problem in near future.Don't do anything (reorgs) that will cause a change in a rows ROWID.
    I have been experiencing some indexes being unusable due to which queries and jobs taking much longer to finish. Yeah, as "unusable", they are not available.
    As it is very big indices its a big overhead to rebuild those indices on timeYou can rebuild them super-fast in parallel, if you have an SMP server.
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • I can not make a index on a big file

    Hello EveryOne
    when I make index on a 87k text file, the index monitor show the Document Status is "Preparation Failed" and and the Return Message is "Creating connection failed"
    Then I cut down the file from 97k to 2k, Now, Every is OK, the index is work!
    What 's wrong with my system?
    Ganesh Natarajan had told me some infomation in :
    TREX  Searching Problem
    I have be check the trace file in my server. it shows following errors:
    [Thr 3244] ***LOG Q0I=> NiPConnect2: SO_ERROR (10061: WSAECONNREFUSED: Connection refused) [ninti.c 983]
    [01916] 2006-05-19 14:35:39.683 e TrexNet EndPoint.cpp(00216) : ERROR: failed to open channel 10.17.34.235:30301! reason: connection refused
    [01916] 2006-05-19 14:35:39.714 e TNS TNSClient.cpp(00448) : sendRequest to mssp:30301 failed with NetException. data=[setinactive](S)client_id=mssp:30302.3252-1916|hos...
    this log is copy from: TrexPreprocessor.03252.000.trc, and the same informaton is occured in TrexQueueServer.03604.000.trc and TrexIndexServer.03444.000.trc.
    I guess this error was occured when the index server is try to connect to name server, but the name server refuse the requestion.
    anyone could tell me how to corret this error?

    Hi haiwei
    Take a look at the second post here: Re: TREX not indexing document > 10 KB
    Whenever you got a problem try performing a search in this forum, so you can reuse the existing information instead of asking a new question right away (I assume you haven't done this, I might be wrong
    Try for instance searching for "10 kb trex search" if the above post doesnt help you.
    Kind regards,
    Martin

  • How to check unusable index

    Hi all
    I am getiing error
    Index ORVETL.NU_1_761 or some [sub]partitions of the index have been marked unusable
    How to check index which is unusable (Partition , non partition ALL)
    Pl help me

    I dont know the query it is user running when i got i will update
    alert log plz
    ORACLE Instance IDEARADB - Can not allocate log, archival required
    Sun Jun 20 13:54:03 2010
    Thread 1 cannot allocate new log, sequence 44150
    All online logs needed archiving
    Current log# 2 seq# 44149 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 13:54:08 2010
    Thread 1 advanced to log sequence 44150 (LGWR switch)
    Current log# 1 seq# 44150 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 13:56:47 2010
    Thread 1 advanced to log sequence 44151 (LGWR switch)
    Current log# 3 seq# 44151 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:00:34 2010
    Thread 1 advanced to log sequence 44152 (LGWR switch)
    Current log# 2 seq# 44152 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:06:55 2010
    Thread 1 advanced to log sequence 44153 (LGWR switch)
    Current log# 1 seq# 44153 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:09:31 2010
    Thread 1 advanced to log sequence 44154 (LGWR switch)
    Current log# 3 seq# 44154 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:12:07 2010
    Thread 1 advanced to log sequence 44155 (LGWR switch)
    Current log# 2 seq# 44155 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:14:30 2010
    Thread 1 advanced to log sequence 44156 (LGWR switch)
    Current log# 1 seq# 44156 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:17:09 2010
    Thread 1 advanced to log sequence 44157 (LGWR switch)
    Current log# 3 seq# 44157 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:19:42 2010
    Thread 1 advanced to log sequence 44158 (LGWR switch)
    Current log# 2 seq# 44158 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:22:19 2010
    Thread 1 advanced to log sequence 44159 (LGWR switch)
    Current log# 1 seq# 44159 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:24:45 2010
    Thread 1 advanced to log sequence 44160 (LGWR switch)
    Current log# 3 seq# 44160 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:27:15 2010
    Thread 1 advanced to log sequence 44161 (LGWR switch)
    Current log# 2 seq# 44161 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:29:45 2010
    Thread 1 advanced to log sequence 44162 (LGWR switch)
    Current log# 1 seq# 44162 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:32:21 2010
    Thread 1 advanced to log sequence 44163 (LGWR switch)
    Current log# 3 seq# 44163 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:34:58 2010
    Thread 1 advanced to log sequence 44164 (LGWR switch)
    Current log# 2 seq# 44164 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:37:35 2010
    Thread 1 advanced to log sequence 44165 (LGWR switch)
    Current log# 1 seq# 44165 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:40:08 2010
    Thread 1 advanced to log sequence 44166 (LGWR switch)
    Current log# 3 seq# 44166 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:43:52 2010
    Thread 1 advanced to log sequence 44167 (LGWR switch)
    Current log# 2 seq# 44167 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:50:46 2010
    Thread 1 advanced to log sequence 44168 (LGWR switch)
    Current log# 1 seq# 44168 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 14:51:47 2010
    Thread 1 advanced to log sequence 44169 (LGWR switch)
    Current log# 3 seq# 44169 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 14:53:05 2010
    Thread 1 advanced to log sequence 44170 (LGWR switch)
    Current log# 2 seq# 44170 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 14:56:59 2010
    Thread 1 advanced to log sequence 44171 (LGWR switch)
    Current log# 1 seq# 44171 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 15:07:42 2010
    Thread 1 advanced to log sequence 44172 (LGWR switch)
    Current log# 3 seq# 44172 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 15:17:31 2010
    Thread 1 advanced to log sequence 44173 (LGWR switch)
    Current log# 2 seq# 44173 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 15:24:32 2010
    Thread 1 advanced to log sequence 44174 (LGWR switch)
    Current log# 1 seq# 44174 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 15:32:49 2010
    Thread 1 advanced to log sequence 44175 (LGWR switch)
    Current log# 3 seq# 44175 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 15:41:28 2010
    Thread 1 advanced to log sequence 44176 (LGWR switch)
    Current log# 2 seq# 44176 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 15:45:28 2010
    Index ORVETL.NU_1_761 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 15:45:49 2010
    Index ORVETL.NU_2_761 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 15:48:24 2010
    Index ORVETL.NU_1_762 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 15:49:03 2010
    Index ORVETL.NU_2_762 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 15:51:11 2010
    Thread 1 advanced to log sequence 44177 (LGWR switch)
    Current log# 1 seq# 44177 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 16:01:10 2010
    Thread 1 advanced to log sequence 44178 (LGWR switch)
    Current log# 3 seq# 44178 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 16:06:20 2010
    Index ORVETL.NU_1_751 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 16:11:04 2010
    Thread 1 advanced to log sequence 44179 (LGWR switch)
    Current log# 2 seq# 44179 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 16:16:40 2010
    Index ORVETL.NU_1_753 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 16:17:54 2010
    Index ORVETL.NU_2_753 or some [sub]partitions of the index have been marked unusable
    Sun Jun 20 16:20:28 2010
    Thread 1 advanced to log sequence 44180 (LGWR switch)
    Current log# 1 seq# 44180 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 16:30:11 2010
    Thread 1 advanced to log sequence 44181 (LGWR switch)
    Current log# 3 seq# 44181 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 16:38:45 2010
    Thread 1 advanced to log sequence 44182 (LGWR switch)
    Current log# 2 seq# 44182 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 16:40:40 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54067K exceeds notification threshold (51200K)
    Sun Jun 20 16:41:08 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54016K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1081756.trc
    Sun Jun 20 16:41:17 2010
    Thread 1 advanced to log sequence 44183 (LGWR switch)
    Current log# 1 seq# 44183 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 16:41:32 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54066K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1081756.trc
    Sun Jun 20 16:41:56 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54015K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1081756.trc
    Sun Jun 20 16:49:45 2010
    Thread 1 advanced to log sequence 44184 (LGWR switch)
    Current log# 3 seq# 44184 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 16:58:01 2010
    Thread 1 advanced to log sequence 44185 (LGWR switch)
    Current log# 2 seq# 44185 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 17:00:15 2010
    Thread 1 advanced to log sequence 44186 (LGWR switch)
    Current log# 1 seq# 44186 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 17:02:37 2010
    Thread 1 advanced to log sequence 44187 (LGWR switch)
    Current log# 3 seq# 44187 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 17:05:13 2010
    Thread 1 advanced to log sequence 44188 (LGWR switch)
    Current log# 2 seq# 44188 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 17:07:37 2010
    Thread 1 advanced to log sequence 44189 (LGWR switch)
    Current log# 1 seq# 44189 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 17:13:36 2010
    Thread 1 advanced to log sequence 44190 (LGWR switch)
    Current log# 3 seq# 44190 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 17:19:16 2010
    Thread 1 advanced to log sequence 44191 (LGWR switch)
    Current log# 2 seq# 44191 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 17:25:15 2010
    Thread 1 advanced to log sequence 44192 (LGWR switch)
    Current log# 1 seq# 44192 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 17:32:18 2010
    Thread 1 advanced to log sequence 44193 (LGWR switch)
    Current log# 3 seq# 44193 mem# 0: +REDO_LOG/redo03.log
    Sun Jun 20 17:37:41 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 53686K exceeds notification threshold (51200K)
    Sun Jun 20 17:38:02 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 53898K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1241490.trc
    Sun Jun 20 17:38:21 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54025K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1241490.trc
    Sun Jun 20 17:38:40 2010
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 54012K exceeds notification threshold (51200K)
    Details in trace file /oracle/oracle/Oracle_10gr2_DB/admin/IDEARADB/udump/idearadb_ora_1241490.trc
    Sun Jun 20 17:39:21 2010
    Thread 1 advanced to log sequence 44194 (LGWR switch)
    Current log# 2 seq# 44194 mem# 0: +REDO_LOG/redo02.log
    Sun Jun 20 17:45:28 2010
    Thread 1 advanced to log sequence 44195 (LGWR switch)
    Current log# 1 seq# 44195 mem# 0: +REDO_LOG/redo01.log
    Sun Jun 20 17:51:21 2010

Maybe you are looking for

  • Internet Access in House

    Hello - I currently am running a 611 ONT for my FiOS home internet and tv. I have my router running upstairs, however just acquired a new desk with which I am hoping to set up a new office area downstairs.  I would like to move the router to this loc

  • SAP MM VENDOR MASTER REPORT

    I have to develop report on Vendors related for some account groups and company codes with the invoice volume(number of invoices received ) and Invoices value that are received from the vendor for the period of last 12 Months. I am unable to find log

  • Book Preview and Adjustments

    This issue has been somewhat covered in other threads (see for example <http://discussions.apple.com/thread.jspa?messageID=5397022>, <http://discussions.apple.com/thread.jspa?messageID=5807886> and <http://discussions.apple.com/thread.jspa?threadID=1

  • Erro in XML validation with schema document.

    Hi Friends, I am trying to validate XML file as per the defined schema document through JAXB parser. Following is my xml. schema and java class code. XML File_ <?xml version="1.0"?> <notify xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:no

  • A Challenge For You... (speaker probl

    Greetings all, I recently purchased an Audigy 2 ZS Platinum Pro. Installation went smoothly, until I hooked up my recently purchased Logitech z-560 speaker system (4.). The sound is GREAT... as long as you don't mind no sound coming from the right fr