"row text contains" search on IR slow

I have IR reports that can potentialy return lots of rows. The IR usually returns in < 1 second. I am seeing major performance issues if the user enters some text in the search bar (which add the fiter "row text contains" to IR). This is making the IR take over 20 minutes to return in some instances (depending on previous filters chosen). I know I can disable the search in the IR properties, but
I was wondering if anyone seen issues with this and if so what did you do to rectify?
Thanks

My DBA has, but I do not think his suggestion is valid. He mentions this is do to an index on 3 text fields that contain (last_name,forst_name,id) and I should remove histograms for that column. tried that and it still takes just as long:
execution plan
| Id | Operation | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time | OMem | 1Mem | Used-Mem | Used-Tmp|
| 0 | SELECT STATEMENT | | | | 3262 (100)| | | | | |
| 1 | WINDOW SORT | | 63 | 28791 | 3262 (1)| 00:00:40 | 4096 | 4096 | 4096 (0)| |
|* 2 | COUNT STOPKEY | | | | | | | | | |
|* 3 | FILTER | | | | | | | | | |
|* 4 | HASH JOIN OUTER | | 63 | 28791 | 3262 (1)| 00:00:40 | 221M| 7439K| 202M (1)| 38912 |
| 5 | NESTED LOOPS OUTER | | 63 | 26523 | 3204 (1)| 00:00:39 | | | | |
| 6 | NESTED LOOPS OUTER | | 63 | 24192 | 3197 (1)| 00:00:39 | | | | |
| 7 | NESTED LOOPS | | 63 | 21861 | 3194 (1)| 00:00:39 | | | | |
| 8 | NESTED LOOPS | | 61 | 14640 | 96 (0)| 00:00:02 | | | | |
|* 9 | HASH JOIN OUTER | | 11 | 1551 | 9 (12)| 00:00:01 | 12M| 2004K| 16M (0)| |
| 10 | TABLE ACCESS BY INDEX ROWID| STU_BASE | 11 | 1155 | 6 (0)| 00:00:01 | | | | |
|* 11 | INDEX RANGE SCAN | STU_BASE_I2 | 1 <<<<<<<############################ THIS IS PART/ALL OF THE PROBLEM
| 12 | TABLE ACCESS FULL | ETHNIC | 8 | 288 | 2 (0)| 00:00:01 | | | | |
| 13 | TABLE ACCESS BY INDEX ROWID | STU_YEAR | 6 | 594 | 8 (0)| 00:00:01 | | | | |
|* 14 | INDEX RANGE SCAN | STU_YEAR_I | 6 | | 2 (0)| 00:00:01 | | | | |
| 15 | INLIST ITERATOR | | | | | | | | | |
| 16 | TABLE ACCESS BY INDEX ROWID | STU_SCHOOL | 1 | 107 | 51 (0)| 00:00:01 | | | | |
|* 17 | INDEX UNIQUE SCAN | STU_SCHOOL_I | 1 | | 49 (0)| 00:00:01 | | | | |
| 18 | TABLE ACCESS BY INDEX ROWID | SPECIAL_ED | 1 | 37 | 1 (0)| 00:00:01 | | | | |
|* 19 | INDEX UNIQUE SCAN | PK_SPECIAL_ED | 1 | | 0 (0)| | | | | |
| 20 | TABLE ACCESS BY INDEX ROWID | HOMEROOM | 1 | 37 | 1 (0)| 00:00:01 | | | | |
|* 21 | INDEX UNIQUE SCAN | PK_HOMEROOM | 1 | | 0 (0)| | | | | |
| 22 | TABLE ACCESS FULL | GRADE_LEVEL | 14199 | 499K| 57 (0)| 00:00:01 | | | | |
and the execution plan at line: 11 is using the index: STU_BASE_I2
and that index is
CREATE INDEX "SIS_EXPRESS"."STU_BASE_I2" ON "SIS_EXPRESS"."STU_BASE" ("LAST_NAME", "FIRST_NAME", "STUDENT_ID")
you did a "wildcard" search for these columns, but the execution plan says
it is expecting 1 row, this is due to the histograms.
The bind variables show
:APXWS_EXPR_1 "%" >>>lastname
:APXWS_EXPR_2 "%" >>>firstname
:APXWS_EXPR_3 "%" >>>studentid
Try removing the histograms on columns last_name, first_name, and student_id of the stu_base table.

Similar Messages

  • Interactive Report - Include Non-selected Column in Row Text Search

    Hi,
    We have an interactive report that contains many columns. NAME VARCHAR2(30), TYPE VARCHAR2(30) etc and DESCRIPTION VARCHAR2(4000).
    Normally the DECRIPTION column would not be shown (avalilable for dispaly via 'Select Columns' but not selected), however we need the default Row Text Search (ie direct entry into the search field instead of creating a column filter) to search the DESCRIPTION field wether it is selected for display or not.
    This will allow the user to enter a term that may be contained in the DESCRIPTION to find records without trying to display a 4000 character field in the report - which just looks horrible.
    We are using ApEx 4.1.1.
    Thanks,
    Martin Figg

    Hi Ray,
    As I expected this has got us very close. We went with the code:
    select
    facility_id,
    facility_name,
    '<span title="' || facility_desc|| '">'||substr(facility_desc,0,50)||decode(sign(length( facility_desc)-50),1,' (More...)',NULL)||'</span>' facility_desc,
    equipment_id,
    equipment_name,
    '<span title="' || equipment_desc|| '">'||substr(equipment_desc,0,50)||decode(sign(length( equipment_desc)-50),1,' (More...)',NULL)||'</span>' equipment_desc,
    from
    rf_full_item_list_vwhich works well. The only issue is that when you download to csv you get the html tags etc as well. Put I am a lot closer to a solution than we were.
    Thanks again.
    Martin

  • Apex 3.1, Interactive Report Row Text Search, image bitmap as TEXT?

    I think this IR thing is powerful which could save me lots of time in development.
    One question: does the row text search(default: all columns) treat image column as regular text(string)? I did the following search on:
    SAMPLE APPLICATION-->Products, I put 300 in the search column( for $300 list-price search), the search produces 3 lines( should only have 2). the 3rd line's list price is $1999, I looked it in SQL*PLUS and saw its image bitmap (long string) includes a "300" inside, so I believe the "default all columns search" treat image as regular string.
    How can I avoid the image bitmap search included in IR? This bitmap strings are very long for each image and can EASILY match searching conditions for something like PRODOUCT DESCRIPTION, PRODUCT PRICE for our products data( about 25000)? thanks
    sean

    Sean / Russell,
    Thanks for reporting this, it's certainly a bug.
    By the way, the search is performed in SQL, on whatever column values are being displayed (run the page in debug mode to see the full SQL). So in the case of the sample application, it is not matching the image bitmap, but the image size, which is selected in the SQL. The bug is that the full search should not include columns which have filtering disabled or one of the special image format masks. We'll try to fix this for an upcoming patch.
    Thanks,
    Marco

  • Searching for text containing diacritics (accents)

    iTunes doesn't find titles when searching for texts containing diacritics (like "âàéêèëîïôöûùü", in french). Even when a song title is copied and pasted in the search field, it is still not found. I get the same problem when I call the search from AppleScript. When searching for only the part before or the part after the diacritic, then iTunes does find something. I think it is a bug. Is there someone that knows what to do?

    Too bad the problem is back with the new iTunes 8.0. It is quite annoying since I got a lot of entries with those diacritics...

  • Full Text searching number is slow

     Hi
      I configure the Full text search
    some words like '  c\s full  , m\s xxxxx   like this because of  \  it is not searching... if i replace to '' it is not searching the word that i require.
    if i search the words that have number 432323XXX these words search are very slow
    Please help
    Thanks & Regards Manoj

    Hi Manoj,
    The performance of full-text queries could be influenced by various factors, such as memory, disk speed, fragmented catalog and so on. To improve the performance of full-text queries, please consider the following things.
    • Reduce the number of fragments, reorganize the full-text catalog by using the REORGANIZE option of the ALTER FULLTEXT CATALOG Transact-SQL statement.
    • Limit results and increase performance by using the top_n_by_rank parameter of the FREETEXTTABLE and CONTAINSTABLE functions.
    • Check the full-text query plan to make sure that the appropriate join plan is chosen.
    For more details, please review the following link.
    http://msdn.microsoft.com/en-us/library/cc879244.aspx
    Thanks,
    Lydia Zhang

  • Why does text on certain portions of websites, usually when adjacent text contains special characters, become jumbled into seemingly random sets of characters that are not in any way jumbled when viewing the source of the webpage? How can I fix this?

    When viewing most text on most websites, it displays properly. However, there are two instances where text will either tend to, or consistently, become jumbled into a mess of seemingly random characters. Oddly enough, these seemingly random characters are not, in fact, random. The same weird character will be used to replace the same regular English text character consistently across the entire area that has been jumbled.
    The two instances where this tends to occur most often, or consistently in some cases, are, first, when a paragraph or particular section of formatted text contains special characters, such as Chinese or Japanese characters, or accented letters. When this happens, usually the paragraph that contains the special characters is completely jumbled, while the rest of the text on the page will have intermittent jumbling on a word or two. Most often, the word "the" is jumbled in this case.
    The second instance where this happens is when a website uses specially formatted text in some form or another. I, not being an expert at web development, am not sure what kind of formatting causes it, but I can provide consistent examples in lieu of my experience:
    - Example 1:
    [http://img408.imageshack.us/img408/9564/firefoxcharencodingissu.jpg]
    Example 1 shows a portion of a screen-shot of the website "Joystiq.com". Every single article title on the front page of this blog is consistently jumbled, while the text of the article itself remains untouched. Please note that when this jumbled text is highlighted, it is visible un-jumbled in the right-click menu as well as in the source code of the page. Other consistent instances can be found within many search fields on various websites. For instance, the search bar located at the top right of "Kotaku.com" consistently displays jumbled characters both on its default text of "Search" and on any text that is typed into the search box itself.
    - Example 2:
    [http://img822.imageshack.us/img822/9564/firefoxcharencodingissu.jpg]
    Example 2 shows both the jumbling of the paragraph containing the character "☆" as well as the subsequent peppering of the rest of the article's text with small jumbled words. Below this is the DOM Source of the selected text which shows how the text itself is being rendered properly within the site's source. Additionally, for convenience, I have edited on to the bottom of the image a small snippet of what the search bar on the same page looks like. Notice how the grayed-out text that normally would read "Search" is instead jumbled.
    This issue has been plaguing my browser for the past year or so, and I had hoped that it would go away with subsequent Firefox updates. It has not gone away.
    Thank you for reading! Please help!

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    There have also been fonts with a Chinese name reported that identify themselves as Helvetica, so check that as well.
    Use this test to see if the Helvetica font is causing it (Copy & Paste the code in the location bar and press Enter):
    <pre><nowiki>data:text/html,
    Helvetica<br><font face="Helvetica" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
    Helvetica Neue<br><font face="Helvetica Neue" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font>
    </nowiki></pre>
    You should reset the network.http prefs that show user set on the about:config page.<br />
    Not all websites support http pipelining and if they do not then you can have issues with images or other problems.
    See also http://kb.mozillazine.org/Images_or_animations_do_not_load#First_steps

  • Field in portal table for the text contained in an uploaded file

    I have uploaded a file of base item type file into release 2 of the portal.
    Does anyone know which table the clob field for the text contained in
    the uploaded file is stored?
    Thanks,
    Suzanne

    Hi,
    When you run the Search hep is it giving the description or not
    You have to create the serarch help with both the fieldname and its description field then we cna the values. Or
    Try to mantain the text table for this field and get the data.
    Get the valeusinto drop drown with this table Or create the SearchHelp for this text table
    Regards
    Lekha

  • Using Oracle Text to search through WORD, EXCEL and PDF documents

    Hello again,
    What I would like to know is if I have a WORD or PDF document stored in a table. Is it possible to use Oracle Text to search through the actual WORD or PDF document?
    Thanks
    Doug

    Yes you can do context sensitive searches on both PDF and Word docs. With the PDF you need to make sure they are text and not images. Some scanners will create PDFs that are nothing more than images of document.
    Below is code sample that I made some time back to demonstrate the searching capabilities of Oracle Text. Note that the example makes use of the inso_filter that is no longer shipped with Oracle begging with Patch set 10.1.0.4. See metalink note 298017.1 for the changes. See the following link for more information on developing with Oracle Text.
    http://download-west.oracle.com/docs/cd/B14117_01/text.101/b10729/toc.htm
    begin example.
    -- The following needs to be executed
    -- as sys.
    DROP DIRECTORY docs_dir;
    CREATE OR REPLACE DIRECTORY docs_dir
    AS 'C:\sql\oracle_text\documents';
    GRANT READ ON DIRECTORY docs_dir TO text;
    -- End sys ran SQL
    DROP TABLE db_docs CASCADE CONSTRAINTS PURGE;
    CREATE TABLE db_docs (
    id NUMBER,
    format VARCHAR2(10),
    location VARCHAR2(50),
    document BLOB,
    CONSTRAINT i_db_docs_p PRIMARY KEY(id)
    -- Several notes need to be made about this anonymous block.
    -- First the 'DOCS_DIR' parameter is a directory object name.
    -- This directory object name must be in upper case.
    DECLARE
    f_lob BFILE;
    b_lob BLOB;
    document_name VARCHAR2(50);
    BEGIN
    document_name := 'externaltables.doc';
    INSERT INTO db_docs
    VALUES (1, 'binary', 'C:\sql\oracle_text\documents\externaltables.doc', empty_blob())
    RETURN document INTO b_lob;
    f_lob := BFILENAME('DOCS_DIR', document_name);
    DBMS_LOB.FILEOPEN(f_lob, DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(b_lob, f_lob, DBMS_LOB.GETLENGTH(f_lob));
    DBMS_LOB.FILECLOSE(f_lob);
    COMMIT;
    END;
    -- build the index
    -- Note that this index differs than the file system stored file
    -- in that paramter datastore is ctxsys.defautl_datastore and not
    -- ctxsys.file_datastore. FILE_DATASTORE is for documents that
    -- exist on the file system. DEFAULT_DATASTORE is for documents
    -- that are stored in the column.
    create index db_docs_ctx on db_docs(document)
    indextype is ctxsys.context
    parameters (
    'datastore ctxsys.default_datastore
    filter ctxsys.inso_filter
    format column format');
    --search for something that is known to not be in the document.
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Jenkinson', 1) > 0;
    --search for something that is known to be in the document.  
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Albright', 1) > 0;

  • CONTAINS search error while using wildcard character

    HI,
    Please help to me,
    CONTAINS search error while using wild-card characters
    SELECT * FROM CUSTOMER WHERE CONTAINS(EMAIL,'test@%',1) > 0;
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    Thanks

    I am not sure about the error. But This posting may give you some ideas
    How to limit the number of search results returned by oracle text
    Please have a look.

  • In search results, Summary sometimes shows the top of file, not the text I searched for

    I'm searching lots of html files, it's a web site that's not imported into Sharepoint. Search is returning the correct files, but about half the time the Summary contains the text at the top of the html file, not the text surrounding the text I searched
    for. It's a big problem, users have to open the file then find the search text to see if it's useful.
    If I search for 'potato' here's an example Summary which is ok:
    All pages in issue FTDA-1983-0409:
     00010002000300040005000600070008000900100011001200130014001500160017001800190020
    … today's dieticians, the potato … most of us enjoy a
    potato cooked …
    Here's a Summary just showing text from the top of the file, 'potato' is present, but lower in the file:
    0001000200030004000500060007000800090010001100120013001400150016001700180019002000210022002300240025002600270028
    … issue: date: January 19, 1980, page …
    Could anyone help me get it to consistently show the text around the search text please?

    You can't attach a screenshot to the first post that starts a thread, but you can do that in subsequent replies.
    Does this only happen on one specific website?
    Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
    It is possible that there is a problem with that web page and that there is a clear:both CSS rule missing that causes Firefox to start the next line at the horizontal position where the previous line ended.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • CONTAINS search error while using Numeric

    HI,
    Please help to me,
    CONTAINS search is not performing while numeric character
    In an members table
    ID       EmailId
    1 [email protected]
    2 [email protected]
    3 [email protected]
    SQL 1> SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, 'Loadtest{_}{%}', 1) > 0
    To listing the All records
    Result is
    ID       EmailId
    1 [email protected]
    2 [email protected]
    3 [email protected]
    SQL 2> SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, 'Loadtest{_}2{%}', 1) > 0
    Result is (Only One record is Listing, Not list Remaining Records)
    ID       EmailId
    1 [email protected]
    SQL 3> SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, 'Loadtest{_}21{%}', 1) > 0
    Result is (Only One record is Listing, Not list Remaining Records)
    ID       EmailId
    2 [email protected]
    Please help to me, Why not list the remaining records in SQL 2 & SQL 3
    Thanks

    I'm not perfectly sure but you can try the following variations. unfortunatly I can't test it at the moment.
    SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, '{Loadtest_2}%', 1) > 0or better
    SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, 'Loadtest\_2%', 1) > 0The problem might be that everything insider {} is considered a separate token. Therefore the full word might not be found anymore.
    See also: http://stanford.edu/dept/itss/docs/oracle/10g/text.101/b10730/cqspcl.htm

  • Repeating row texts when exporting web report to Excel

    Dear all,
    When exporting a web report (including a structure/hierarchy) to Excel (via the 'export to excel button), the row texts (e.g. balance sheet texts) appear twice (column A and B)in the Excel result.
    When using the web context menu 'Export to Excel' this issue does not occur.
    I am using a BW 3.5 system which has been upgraded to support pack 16.
    I assume it is the combination of the structure and the 'export to excel' functionality that does not match up, because when I switch off the hierarchy functionality in the web report query properties, the export to excel does not give me any problems.
    Does anyone know how to solve this issue?
    Thanks in advance,
    Arjan.

    Did you write that software, COTS package called Medgate?
    If not then ask that company for support. No one here would know how to fix it. They are using the CR RDC report engine.
    Thank you
    Don

  • Is it possible to get the output of a text container into Spool..?

    Hi
    I am trying to write a report for a standard transaction(SM65) in BDC and run thru background job so as to get the output in to Spool. Right now I am facing an issue to get the SM65(text container) tcode output into spool.
    FYI..I am using "CALL TRANSACTION 'SM65' USING BDCDATA MODE 'E'."
    Please provide tour valuable inputs.
    Thanks!
    Shiv

    Hi Shiv,
    Instead of writing BDC for T-code SM65 I would suggest you to use following function module to get the required data.
          CALL FUNCTION 'BPT_ANALYSE_START'
            EXPORTING
              server_name            = servername_tmp
              check_all_btc_servers  = sbpt1020-allsrvchk
              profile_check          = sbpt1020-profilechk
              xpgm_environment_check = sbpt1020-xpgmcheck
            TABLES
              protocol_tbl           = global_protocol_tbl
            EXCEPTIONS
              OTHERS                 = 99.
    Once you got the data into "global_protocol_tbl " you can create spool of it.

  • Can I align the last line of a text container to to bottom of a container?

    Is it possible to take the last line in a text container and vertically align it to the bottom? I'm aware that I can justify the entire text container vertically to achieve this effect. However, this means tha every line in the container is now spaced out with increased leading.
    Here's a screen capture of what I mean.
    On the right is a text container without any vertical justification and sized to fit the text. On the left is a text container that I've sized to match the height of the right container. In order to get the last line to align to the bottom I used the Justify vertically option. But my bullets are now spread out.
    Basically I just want the last line aligned to the bottom and the rest of the text above it to be aligned to the top.
    Is there anyway to do this with just one text container? Or will I be forced to used two text containers?
    I'm using InDesign CS5 if that matters.

    I think I'd do this with a two-cell table.

  • Text not searching in pdf

    i m not able to search text in pdf, font are using times new roman(embedded subset), when  i m going (ctrl+f) and write some string on it then result come no found, one thing when i m copy the text from that pdf and paste is on find option then coming some unreadeble text on find option but in this case text are searching. plz tell me which type of prb it is

    your settings are equivalent to what I have, and PDF search works for me. Go figure. Maybe try reinstalling RH or getting some additional rights to your PC.
    BTW, did you look at the SALIdxSvc12.xml file in the Program Files (x86) > Adobe > AdobeRobohelp 8 > RoboHTML directory? (referenced in a related post).
    Mine looks like this. I think the circled line is what allows PDFs to be indexed for search: 
    (BTW, the only issues I've had with PDF search is when we generate the help in batch from the command line...for some reason, we can't do PDF search when we use that process.)
    Good luck with it!
    Kathy

Maybe you are looking for

  • CF9/Solr: cfindex custom fields limitation

    On CF9, using Solr, I'm trying to index a database query, but, like Verity in this and previous versions of CF, there is a limitation on the number of custom fields I can index.  I know the limitation lies with the cfindex tag as Solr is able to inde

  • Macbook pro keyboard not working in windows

    i have a macbook pro laptop with a build-in keyboard and usb mouse. just updated with leopard. when i go to login in on the windows side of my mac the keyboard don't work, the usb mouse works but not the keyboard. the keyboard works in OSX mode but n

  • Js for Structure; XML; Map Tags to Styles...

    Hi all I am trying this forum entry again under a different heading. I may have confused readers. I have a ID file that contains XML content and lots of Character and Paragraph Styles. There is a map that connects Tags <-> Styles. This file is workin

  • Reader 11.0.3 unusable after APPDATA redirection to server

    Hello everyone, Clients: Windows 7 Enterprise SP1 x64 Server: Windows 2008 Enterprise R2 SP1 x64 Adobe Reader XI (11.0.3) All users are configured to use roaming profiles and folder redirection. Folder redirection, Dfs link to a file server in our da

  • Ipod Touch - Garageband - export song to Itunes - Windows 7

    Hello ! I have a problem: How can I export a song in Ipod Touch to Itunes (my Windows 7 PC) ? If I share it with Itunes, I cannot find the song on my Windows PC in Itunes. Who can I help me ? I just want to save my songs to my PC. Thank you in advanc