Performance issues and options to reduce the loading with the Oracle text implementation

Hi Experts,

My database on Oracle 11.2.0.2 on Linux. We have Oracle implemented for the fuzzy search. Our oracle text indexes are defined as sync on commit that we cannot afford to have stale data.  Now our application done literally thousands of inserts/modifications/deletions of these columns where we have these Oracle text index defined. Thus, we see a significant impact on performance because the oracle text synchronization routines is called on each commit. We do nightly index optimization (optimization full every night at 3:00).  The text index oracle internal operations are appearing at the top of the sql page in our AWR report and fears it causes a lot of load on the DB.  Since we do optimization of the complete index once during the night, I think I should change that, and if I do, he's going to help us?

For example, here are some data of AWR report my one day:

Time elapsed (s) Executions Time by Exec (s) % Total % CPU %IO SQL ID SQL module SQL text
27,386.25305 4410.0916.5015.829.98ddr8uck5s5kp3Start ctxsys.drvdml.com_sync_i...
14,618.81213 9800.078.818.3927.7902yb6k216ntqfbegin ctxsys.syncrn (: idxownid,...)


More top sql full text:

ddr8uck5s5kp3begin ctxsys.drvdml.com_sync_index (: idxname,: idxmem,: partname);
end
02yb6k216ntqf

begin ctxsys.syncrn (: idxownid,: idxoname,: idxid,: ixpid,: rtabnm,: flg); end;

Now if I do optimization of the complete index that more often, and not only once night 15:00 will be this average, the load on DB sync on commit will decrease? If Yes, how many times should I optimized and the optimization itself does not lead to a load? Can anyone suggest?

Thank you

OrauserN

It's to you which values you want to experiment.  Since 1 G, which is the same as 1024M is the maximum I could try that assigning to an index and see what effect it has.  You can use the same AWR report that you used previously and compare performance.  To determine when paging depends on your operating system and what tools you have.  Another option might be to use TRANSACTIONAL, that allows searching for unsynchronized lines and allow you to synchronize every five minutes, like Herald suggested, without any latency problem.  You can read about it here (scroll down to transaction):

http://docs.Oracle.com/CD/E11882_01/text.112/e24436/csql.htm#CCREF23731

Tags: Database

Similar Questions

  • HP 15r205tu: State failure in bootnig and unable to reduce the brightness of the display of power

    I bought HP 15r205tu notebook on 19/05/2015 and installed windows OS 8.1, but when the OS starts, I get error DRIVER_POWER_STATE_FAILURE. I did already reinstall OS twice but no luck. Another problem with the function of luminosity. Impossible to reduce the brightness of the laptop. Please help me to solve the problem as soon as possible.

    Hi @renjithcr90 ,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your laptop 15-r205tu HP and questions with failure then the starting state and unable to reduce the brightness of the screen. Here is a link to the HP Support Assistant, if you need it. Simply download and run the application and it will help with the software and drivers on your system that need updated. If the system is not up-to-date, it could cause your question.

    Make sure that you reboot the system twice, it will check the updates of Windows at this time here.

    Thank you.

  • Everything on my screen has tripled in size how it back to the normal size, ps I tried the right hand winder on cone and it just reduces the font size not all things on the screen itself

    Everything on my screen has tripled in size how it back to the normal size, ps I tried the right hand winder on cone and it just reduces the font size not all things on the screen itself

    Your lowered obtained resolution. This can occur if you are running an older game that uses 800 x 600 for example.

    Control Panel > display > settings - change the resolution to correct for your monitor. MS - MVP - Elephant Boy computers - don't panic!

  • The Oracle text and locking

    Hi Experts,

    I'm on Oracle 11.2.0.3 on Linux. I've implemented the Oracle text in my database. My production dba told me today that there is some locking problems in production and he sent me a report from ASH. I can post that ASH in a separate email thread, but first of all in this post you ask who are there known issues with Oracle expected text that it causes associated locks or lock? I read somewhere that oracle indexes text get defragmented over time. My full text index is defined as sync on commit. For example, should they be rebuilt over time - say drop and recreate them? What should be the frequency of doing this?

    I'll be very grateful for any pointer on it.

    Kind regards

    OraserN

    There are different ways to optimize, some fast and partial and some more slow and painstaking.  Please see the procedure optimize_index of the ctx_ddl package:

    CTX_DDL package

    The type of optimization and frequency can be set in the index settings, as you do with sync (on commit), or on demand using dbms_job and dbms_scheduler.

  • Problem with the Oracle text markup

    Hello

    I have a problem with the Oracle text markup.

    I am looking for keywords in a text which is composed by a question and answer.
    Here is the structure of my text:
    & lt; div class = 'question' & gt;
    & lt; a & gt; the title of my question & lt; /a & gt;
    & lt; div class = "reply & gt;
    content of response
    & lt; / div & gt;
    & lt; / div & gt;

    It is possible to search those keywords in the question or answer only. For this, I use the stored procedure:

    {call CTX_DOC. MARKUP)
    index_name = >?
    textkey = >?
    text_Query = >?
    restab = >?
    query_id = >?
    startTag = >?
    (EndTag = >?)}

    _with these parameters: _

    index_name = < my index >
    textkey = < id for the search text >
    text_Query = < a query containing the keywords >
    restab = < a table SQL to store the marked text >
    query_id = < id >
    startTag = ' < span class =-"highlight\" >. "
    EndTag = "</span >.

    The markup should be done only in the place you want (question, answer, or both).
    The markup is good when I search a keyword throughout the text, in the question or answer only.
    * If I search two key words in the question or answer, the markup is bad *.

    _Example: __
    I am looking for the words "* Internet *" in question only.
    Here's the query passed to the stored procedure:
    + * text_query * = 'service & internet' INPATH (//div[@class = 'question'] / has) +.

    In the question, these words are well marked.
    In response, only the first word is marked.

    * Why the first keyword is also marked in the response while the query specifies a search in question only? *

    The same problem appears when I search for the same keywords in the response only.
    In this case, in the answer, these words are marked as well.
    In the issue, only the first word is marked.

    Thanks for your help

    Edited by: user11088931 Apr 21. 2009 06:17

    Try text_query = (service & internet) INPATH (//div/a)

    Single quotes in a query do nothing. I think that your request has been treated as

    Service & (internet INPATH (//div/a))

  • Smartphone blackBerry Storm performance issues (and suggestions)

    I want to start and say that I don't like my phone.  When it works (which is most of the time), it works fine.

    But there are certainly problems of software.  As a software engineer, the OS has some memory serious management problems.  This seems to cause most of the problems I'm having with the phone.  I'm running the latest Verizon S/W (v4.7.0.148).

    Problem #1:

    I am a paranoid person.  There are a lot of personal information on my phone, I have currently international calls helped that I need this feature.  So to protect me my phone is locked when it is the case or after a period of inactivity time.  It is a good practice.  Part of the draw to the fate of the Blackberry is the security that you can configure on the device (I'm not paranoid enough to allow all the protections of encryption - yet).  Problem of the storm is that it can take 1 to 5 minutes to get the phone unlocked when unholstering.  It is not an exaggeration.  As the performance of the memory gets worse, time takes more time.  If I had to make an emergency call, it could be the difference between life and death.  5 minutes is a long time to wait to call 911.  This must be corrected!

    Problem #2:

    The phone must be "reset" once a day to remember "lost."  It is just poor programming.  I don't know if this problem of BB OS or Apps I'm running, but in both cases, this isn't fair.  After the reboot if I go to the display of memory under options I could have about 3-5 MB of free memory.  After a few hours of use, this will almost always '0 '.  I installed MemoryUp Pro, which seems to have extended the period of time between the battery grips, but I still don't think we should ask all owners of BB Storm to pull there battery once a day.  The other answer I get is "do not run so many Apps.  I get all my applications when finished.  Are the only ones that I continue to turn: Blackberry Messenger, Yahoo Messenger, Google Talk and Google Maps (Latitude).  Other applications running, you can't get out (phone, browser).  I tried doesn't work is not the 'optional' tricks and performance has not really much better.

    Problem #3:

    Missed calls.  This is probably related to problems of memory above, but if the storm can be used as a phone, then I should buy something else.  Although the occurrence of this problem has gone down because I installed MemoryUp Pro and perform the reset once a day, sometimes still about 1 to 5 times.  It takes so long for the phone to 'wake up' when a call comes in (especially if it is holstered), at the time where I hit "Answer", a call has been Messaging voice or even worse, the phone doesn't ring at all.  All I get is a notification of appeal lacks the 'unknown number '.

    Problem #4:

    Battery performance could be improved.  The battery that comes with the storm has about 24 hours on 24 with the Radio and Bluetooth.  Really, this isn't a problem if you know it.  I solved the problem by buying a 2700 mAh battery for extended life of BoxWave I use when traveling.  Makes the storm bit bulky, it will give me 2-3 days of life.  I don't know how this could be improved if not

    I hope that the developers of RIM are trying to solve some of these performance issues.  Certain tasks should be a higher priority as they seem to have (like phone & Unlock).

    Sean

    Here is the link...

    http://www.BlackBerryForums.com/General-9500-series-discussion-storm/196496-latest-9530-OS-4-7-0-208...

  • Windows 7 performance issue when he out of the idle situation

    For all the last months when I start windows it will work fine, all programs, IE, as long as I continue to use the computer.

    If I'm away from the computer for an hour or two when I get back to Windows it cannot find all the programs, e-mail,

    Task Manager and even IE cannot stop him, I have to use the power button / stop. Then when I reboot and Windows

    same cycle load all over again.

    I ran Malwarebytes, Combo Fix, an assortment of rootkits even reinstalled Windows nothing helped.

    Anyone have any ideas?

    Thank you, Alan

    Original title: Windows 7 run before oneself times

    Alan

    In Windows 7, use Ctrl + Shift + Esc instead of Ctrl + Alt + Delete. It lets you in the Manager of tasks more quickly. Select Task Manager, performance, resource monitor tab and tab memory. What are the numbers for reserved equipment, in use, modification, sleep and free?

    Is your Windows 7 32-bit or 64-bit? The amount of RAM is installed?

  • Management performance issues and huge catalog

    I shoot architecture and real estate. I turn every day hundreds of frames and my current catalog becomes huge. I'm also starting to see a huge performance hit recently. Last night I just changed until 03:30 because LR would take some time as 20 seconds to perform a single task (like changing a slide or photo of the flag). A lot of time spinning beach ball. I have an external hard drive which I support to locally.

    What I was wondering is if I have everything except the most recent project files copy the disk external then keep it unplugged when I WIP edition if it would help performance issues?

    MacBook Pro (10.9.5) and LR CC running. I optimized my catalog and I also have a Cocktail for Mac running on my system to clean the memory, etc.

    Other ideas of huge catalogs management would be useful. I prefer not to make a new catalog for each customer that I shoot several each day and passing backward between catalog every day would be a pain in the thigh.

    Hi KristianWalker,

    Have you tried to increase/purge your Cache? See How to improve and accelerate the performance of Photoshop Lightroom for more ways to optimize Lightroom.

    Also what size is your catalog at the moment?

    Kind regards

    Assani

  • can I use "Oracle Database 12 c: performance management and Tuning" training for the certification "Oracle Database 11g: Performance Tuning 1Z0-054 '"»

    I took "Oracle Database 12 c: new performance management and Tuning" the oracle University training. Now I would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054 ' exam. Is this possible?

    I guess you ask if you can use the course 12 c as long as the condition of course for the review of 11g.  Over 12 c is not listed as one of the options for the 11 g certification and course requirements are normally specific version - at least with DBA certifications.  If you are already an Oracle OCP DBA, of course, there is no requirement of course for the review of performance tuning.  From what I know the training requirements for other certifications, I do not that you will be able to use it. However, Brandye will provide a definitive answer to whether the course 12 c would be acceptable for 11g certification.

    That said, I'm with John - 12 c review is about a community of 85 to 90% in the review of the 11g and is currently about 20% of the price while it is in beta.  What is the point of trying to cross the releases?

  • Convert flat file to XML document and store it in the Oracle database

    First of all:
    I have a flatfile and created an external table to read this file in Oracle
    Now, I want to create an XML document for each line and insert in the Oracle database, I think as XMLtype.
    Could you please give me some information/steps.

    Second:
    Are there performance issues, because every day, I need to check that the XML document stored in the database against the next file.
    Thank you.

    I won't tell it not in the same words that Marco used, but your solution is impassable and an invitation for bad things to happen.

    Wait miserable performance, and you will not be disappointed.

    The concept of total flexibility works up a code that you depend on has no idea what to do with what is playback.
    Will happen to enough short term and is roughly the equivalent of the absurdity of Java to be independent of the database.

    I would recommend you take the concept and consider, with your data volumes, something more likely to succeed.

  • I downloaded firefox in British English and text in Arabic and English. I live in the UNITED Arab Emirates, but I am English and do not want the Arabic text. How can I just pure English?

    I live in the United Arab Emirates. I chose to download firefox in British English and the Arabic text is also upcoming pages. This means that I do not understand what some of the options are. How can I lose Arabic and make pure English? Can I lose Arabic? Or I have to choose a different search engine?

    If you are talking about Google see this.

    http://www.Google.com/support/bin/answer.py?answer=873

  • Search the text of paragraph style and place them in the new text block with width 50mm

    Hello

    I'm looking for voor a paragraph to find script dat styles and place them in a new text block with width 50 mm.

    Is there a solution?

    Kind regards

    Patrick

    Width: options General of the frame of the text, GBA: fixed width, then 50mm width

    Height: automatic block text size options

    (These two in the dialog box object styles)

  • DEV and quality assurance within the oracle single instance

    We have our DEV and QA in a single instance of oracle. Scripts that refer to table in DEV names will be copied on to QA DEV quality assurance tests for unit tests at the end. DEV, extract us data from 5 source systems, one for each State of the United States, which use the same application, so the names of the source tables are identical, and so in our staging area we have a scheme by the State such as TX, GA, MD and we extract data in tables that are identical to the staging tables. As cross us the aggregation state our scripts should refer to TX.employee and GA.employee in the same sql statement.

    What is the best design for this using SCHEMAS, DATABASES VIRTUAL PRIVATE, VIEWS, SYNONYMS etc.?





    Thank you in anticipation

    Published by: user4900730 on March 22, 2011 14:53

    user4900730 wrote:
    Just for my knowledge, if I found myself in this situation of VIRTUAL PRIVATE databases would make sense here?

    I guess that you could possibly use VPD. But it would create major problems if you have always wanted to make schema changes - you could not add a new column to a table in DEV, for example, without this column is also available in AQ. You could not have code in DEV that does not exist in QA. I guess you could really get fancy and use g 11 edition redefinition to have an edition of dev and qa edition but I wouldn't think how to promote prod code in this kind of environment. In addition, editions is a characteristic of the company (at least, I'm not sure if it is an extra cost option) which would tend to be beyond the solvency of the company trying to save on licensing costs by combining dev & qa in a single server non - VM (and even less in the same instance).

    You may have your application use any dynamic SQL so that dev could use the DEV_TX while QA scheme used the QA_TEX schema and it was only the schema of TX in prod, but that obviously never gets old very quickly. You can create a single set of synonyms the synonym TX_FOO points to DEV_TX. FOO for users of dev and TEST_TX. FOO for test users, but then you will have to remove qualifiers to schema of all your SQL queries.

    In short, an application like you describe trying to share an instance would be a pretty massive undertaking.

    Justin

  • Unable to connect to oracle DB using VBA and you are prompted with the error:-the client components and Oracle network have not been found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or installation of the

    Hello

    It would be helpful to me if someone can give me instructions on setting the version of driver or oracle client required to connect to the the Oracle DB using excel VBA

    My config: -.

    Windows - 8-64 bit

    Excel 2013-32 bit

    The components of the client / I should install, and how to solve the question below...

    I tried the VBA code... but you are prompted with the error message above

    Void Oracle()

    Con Dim As ADODB. Connection

    Dim rs As ADODB. Recordset

    Dim query As String

    The con value = New ADODB. Connection

    Set rs = New ADODB. Recordset

    strCon = "Driver = {Microsoft ODBC for Oracle}"; "." & _

    "CONNECTSTRING = (DESCRIPTION ="& _.

    "(ADDRESS =(PROTOCOL=TCP)"& _

    "(HOST = HostNumber)(PORT=PortNumber))" & _

    "(CONNECT_DATA = (SID = SIDNumber))); UID = username; pwd = password; »

    con. Open (strcon)

    If err. <>Number 0 then

    MsgBox ("Oracle error:" & vbCrLf & err.) Description)

    On the other

    MsgBox ("Oracle DB Connection successful.")

    End If

    End Sub

    I'll replace it with the values of host origin...

    Thanks for the suggestion you till u gave...

    complete solution is in the link below...

    https://itkbs.WordPress.com/2014/07/28/how-to-install-ODBC-driver-for-Oracle-in-Windows-7/

  • chips and paragraph style in the Hebrew text problem

    When you use the paragraph in the text box (Hebrew) style fleas jump to the left when to export or preview.

    any idea? I don't know if it of bug or my own computers

    tried in mac 27 "(2011) and mac book air (2013) both with the mavericks and muse 20141"

    museBug.jpg

    Hello

    This looks like a bug. We will fix it in the next public release. In the meantime, you need to specify the meaning to the elements of the list directly instead of using a paragraph style.

    Sorry for the inconvenience.

    Abhishek

Maybe you are looking for