Because of re-initializing DB helps improve performance

Hi all

Could you please answer my question.

The re-initialization DB helps improve the performance of the DS. We can do this once a year as a preventive measure?

Thanks in advance.

-Bennett

Hello Bhadra,
one of the reasons why an instance of DS 'slowing down' in the long term COULD BE due to the fragmentation/occupation page and/or the presence of headstones (and empty graves: segments with deleted entries) in the underlying DB.
If you have a huge database with a lot of paperwork (ADD/MOD/DEL), it is reasonable that after a long period of time the DB can become slightly fragmented. Depending on the version, there may be different approaches and techniques to overcome this problem: reconditioning is one of them (with a long and troubled history this functionality available for origin 6.x, disabled in 7.x, reactivated in 11.1.1.5).

The reset of the DB, COULD BE a good idea, but it depends strongly on WHAT allows you to re-init: If you are using a LDIF WITH replica information, you will be especially rebuild DB and indexes, in order to reduce the fragmentation at the "level of file system", but you'll always keep a lot of 'waste' (gravestones and tombs) in the DB and the directories themselves.

IMHO the only way to completely refresh the contents of a directory server instance would export to LDIF WITHOUT information of replica and then re-init with whom: this will generate a "new and compact" DB and all clues not only to reduce fragmentation in the "file system level", but also that it will be "purged" all stones tombstones and empty serious left by the previous operations of MOD/DEL.
The significant disadvantage of this approach is that if you are dealing with a replicated environment (which is very common), you will also have to perform a reset of complete topology from the top down.

HTH,
Marco

Tags: Fusion Middleware

Similar Questions

  • Need help with performance android... very slow, help please

    Hello guys

    We are developing an application for android and ios

    I use Adobe Flash CC 2015 - Adobe Air 21

    It of kind of big and complicated coding and a lot of Images, loaders, etc...

    in ios, it is almost ok, but in his crappy slow android!

    I mean, it's it takes like 15 sec to even run the application.

    I put the rendering to GPU mode - I use greensock interpolations.

    I have a lot of vectors, bitmaps, so

    I thought about moving to the framework of starling, do you think it helps?

    If so, what codes should settle there?

    I mean that Starling would I use each unique code gives me for parts?

    Touch listeners? or Chargers? or?

    I need to know these because I don't have a lot of time, and it's a loooot so change

    What is the most emotional in the performance and memory management?

    Please let me know if you have a tip

    It is really important

    Thank you very much

    Sam

    There is no single simple answer to optimize performance.

    However, you can usually improve performance by learning how to use cacheAsBitmap and cacheAsBitmapMatrix and they often give the biggest improvement with the least effort.

    Here is an excerpt from a chapter in development of Flash games: in a Social, Mobile and 3D world

    Chapter 7

    Optimize the performance of the game

    Easier to the more difficult to implement

    1. do not use the filters.

    2. always use the reverse for loops and avoid loops and avoid while loops.

    3. explicitly stop timers for their loan for gc (garbage collection).

    4. use the weak event listeners and remove headphones.

    5. strictly type variable when possible.

    6. explicitly disable interactivity mouse when interactivity smile not necessary.

    7. replace dispatchEvents with callback functions whenever possible.

    8 it would be gc stop sounds for the sounds and SoundChannels.

    9. use the DisplayObject most basic need.

    10. always use cacheAsBitmap and cacheAsBitmapMatrix with air applications (i.e., mobile).

    11. reuse of objects when possible.

    12 Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.

    13. the pool instead of creating objects and gc objects ' ing.

    14. use partial blitting.

    15. use step blitting.

    16 use Stage3D.

    Biggest advantage less

    1. Use the blitting Stadium (if there is enough memory system).
    2. Use Stage3D.
    3. Use partial blitting.
    4. Use cacheAsBitmap and cacheAsBitmapMatrix with mobile devices.
    5. Disable explicitly interactivity mouse when interactivity smile not necessary.
    6. Do not use filters.
    7. Use the most basic necessary DisplayObject.
    8. Reuse objects whenever possible.
    9. Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.
    10. Use reverse for loops and avoid the do loops and while loops.
    11. The pool instead of creating objects and gc'ing.
    12. Strictly, type variable when possible.
    13. Use weak event listeners and remove headphones.
    14. Replace dispatchEvents by the callback functions whenever possible.
    15. Explicitly stop timers on loan for the gc.

    16 stop sounds for the sounds and SoundChannels be gc would be.

  • improve performance on WHERE "ABCDEFGHIJK" AS FIELD | '%'

    Hi all

    I have several tables with a constant number of cases (between 1000 and 1 million) and an indexed field (usually a primary key) I need mark from a PL/SQL function. The database is 11.2.0.2.0 on RedHat.
    To make it simple guess this:
    CREATE TABLE A (A VARCHAR2(20) CONSTRAINT A_PKEY PRIMARY KEY);
    INSERT INTO A VALUES ('ABCD');
    INSERT INTO A VALUES ('ABCDEF');
    INSERT INTO A VALUES ('ABCDEFG');
    INSERT INTO A VALUES ('ABCDEFGH');
    INSERT INTO A VALUES ('AACDE');
    INSERT INTO A VALUES ('AACDEFG');
    INSERT INTO A VALUES ('AACCDDD');
    -- between 1000 and 1 million inserts
    COMMIT;
    ANALYZE TABLE A COMPUTE STATISTICS;
    I need the file with the longest field value corresponding to the front of a particular value, for example "ABCDEFGHIJKLMN". The correct result is 'ABCDEFGH '.
    A simple solution is this:
    SELECT * FROM (
      SELECT * FROM A WHERE 'ABCDEFGHIJKLMN' LIKE A || '%' ORDER BY LENGTH(A) DESC
    ) WHERE ROWNUM = 1;
    The problem is that the DB is not efficiently using the index (EXPLAIN the PLAN said Index Full Table Scan or Full Table Scan).
    My real solution is to query from the longest possible values:
    DECLARE
       RESULT VARCHAR(20);
    BEGIN   
    FOR LEN_PREFIX IN REVERSE 4..LENGTH('ABCDEFGHIJKLMN') LOOP
        BEGIN
            SELECT A INTO RESULT FROM A WHERE A=SUBSTR('ABCDEFGHIJKLMN',1,LEN_PREFIX);
            EXIT;
        EXCEPTION        
            WHEN NO_DATA_FOUND THEN
                RESULT := NULL;
        END;
    END LOOP;
    -- Do something with RESULT (it can be NULL too)
    DBMS_OUTPUT.PUT_LINE('RESULT: ' || RESULT);
    END;
    Is to use the primary key well and the query is compiled (not dynamic, it is located in a Package + PL/SQL function).
    What I don't like is that I'm running several queries (end with one exception) before obtaining the final result of "ABCDEFGH".
    Since I was 50 million to different values of 'ABCDEFGHIJKLMN', to the query it is increase the number of queries per about 5 times (or more)!

    Perhaps another simple solution is to place all the values in a list and then apply the ORDER BY to get the longest value:
    SELECT MAX(A) KEEP (DENSE_RANK LAST ORDER BY LENGTH(A)) FROM A
    WHERE A IN ('ABCDEFGHIJKLMN', 'ABCDEFGHIJKLM', 'ABCDEFGHIJKL', ... , 'ABCD');
    Explain the Plan said SORTING (ITERATOR INLIST (INDEX UNIQUE SCAN))).
    Because I want a compiled query I need to replace this list in a nested table or other objects (not sure which is better).
    But this solution has the disadvantage that any Oracle internally makes a query for each possible value such as the explain Plan tells me. While with the LOOP FOR that above, I'm from the longest to the first found value.

    Here's the code using a nested table:
    CREATE TYPE A_TABLE_TYPE IS TABLE OF VARCHAR2(20);
    /
    DECLARE 
         ALIST A_TABLE_TYPE := A_TABLE_TYPE();
         RESULT VARCHAR(20);
    BEGIN
    FOR LEN_PREFIX IN 4..LENGTH('ABCDEFGHIJKLMN') LOOP
        ALIST.EXTEND;
        ALIST(LEN_PREFIX-3) := SUBSTR('ABCDEFGHIJKLMN',1,LEN_PREFIX);
    END LOOP;
    SELECT MAX(A) KEEP (DENSE_RANK LAST ORDER BY LENGTH(A)) INTO RESULT FROM A
    WHERE A IN (SELECT * FROM TABLE(ALIST));
    -- Do something with RESULT 
    DBMS_OUTPUT.PUT_LINE('RESULT: ' || RESULT);
    END;
    I don't know if a nested query is preferred instead of the DENSE_RANK (I need other fields in the record).
    SELECT * FROM (
      SELECT * FROM A WHERE A IN (SELECT * FROM TABLE(ALIST))) ORDER BY LENGTH(A) DESC
    ) WHERE ROWNUM=1;
    Can I add fields, indexes, or whatever is needed to improve performance. Not sure if a partition is useful since they are small tables in any case (although with the number of records).

    Any help is welcome,

    byeee
    Andrea

    Published by: 888953 on October 3, 2011 05:27
    with tst
    as (select substr('ABCDEFGHIJKLMN',1,4+rownum) val, rownum rn
          from dual
         connect by level<= (length('ABCDEFGHIJKLMN')-4)
        )
      select *
        from (select (select a
                       from a
                      where a=e.val ) res
                from (select val
                        from tst
                       order by rn desc
                     ) e
             )
       where res is not null
          and rownum<=1
    

    Edited by: user6806750 the 03.10.2011 01:29

  • Improved performance in vCenter

    Hello all - I hope that the community can help out me with this one.  It is related to the performance of vCenter.

    VirtualCenter arrived at the point where it's VERY slow almost all the time and I cannot understand why.  As examples, in the computers view models, and virtual VC locks up often for anywhere from 20 to 60 seconds, just by selecting one data center to another.  RVTools almost 20 minutes to come.  Also, if I try to install VeeamONE or VeeamBackup, they are slow slow is not usable and sometimes lower VC (so Veeam is not running - I just wanted to give an example).  Finally, if I restart the server (VM) VirtualCenter, it can sit to 'Apply the settings of the computer' for about 20 minutes.

    I support a vSphere environment that consists of the following

    vCenter: 5.0 Update 1 - running on a virtual of Win2k8R2 computer with 8vCPUs and 20 GB of memory

    SQL Server VC: 2008R2 SQL - running on a VM Win2k8R2 with 8vCPUs and 32 GB of memory

    MUV: VM dedicated

    VC Web: VM dedicated

    * The four run VMs on a dedicated Cluster 2 nodes 'management' which consist of two HP DL380p G8s DualProcs & a lot of memory. No other virtual machines running on the host & loans are all practically zero.

    He currently manages 316 ESXi hosts (all 5.0 Update 1) and about 6000 virtual machines.  When VC was installed, I chose the "Large" scale that we will add more than about 200 guests & about 1000 VMs more next year.  The use of the Cisco Nexus1000v ESXi hosts (excluding the 2 cluster nodes mgmt - those that are on the standard vswitches).

    The hosts and virtual machines are in data centers about 20 & 30 clusters, physically dispersed across the country (US).

    Any thoughts on how to make it better?

    Thanks in advance!

    From there, should I run the script to purge old data from the other KB, or should I expect to see improved performance immediately?

    Yes, but... To do the purge your vCenter Server Service must be stopped.  Always better this offline.  We usually do maintenance on our vCenter DB about each quarter.

  • How views can improve performance

    Hello

    Can someone explain to me how the views can improve the performance

    When DMLoperations perform through VIEW rather than perform DML operations by table.

    Thank you and best regards,

    Ibrahim Sayyed.

    84b09b47-0add-4854-b184-296b3903b009 wrote:

    Hi Ibrahim.

    A view is not much more than a macro which is developed by the SQL engine when running. Generally speaking, views will not improve performance.

    You can take the help of INDEXED VIEWS to improve performance. Then, views have clustered index assigned and, when they do, they will store the temporary results that can speed up queries that result. These views can speed up and simplify the application design.

    What is the INDEXED VIEWS?

  • Improve performance

    {the script to update the data in the tb_log for new added columns
    a. script should update the data for the lot_qy and lot_status columns. This data can come from the tb_s table
    based on the tb_log.trans_id and the user_id
    {b.script should commint all 5 k rows.}


    {DECLARE

    type r1 is record
    (
    v_user_id tb_s.user_id%type
    v_trans_id tb_s.trans_id%type
    v_lot_qy tb_s.lot_qy%type
    v_lot_status tb_s.lot_status%type
    );

    Type ty_tab1 is table of index of r1 by PLS_INTEGER;

    ltab1 ty_tab1;
    l_rec_cnt number (9): = 0;
    BEGIN
    Select user_id
    trans_id
    lot_qy
    lot_status
    Bulk collect
    in ltab1
    of tb_s;
    I'm in ltab1.first... ltab1. Last
    loop

    Update tb_log
    Set lot_qy = ltab1 (i) .v_lot_qy
    lot_status = ltab1 (i) .v_lot_status
    Where user_id = ltab1 (i) .v_user_id
    and trans_id = ltab1 (i) .v_trans_id;

    l_rec_cnt: = l_rec_cnt + 1;

    If l_rec_cnt = Then 5000
    COMMIT;
    l_rec_cnt: = 0;
    End If;

    End loop;


    Commit;

    DBMS_OUTPUT. Put_line (' the lot_qy and lot_status columns are updated successfully :'|| ltab1.) (Count);

    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line(SQLCODE||) e ' || SQLERRM);
    END;
    /}


    {Any1 can help improve the performance records of for1million, now its very slow work, can someone give me best solution}

    Try to change with INSERT WITH sample UPDATE...

    http://psoug.org/reference/array_processing.html

    DECLARE
    CURSOR s_cur IS
    SELECT *.
    OF servers;

    TYPE Fetch_array IS a TABLE OF s_cur % ROWTYPE;
    s_array fetch_array;
    BEGIN
    OPEN s_cur;
    LOOP
    Fetch the s_cur COLLECT LOOSE s_array LIMIT 1000;

    FORALL i IN 1.s_array. COUNTY
    INSERT INTO Server Server2 VALUES s_array (i);

    EXIT WHEN s_cur % NOTFOUND;
    END LOOP;
    CLOSE S_cur;
    COMMIT;
    END;
    /

  • ReceiverThreads JMS connector in 10.1.3.3 layout to improve performance?

    Gurus,

    I use nonBlockingInvoke = true property in bpel.xml to spawn a thread for each parallel flow activity.

    However, the definition of this property I found success in performance. I suspect that the parameter of ReceiverThreads to be the question JMS connector. If ReceiverThreads more could hear in the queue, you can improve performance. (Page 47 of the 10.1.3.1. Performance Document).

    But I'm not able to locate this property in orion-ejb - jar.Xml. This property holds a different file or this property needs to be added (please can you provide the exact code)?

    Thanks a ton!
    SP

    You can find the documentation of ReceiverThreads here:
    http://download.Oracle.com/docs/CD/B32110_01/Web.1013/b28958/JMS.htm
    (Table 4 - 11).
    There is above the table of examples that show how to add a property.
    (A property can be added to orion-ejb-jar. XML or ejb - jar. Good XML if you set the property via a file .xml orion-ejb - jar.xml is recommended because it is a specific OC4J parameter).

    Alternatively, you can set via the annotation. See here:
    http://download.Oracle.com/docs/CD/B32110_01/Web.1013/b28221/actcfgprop.htm

  • How can I improve performance Adobe CS5?

    I got a trial of Adobe Creative Suite 5 on a PC at work and so far it's ok, but it's really trolling. The PC currently has an Intel Core 2 Quad Q9400 2.66 GHz, 4 GB of Ram DDR2, 160 GB HDD, and an integrated Intel graphics chip.

    Add a dedicated graphics card will improve performance of CS5? I read on the forums that Mac users use a 2nd hard drive as a "scratch disk" for the likes of photoshop which improves performance but do not know how to implement that.

    Any ideas would be great.

    The integrated graphics may well take all system RAM. In addition, you enter your operating system but I recommend Win 7 64 bit with a boat load of RAM.

    Fast hard drives with a drive of dedicated work will help, too.

    Bob

  • Super Proxy? Improve performance more?

    http://help.Adobe.com/en_US/AfterEffects/9.0/WSF13D6BED-c53b-408a-B2D6-C8B4205D4FB7a.html

    Apart from these tips from Adobe on improving performance, does anyone know any other tips?... even if it is a purchase of third party. It seemed that just when mandated, the machine still flat enough to annoy me and theyre proxy/lowres images is of course a bit blurry. I guess Im hoping there are some great plugin proxy that allows you to work superfast. The dream is to create animations 3D HD on a laptop. FTP then all in a cluster, and they do most of the work and send me a nice shiny bluray.

    No, sorry. There is no magic recipe. Computational mathematics defeated this dream. AE is a full buffer rendering engine, which means that everything that this process must adapts perfectly to the RAM. So, if your machine is not at the height - well, you know the story. That will change only when AE Gets a converter in mosaic or a user-friendly method to same memory or knows how to deal with a lot more RAM in a 64-bit version. So far, these solutions will have to get by.

    Mylenium

  • What is the best software to improve performance and free hard disk cleanup. I used MacKeeper, but I'm tired of paying annual fees for this service.

    What is the best software to improve performance and free hard drive cleanup? I used MacKeeper, but I'm tired of paying annual fees for this service.

    You shouldn't have these software.  See discussion of Klaus1

    Do not install MacKeeper

    See also this one by Klaus1

    Viruses, Trojans, Malware - and other aspects of Internet Security

  • Please help improve the JavaScript script

    Please help improve the JavaScript scriptA.JPG

    Hello

    to increase or decrease the height of a subform, you use the following syntax in the click of + and - button

    cmdAdd::JavaScript

    _Row1.addInstance (1);

    var b is parseFloat (Subform3.h) - 6.5;.

    If (b<>

    b = 0;

    }

    Subform3.h = b + "mm";

    cmdRemove::JavaScript

    If (_Row1.count > 1) {}

    var b is parseFloat (Subform3.h) + 6.5.;

    Subform3.h = b + "mm";

    _Row1.removeInstance (this.parent.index);

    }

    This should do the trick, I hope this will help you

  • I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    Hello

    I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    First, set the folder of your site.  Go to Site > new Site > tell DW where to save files to the local site.

    http://layersmagazine.com/defining-site-Dreamweaver.html

    Nancy O.

  • How ORA_HASH can improve performance?

    I want to know how ORA_HASH can improve performance.

    Thanks in advance

    Not sure I understand what you want.

    ORA_HASH is just a function of Oracle (often used for the sample data by providing a hash value).

    It's nothing to do with the performance as such.

  • To improve performance, increase the size of the overall storage cache

    I have an ASO in 11.1.2.1 on unix Box

    I get this message in my logs

    "To improve performance, increase the size of the cache of global storage.

    What is the best practice to update the Cache of ASO for dérirez best time

    Please notify

    Right-click on the database in the EA and select Edit-> properties. It is on the first tab, remember to restart the application so that they enter into force

  • Photoshop CS6 hangs after "Help Improve products Adobe" appear

    Photoshop CS6 breaks down or menu turning grey after "Products of Adobe Help Improve" elements. How can I get rid of this message which appears all the time?

    Yes, the black UI is damage to the system caused by MacKepeer.

    It is one that requires reinstallation of the operating system.

Maybe you are looking for