How to optimise the intermedia search query  when using contains?

HI there,
I have a query to search my database in two tables on eight columns. So that I have eight indexes which are in a different tablespace. Now I have written a query like
select * from table1,table2 where
contains(col1,'wordlist1', 1)>0 and
contains(col2,'wordlist2', 2)>0 and
contains(col8,'wordlist2', 8)>0 ;
When I tried to execute this query, my databae is getting very very slow. As soon as I started the database its working fine, with in five munites of continuous checking, the database going to be slow. So
How can I optimise my query? Is there any better way to search the database using intermedia?
Any help or any sites list on intermedia searching utilities, other than the Oracle documentation is thankful.
waiting...
khaleel

Thank you Thomas,
I need some more from you...
If I have 8 tables for 8 columns, then how do i proceed?
Also could u tell me some query optimization techniques while working with intermedia text.
Thanks you once again,
waiting...
Khaleel Hi Khaleel,
I think this depends on your data model (relationship between the tables) and how you like to search later.
The optimization begins also with the create index statement (memory clause and storage clause).
If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
Cheers,
Thomas

Similar Messages

  • How to inactivate the 'Complex Search' button when using Logical Database

    Hy experts
    I m using Logical Database for a select and you know that for an GET event by default in selection screen it appears some selection fields for every GET event..I manage to hide the ones that don't interest me but I have a little problem: I have a button that's called 'Complex Search' and I don't know how to get rid of this button..
    Here is some code:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
    IF screen-name CP '%BT02010_BLOCK_1000'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
        IF screen-name CP 'QL_REFIL'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
    I do this for every screen-name in the program that doesn t interes me..but it seams that even if I comment all the button with 'Complex Search' remains..I mention that is a disperate solution to inactivate every screen element but I could not do other way..My bigest pb is the 'Complex Seach' button..can anyone help me?? pls.. <REMOVED BY MODERATOR> ..thx..
    Edited by: Alvaro Tejada Galindo on Feb 12, 2008 12:45 PM

    Thank you Thomas,
    I need some more from you...
    If I have 8 tables for 8 columns, then how do i proceed?
    Also could u tell me some query optimization techniques while working with intermedia text.
    Thanks you once again,
    waiting...
    Khaleel Hi Khaleel,
    I think this depends on your data model (relationship between the tables) and how you like to search later.
    The optimization begins also with the create index statement (memory clause and storage clause).
    If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
    Cheers,
    Thomas

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to get the PDF Document version when using Digital Signature

    Hi,
    I have a form which contains two signature fields.
    When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
    I need to get the binary of the versions stored in the form.
    Please suggest me the how to get the version data from the form.
    Regards,
    S.V.atish Kumar

    Hi Mithun:
    I think I have run into a similar issue and have not been able to find a resolution.
    I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
    Earnings .............. Pre-Tax Deductions .........Taxes
    <line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
    <line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
    <line 3 earnings> <line 3 pre-tax deductions>
    <line 4 earnings> <line 4 pre-tax deductions>
    <line 5 earnings>
    <line 6 earnings>
    The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
    Check Writer (XML)  - Issues with payroll check stub in rtf
    As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
    *** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
    Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
    Thanks!
    Edited by: RedLacey on Dec 17, 2009 11:48 AM

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • How to override the default order UOM when using BAPI_PO_CREATE1...

    Hello Experts,
    How do I force BAPI BAPI_PO_CREATE1 to use my declared purchase order unit of measurement instead
    of getting it in the material master data? For example, material A has a default purchase UOM of CV, but
    when I create a PO using material A I want the purchase UOM to be EA instead of the default CV.
    How do I do that?

    Sorry settings in inforecord problem.

  • How to avoid the "Save As" dialog when using "Close Button"

    Hello All,
    I am facing a problem while closing a pdf file.
    I am using the following code to Open a pdf file.
    CAcroApp objAcroApp = new AcroAppClass();
    CAcroAVDoc objAVDoc = new AcroAVDoc();
    objAVDoc.Open(C:\\new.pdf,Sample);
    objAcroApp.Show();
    After opening the document I am **** some changes (adding markup) in the file.
    Then I am closing the file using the Close Button and in YES for the save confirmation dialog.
    Here is the problem.
    After giving YES, I am getting a Save As dialog with "Sample.pdf" in the FileName box.
    I am getting this only in Acrobat 9.0.
    When I tried the same in Acrobat 8.0 I didnt get Save As dialog. It saved with out "Save As" dialog in "C:\\new.pdf".
    I need to give the same behavior in both Acrobat 9.0 and 8.0.
    Please help me out to fix this issue. Thanks in advance.
    Regards,
    Mohd Mustafa SK

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How to control the order of transforms when using interpolators?

    We want to spin one cube around another, instead of having two cubes spinning side by side. The latter is the effect we get, no matter the order of the transforms in the tree.
    We can not use normal matrix multiplications since we are using a RotationInterpolator in combination with a static translation transform.
    We have tried using OrderedGroup but this did not make any difference either. Where is this supposed to be used in order to make a difference?
    How are we supposed to do? Any help much appreciated.
    Thanks

    SphereMotion example that a give with java3D that spin
    one sphere around another
    you should look at thisThanks. What exactly are we looking for, are they using the PositionInterpolator to make the translation survive during the animation?
    Is this what we need to do, or is there any way of making a normal transform survive?
    Our semi-educated-guess is that the RotationInterpolator we use to rotate our cubes operates on the compiled transform, therefore overwriting the translation we do at the beginning (this can be seen in the very beginning, as the 2nd cube is first in it's own position, and then in the next frame it returns to 0,0 (origo)).
    Are we right? Or is there a simpler explanation and solution to this?
    Many thanks

  • How to get the filename in mapping when using sender File adapter?

    hi Experts,
       I have scenario where XI reads the input file using Sender file adapter.
       The file name is configured in the communication channel.
       In my message mapping it is possible to read this file name?
    Thanks
    gopal

    Hi Gpoal,
    Use Dynamic Configuration - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Geetha

  • How to Stop the preview from jumping when  using .avi's??

    Hi
    Ive been having aproblem where the .avi file I have imported will just jump forward , making it impossible to edit.. I have try reconverting th.avi's to lower bitrate, and still it jumps ,, the avi files iam using having been converted from SUPER to .avi with h.264/AVC Video Codec, at 1280 * 720 and 29.97 Fps -> Bitrate 2208 kbs,, if anyone has any suggestions,,??

    DV won't handle John's frame size. He may be better off using Desktop mode with something like the Lagarith codec, though Premiere may not edit perfectly smooth with that one either.

  • How can I customize the dam search query in backend?

    I am trying to customize the dam search query in the cq backend but I cannot figure out where to do it.
    It seems that the search is performed by dam.assetsearch.json but where can I edit it?
    Thanks.

    The above is the post message to the querybulider.json when we trigger searching
    p.hitwriter=full
    p.nodedepth=4
    mainasset=true
    type=dam:Asset
    fulltext=1111
    path=/content/dam
    path.flat@Delete=true
    orderby=path
    0_daterange.property=jcr:content/jcr:lastModified
    0_daterange.lowerBound=
    0_daterange.upperBound=
    1_group.property=jcr:content/metadata/dc:format
    1_group.p.or=true
    2_group.property=jcr:content/metadata/cq:tags
    2_group.p.or=true
    3_group.property=jcr:content/metadata/dam:scene7FileStatus
    3_group.p.or=true
    p.limit=15
    p.offset=0
    Actually how 0_daterange, 1_group, 2_group.... generated?
    If I just add a predicate, it cannot be convert to x_group something like this and hence the searching fail.
    Any idea to this?
    Thanks.

  • How do get rid of the google search box when I first open Firefox?

    How do get rid of the google search box when I first open Firefox?

    Firefox 4 and later versions use a new build-in home page named <b>about:home</b> with a Google search bar on it.
    That about:home page only shows some snippets and has a button to restore the previous session if applicable.
    If you want a home page with extras then set another page as the home page like www.google.com as used in Firefox 3 versions.
    *https://support.mozilla.com/kb/How+to+set+the+home+page
    See also:
    *Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" "Show a blank page"

  • How to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage too, but it isn't solved. Thanks

    dear, there.
    how to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage to google too, but it isn't solved. Thanks

    Clarification:
    I believe now you potentially lose all extensions, plug-ins when you use the new reset function, but you will let me know.
    If that is the case, your find corrupt file method maybe better. However, I reviewed the two help articles and there appear to be more files than just the delete search.json file and a possible search.sqlite file in the Firefox Profile Folder. I am confused. Then I have to find the folders. I think help articles mentioned how to find the profile containing the files, but not sure.

  • How to Delete the node from cluster when the machine crashed?

    In an three nodes Rac of 11g r2,How to delete the node from cluster when the machine crashed?
    There is now way to repair the machine and have to add a new one.
    What is step to follow up?

    hi
    IF YOU WANT TO DELETE RAC1 NODE
    check $./olsnodes
    1) delete the instance using dbca from any active nodes
    crs_stat -t
    srvctl stop asm -n rac1
    2) delete listener
    3) delete oracle_home from oracle user
    $ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={RAC1}
    4)delete asm home
    $ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={RAC1}
    5) update cluster node
    $ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={active nodes like rac2,rac3}
    6) update ASm home
    $ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={active nodes like rac2,rac3}
    cd $ORA_CRS_HOME
    cd crs/opmn/conf
    check for
    $cat ons.config
    remoteport=6200
    cd crs_home/bin
    $./racgons remove_config rac1:6200
    $ go to crs home
    and $ORA_CRS_HOME/crs/install/rootdelete.sh
    $ORA_CRS_HOME/crs/install/rootdeletenode.sh
    check for ./olsnodes

Maybe you are looking for

  • Third party order type

    Hi all, Pls tell me what is order type of third party? I don't see it in VOV8. Thanks,

  • Wi-Fi Music Sync/Firewall Issue

    I have been struggling with the Wifi Music Sync on my new Blackberry Torch for almost two weeks.  After I uninstalled my third-party firewall (CA Security Suite) and doing a fresh install of BlackBerry Desktop and re-installing Wifi Music Sync on the

  • Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges.

    Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges. Exact error below: error 1321: the installer has insufficient privileges to modify the file C:\Program Files (x86)\Adobe\Acrobat

  • Stalled installation on OSX Mountain Lion.

    While upgrading to Mountain Lion, I get as far as "Preparing to install. Your computer will restart automatically" and that's all. Even left overnight, I found it still there in the morning. Everything else seems to work fine. I would like to complet

  • PSE 12 Organsizer Will Not Load after Install

    I've uninstalled PSE9 and installed PSE12. The basicintroduction menu loads and the editor menu, however the Organizer just will not open eoither direct or via the editor? I'm running windows 7, I have tied 3 times reinstalling etc to no avail...? An