Poor performance in select on CLOB (and actually anything not kept inrow)

Hello,
Creating a table with RAW(16) as primary key (GUID), CLOB
and inserting some hundred-thousands up to 10 million records.
Selects on this table are a randomly chosen (by sample query) 500-1000 ids from the table, then fetching
the CLOB data, takes about 16-20 secs for 1000 records.
Anyone have a clue on how to make these kind of selects faster. We are aiming at 5 seconds top for this kind of query.
Or is it too much to expect ?
The select itself is done as join which temporary table containing the id (which is better than just using the IN operator).
Regards,
Rani

hi
I alsow have a problem when i work with clobs , even doing the 10046 trace , there is still time un-accounted for , see my test case at [clob test case|http://forums.oracle.com/forums/message.jspa?messageID=3474400#3474400] although its just inserting/appending the clob.

Similar Messages

  • HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says  that movies I add are in library.Which I cant add

    HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says "feature films and home movies you add to itunes appear in movies in your iTunes library. To play a movie, just double click it". And below are two options for Downloading movies from store and rent movies. Please help.

    I get the exactly the same problem with win 7, i rang apple support who suggested i try another machine/or create another account on my machine???? why should i, stupid ipad 3rd gen is now sitting here un syncable, apple support ....tut tut very poor support, its a shame im out of the 7 day period otherwise this ipad would be going straight back, older versions of itunes worked fine, some one must know a fix for this??

  • HT2534 This article is outdated, this option is not available I MUST select a card and I DO NOT want that!

    This article is outdated, this option is not available I MUST select a card and I DO NOT want that!

    - I do not know about other countries. The article does not say anything about other countries. Some Apple article specifically say that things are not available in all countries.
    - Are you following the instructions exactly? You also have to use an and email address that you have not used with Apple before.

  • Poor performances on tables FAGL_011ZC, FAGL_011PC and FAGL_011VC

    We note from some time on a very very poor performances of some programme accessing these tables.
    The tables are very small, still standard.
    We see these tables does not have particular indexes, and their buffering is "allowed but disabled".
    In you opinion can we activate the buffering of these tables ? Are there controindications ?
    Our system is ECC5 quite aligned as SP level.

    Client is looking upon TDMS (Test Data Migration Server) to replicate the PRD data into lower systems.

  • Target cost and actual cost not picking in production order

    Hello,
    The target cost and actual cost is not updating in production order when I display it in CO03 in cost analysis.
    Even though we have maintained planned price in KP26.
    Please suggest how it can be populated.
    Best Regards,
    Tapan

    Hi Tapan
    For Target cost
    1. Your std cost must be released before Goods Receipt
    2. There must be goods receipt posted on the prod order
    3. You must calculate variances in KKS1/2
    For Actual Cost
    1. Post Goods receipt and Goods issues
    2. See if any mat movements are pending in COGI
    3. Ensure that operation is confirmed in PP and no entry is lying in COFC
    Regards
    Ajay M

  • Oracle: slow performance with SELECT using ojdbc14 and connection pooling

    Hello,
    i'm working hard the last days to solve a performance problem with our customer using a oracle 10g database. For testing I used our oracle 9.2.0.1.0 database which shows the same symptoms. All doing solved nothing: the performance while using this oracle is much slower than other databases. This result I cannot trust and so I need some advice. What is missing to improve the performance on the java side?
    The webapplication I use runs fast on MySQL 4.x and SQLServer 2000, but on the above mentioned Oracle it was always 4 times slower. The webapplication uses a lot of simple SELECT-Statements without complicated joins and so on (because it should run on many different databases). Doing some days of creating tests within this webapplication, I was not able to find any entrance point for a change. All databases server I'm using, having only the default configurations after a common installation.
    To reduce the complexity I wrote a simple java application with connection pooling using only the latest libraries from apache-commons(dbcp, pool), and the latest ojdbc14 for oracle 9.2.
    First the results than the code: MySQL needed less than 1000 millisecond, SQLServer around 1000 milliseconds and Oracle over 2000 milliseconds. I stopped pooling and the results are for Oracle even worse: over 18000 milliseconds (mysql:2500, sqlserver:4100).
    I changed the classes for Oracle and used the class oracle.jdbc.pool.OracleConnectionCacheImpl from the ojdbc14-library. No difference (around 100 milliseconds more or less).
    The only Select-Statement works on this table, which has one index on HICTGID.
    It contains 259 entrances.:
    CREATE TABLE HIERARCHYCATEGORY (
      HICTGID                 NUMBER (19)   NOT NULL,
      HICTGLEVEL              NUMBER (10)   NOT NULL,
      HICTGEXTID              NUMBER (19)   NOT NULL,
      HICTGEXTPARENTID        NUMBER (19)   NOT NULL,
      HICTGNAME               VARCHAR2(255) NOT NULL
    );The application simply loops through this table using
    SELECT Hictgid, Hictgname FROM HIERARCHYCATEGORY WHERE HICTGID = ?, but I always open a connection before this query and closes this connection afterwards. So I use the pooling as much as possible. That's all SQL I'm using.
        protected static DataSource setupDataSource(String sDriver, String sUrl, String sUser, String sPwd) throws SQLException {
            BasicDataSource ds = new BasicDataSource();
            ds.setDriverClassName(sDriver);
            ds.setUsername(sUser);
            ds.setPassword(sPwd);
            ds.setUrl(sUrl);
            // The maximum number of active connections:
            ds.setMaxActive(3);
            // The maximum number of active connections that can remain idle in the pool,
            // without extra ones being released, or zero for no limit:
            ds.setMaxIdle(3);
            // The maximum number of milliseconds that the pool will wait (when there are no available connections)
            // for a connection to be returned before throwing an exception, or -1 to wait indefinitely:
            ds.setMaxWait(3000);    
            return ds;
        }I can switch by using external properties between three databases (oracle, mysql and sqlserver) and if I want I can switch pooling off. And all actions I'm interested are logged by Log4J.
        public static Connection getConnection() throws SQLException {
            Connection result = null;
            String sJdbcDriver = m_oJbProp.getString("jdbcDriver");
            String sJdbcUrl = m_oJbProp.getString("databaseConnection");
            String sJdbcUser = m_oJbProp.getString("dbUsername");
            String sJdbcPwd = m_oJbProp.getString("dbPassword");
                try {
                    if (m_oJbProp.getString("useConnectionPooling").equals("true")) {
                         if (log.isDebugEnabled()) {
                              log.debug("ConnectionPooling true");
                        if(null == m_ds) {
                            m_ds = setupDataSource(sJdbcDriver,sJdbcUrl,sJdbcUser,sJdbcPwd);
                              if (log.isDebugEnabled()) {
                                   log.debug("DataSource created");
                        result = m_ds.getConnection();
                    } else {
                        // No connection pooling:
                         if (log.isDebugEnabled()) {
                              log.debug("ConnectionPooling false");
                        try {
                            Class.forName(sJdbcDriver);
                            result = DriverManager.getConnection(sJdbcUrl, sJdbcUser, sJdbcPwd);
                        } catch (ClassNotFoundException cnf) {
                            log.error("Exception: Class Not Found. ", cnf);
                            System.exit(0);
    (.. ErrorHandling ...)Here is the code fragment which is doing the work:
                     StringBuffer sb = new StringBuffer();
                while (lNextBottom <= lNextCeiling) {
                     con = getConnection();
                     innerSelStmt = con.prepareStatement("SELECT Hictgid, Hictgname FROM HIERARCHYCATEGORY WHERE HICTGID = ?");
                     innerSelStmt.setLong(1, lNextBottom);
                     rsInner = innerSelStmt.executeQuery();
                     if ((rsInner != null) && (rsInner.next())) {
                         sb.append(rsInner.getLong(1) + ", " + rsInner.getString(2) + "\r");
                          if (log.isDebugEnabled()) {
                               log.debug("Inner Statement: " + rsInner.getLong(1) + "\r");
                     rsInner.close();
                     con.close();
                     lNextBottom++;
                 if (log.isInfoEnabled()) {
                      log.info("\rResult values: Hictgid, Hictgname \r");
                      log.info(sb.toString());
                 }and the main method:
        public static void main(String[] args) {
            try {
                 long lStartTime = System.currentTimeMillis();
                 JdbcBasic oJb = new JdbcBasic();
                 boolean bSuccess = false;
                 bSuccess = oJb.getHierarchycategories();
                 if (log.isInfoEnabled()) {
                      log.info("Running time: " + (System.currentTimeMillis() - lStartTime));
                 if (null != m_ds) {
                     printDataSourceStats(m_ds);
                      shutdownDataSource(m_ds);
                      if (log.isInfoEnabled()) {
                           log.info("Datasource closed.");
             } catch (SQLException sqe) {
                  log.error("SQLException within  main-method", sqe);
        }My database values are
    databaseConnection=jdbc:oracle:thin:@SERVERDB:1521:ora
    jdbcDriver=oracle.jdbc.driver.OracleDriver
    databaseConnection=jdbc:jtds:sqlserver://SERVERDB:1433/testdb
    jdbcDriver=net.sourceforge.jtds.jdbc.Driver
    databaseConnection=jdbc:mysql://localhost/testdb
    jdbcDriver=com.mysql.jdbc.Driver
    dbUsername=testusr
    dbPassword=testpwdThanks for your reading and maybe for your help.

    A few comments.
    There is of course another difference between your test cases then just the database. There is also the driver. And I suspect that in at least the case with the jtds driver it is helping you along where you are doing something silly and the Oracle driver is not.
    Before I explain the next part I would say the speed differences between MS-SQL and MySQL look about right I think you are aiming here for MS-SQL level performance not MySQL. (For a bunch of reasons MySQL is inherently faster but there are MANY drawbacks as well which have been well discussed on previous threads)
    Here is where I believe your problem lies
    while (lNextBottom <= lNextCeiling) {
                     con = getConnection();
                     innerSelStmt = con.prepareStatement("SELECT Hictgid, Hictgname FROM HIERARCHYCATEGORY WHERE HICTGID = ?");
                     innerSelStmt.setLong(1, lNextBottom);
                     rsInner = innerSelStmt.executeQuery();
                     if ((rsInner != null) && (rsInner.next())) {
                         sb.append(rsInner.getLong(1) + ", " + rsInner.getString(2) + "\r");
                          if (log.isDebugEnabled()) {
                               log.debug("Inner Statement: " + rsInner.getLong(1) + "\r");
                     rsInner.close();
                     con.close();
                     lNextBottom++;
                 }There at least four things that are wrong with above.
    1) Why are you preparing the statement INSIDE the loop. Let us for a moment say that the loop will spin 100 times. That means that you are preparing the same statement 100 times. This is bad. It is also very relevant because for example the Jtds driver is going to be caching the prepared statements you make so that actually while you try and prepare it 100 times it only actually does it once... but in Oracle I don't know what it is doing for sure but if it is preparing on each pass well than that bit of it is going take 100 times longer then it should.
    2) You are opening and closing the connection on each pass through the loop... also a terrible idea. You need to fix this first so that you can repeatedly use the same prepared statement.
    3) Why are you looping in the first place? More on this later.
    4) Where do you close the PreparedStatement? It doesn't look like you do.
    Okay so for starters your loop should look a lot more like this...
    code]
    con = getConnection();
    innerSelStmt = con.prepareStatement("SELECT Hictgid, Hictgname FROM HIERARCHYCATEGORY WHERE HICTGID = ?");
    while (lNextBottom <= lNextCeiling) {
    innerSelStmt.setLong(1, lNextBottom);
    rsInner = innerSelStmt.executeQuery();
    if ((rsInner != null) && (rsInner.next())) {
    sb.append(rsInner.getLong(1) + ", " + rsInner.getString(2) + "\r");
    rsInner.close();
    lNextBottom++;
    innerSelStmt.close();
    con.close();
    I think the code above (and you can put your debug stuff back if you want) which uses ONE connection and ONE prepared Statement will improve your performance dramatically.
    The other question though I would as is why in the hell you are doing 100 or whatever number of queries anyway. This can be done all in ONE query which again will improve performance.
    Your query and such should look like this I think.
    String sql = "SELECT Hictgid, Hictgname FROM HIERARCHYCATEGORY WHERE HICTGID >=? AND HICTGID<=?";
    PreparedStatement ps = conn.prepareStatement(sql);
    ps.setLong(1,lNextBottom );
    ps.setLong(2,lNextCeiling);
    ResultSet rs = ps.executeQuery();
    while(rs.next()){
      // your appending to string buffer code goes here
    }and I can't understand why you're not doing that in the first place.

  • Performance problems selecting form vbak and vbap

    Hello,
    I am try to select data from the vbak and vbap databasetables. The tables have more than a million of entries. I tried my best with two related selectstatements and the 'FOR All ENTRIES' syntax. The query takes more than 30 minutes. Is there a more efficient way than the following query, for example an inner join?. Tanks.
    Regards, Lars.
    FORM firstselect.
       SELECT  kvkorg kvtweg kspart kauart k~kunnr
              kvsbed kaugru kvbeln kmandt
      FROM VBAK AS k
      INTO CORRESPONDING FIELDS OF TABLE t_outtab1
      WHERE  k~vkorg IN s_vkorg AND
             k~vtweg IN s_vtweg AND
             k~spart IN s_spart AND
             k~auart IN s_auart AND
             k~kunnr IN s_kunnr AND
             k~vsbed IN s_vsbed AND
             k~augru IN s_augru AND
             k~vbeln IN s_vbeln.
    ENDFORM.
    FORM secondselect.
         SELECT  pposnr pvstel p~werks
                  pabgru pmatnr p~kwmeng
                  pzzurmeng pvrkme pmandt pvbeln
          FROM VBAP AS p
          INTO CORRESPONDING FIELDS OF TABLE t_outtab2
              FOR ALL ENTRIES IN t_outtab1
          WHERE
              p~vstel IN s_vstel AND
              p~werks IN s_werks AND
              p~matnr IN s_matnr AND
              p~abgru IN s_abgru AND
             t_outtab1-mandt = p~mandt AND
              p~vbeln = t_outtab1-vbeln.
    ENDFORM.

    FORM firstselect.
    SELECT vkorg
           vtweg
           spart
           auart
           kunnr
           vsbed
           augru
           vbeln
           mandt
           FROM VBAK 
           INTO TABLE t_outtab1
    WHERE vkorg IN s_vkorg AND
    vtweg IN s_vtweg AND
    spart IN s_spart AND
    auart IN s_auart AND
    kunnr IN s_kunnr AND
    vsbed IN s_vsbed AND
    augru IN s_augru AND
    vbeln IN s_vbeln.
    ENDFORM.
    FORM secondselect.
    SELECT posnr
           vstel
           werks
           abgru
           matnr
           kwmeng
           zzurmeng
           vrkme
           mandt
          vbeln
      FROM VBAP TABLE t_outtab2
    FOR ALL ENTRIES IN t_outtab1
    WHERE  vbeln = t_outtab1-vbeln
    AND vstel IN s_vstel AND
    werks IN s_werks AND
    matnr IN s_matnr AND
    abgru IN s_abgru .
    ENDFORM.
    Hope this helps u.
    I will get u back with more answers.
    One more important thing see that the order which u r using in the select query is the same as that in the table this will affect the performs a lot.
    <i><b>The first field should be the vbeln and then see the order and change that first and the same order should be in the internal table taht u r defining also.
    If u do these things surely u can improve performance.</b></i>
    Message was edited by: Judith Jessie Selvi

  • Performance on Select Single&Write  AND Select*(For All Entries)&Read&Write

    Hi Experts,
    I got a code review problem & we are in a argument.
    I need the best performance code out of this two codes. I have tested this both on 5 & 1000 & 3000 & 100,000 & 180,000 records.
    But still, I just need a second opinion of experts.
    TYPES : BEGIN OF ty_account,
            saknr   TYPE   skat-saknr,
            END OF ty_account.
    DATA : g_txt50      TYPE skat-txt50.
    DATA : g_it_skat    TYPE TABLE OF skat,       g_wa_skat    LIKE LINE OF g_it_skat.
    DATA : g_it_account TYPE TABLE OF ty_account, g_wa_account LIKE LINE OF g_it_account.
    Code 1.
    SELECT saknr INTO TABLE g_it_account FROM skat.
    LOOP AT g_it_account INTO g_wa_account.
      SELECT SINGLE txt50 INTO g_txt50 FROM skat
        WHERE spras = 'E'
          AND ktopl = 'XXXX'
          AND saknr = g_wa_account-saknr.
      WRITE :/ g_wa_account-saknr, g_txt50.
      CLEAR : g_wa_account, g_txt50.
    ENDLOOP.
    Code 2.
    SELECT saknr INTO TABLE g_it_account FROM skat.
    SELECT * INTO TABLE g_it_skat FROM skat
      FOR ALL ENTRIES IN g_it_account
          WHERE spras = 'E'
            AND ktopl = 'XXXX'
            AND saknr = g_it_account-saknr.
    LOOP AT g_it_account INTO g_wa_account.
      READ TABLE g_it_skat INTO g_wa_skat WITH KEY saknr = g_wa_account-saknr.
      WRITE :/ g_wa_account-saknr, g_wa_skat-txt50.
      CLEAR : g_wa_account, g_wa_skat.
    ENDLOOP.
    Thanks & Regards,
    Dileep .C

    Hi Dilip.
    from you both the code I have found that you are selecting 2 diffrent fields.
    In Code 1.
    you are selecting SAKNR and then for these SAKNR you are selecting TXT50 from the same table.
    and in Code 2 you are selecting all the fields from SAKT table for all the values of SAKNR.
    I don't know whats your requirement.
    Better you declare a select option on screen and then fetch required fields from SAKT table for the values entered on screen for SAKNR.
    you only need TXT50 and SAKNR fields.
    so declare two types one for SAKNR and another for TXT50.
    Points to be remember.
    1. while using for all entries always check the for all entries table should not be blank.
    2. you will have to fetch all the key fields in table while applying for all entries,
        you can compare key fields with a constant which is greater than initial value.
    3. while reading the table sort the table by the field on which you are going to read it.
    try this:
    TYPES : BEGIN OF ty_account,
    saknr TYPE skat-saknr,
    END OF ty_account.
    TYPES : begin of T_txt50,
          saknr type saknr,
          txt50 type txt50,
    end of t_txt50.
    DATA: i_account type table of t_account,
          w_account type t_account,
          i_txt50 type table t_txt50,
          w_txt50 type t_txt50.
    select SAKNR from SKAT into table i_account.
    if sy-subrc = 0.
    sort i_account by saknr.
    select saknr txt50 from SKAT into table i_txt50
    for all entries in i_account
    where SAKNR = i_account-SAKNR
    here mention al the primary keys and compare them with their constants.
    endif.     
    Note; here you need to take care that, you will have to fetch all the key fields in table i_txt50.
    and compare those fields with there constants which should be greater than initial values.
    they should be in proper sequence.
    now for writing.
    loop at i_account into w_account.
    clear w_txt50.
    sort i_txt50 by saknr.
    read table i_txt50 into w_txt50 with key SAKNR = w_account-saknr
    if sy-subrc = 0.
    write: w_txt50-saknr, w-txt50-txt50.
    clear w_txt50, w_account.
    endif.
    endloop.
    Hope it wil clear your doubts.
    Thanks
    Lalit

  • Instability and Poor Performance with 11 11/11 and 11.1

    I've upgraded an OpenSolaris install to Solaris 11.1 over time and ever since I hit Solaris 11 11/11 and Solaris 11.1 my system has been unstable and slow (especially ZFS and GDM (which I had to disable in 11/11.1 because it was using too much CPU)). Whenever I shut down in Solaris 11/11.1 it causes a kernel panic. I run this command to shutdown:
    /usr/sbin/shutdown -y -g 60 -i 5
    and it causes this (then the system auto-restarts -- it never completes the shutdown):
    TIME UUID SUNW-MSG-ID
    Jan 28 2013 23:19:14.682124000 54fbe302-2309-6f14-8d7f-c81e9c3369b7 SUNOS-8000-KL
    TIME CLASS ENA
    Jan 28 23:18:29.9322 ireport.os.sunos.panic.dump_pending_on_device 0x0000000000000000
    nvlist version: 0
    version = 0x0
    class = list.suspect
    uuid = 54fbe302-2309-6f14-8d7f-c81e9c3369b7
    code = SUNOS-8000-KL
    diag-time = 1359433153 925385
    de = fmd:///module/software-diagnosis
    fault-list-sz = 0x1
    __case_state = 0x1
    topo-uuid = 78f32799-20fb-446f-b758-f24f4197b812
    fault-list = (array of embedded nvlists)
    (start fault-list[0])
    nvlist version: 0
    version = 0x0
    class = defect.sunos.kernel.panic
    certainty = 0x64
    asru = sw:///:path=/var/crash/opensolaris/.54fbe302-2309-6f14-8d7f-c81e9c3369b7
    resource = sw:///:path=/var/crash/opensolaris/.54fbe302-2309-6f14-8d7f-c81e9c3369b7
    savecore-succcess = 0
    os-instance-uuid = 54fbe302-2309-6f14-8d7f-c81e9c3369b7
    panicstr = deadman: timed out after 120 seconds of clock inactivity
    panicstack = fffffffffb9fcc56 () | genunix:cyclic_expire+ac () | genunix:cyclic_fire+76 () | unix:cbe_fire+65 () | unix:av_dispatch_autovect+74 () | unix:dispatch_hilevel+1f () | unix:switch_sp_and_call+13 () | unix:do_interrupt+f2 () | unix:cmnint+ba () | unix:mach_cpu_pause+21 () | unix:cpu_pause+7f () | unix:thread_start+8 () |
    crashtime = 1359432916
    panic-time = January 28, 2013 11:15:16 PM EST EST
    (end fault-list[0])
    fault-status = 0x1
    severity = Major
    __ttl = 0x1
    __tod = 0x51074dc2 0x28a862e0
    Additionally, I've seen a huge slowdown in ZFS performance (I kept the old boot environments for the previous versions so I went back and pulled these #s using dd after I upgraded to Solaris 11.1):
    WRITE:
    OpenSolaris SNV134     211 MB/s
    Solaris 11 Express     194 MB/s
    OpenIndiana 151a7     215 MB/s
    Solaris 11 11/11     182 MB/s
    Solaris 11.1          150 MB/s
    READ:
    OpenSolaris SNV134     470 MB/s
    Solaris 11 Express     499 MB/s
    OpenIndiana 151a7     417 MB/s
    Solaris 11 11/11     177 MB/s
    Solaris 11.1          276 MB/s
    Lastly, there's been a couple times where just running tests on my zfs pool would cause a kernel panic (like dd or bonnie++):
    TIME UUID SUNW-MSG-ID
    Jan 26 2013 18:40:21.947381000 5a9c2174-51bd-6af5-cda3-ceb12d0591bb SUNOS-8000-KL
    TIME CLASS ENA
    Jan 26 18:39:33.6420 ireport.os.sunos.panic.dump_pending_on_device 0x0000000000000000
    nvlist version: 0
    version = 0x0
    class = list.suspect
    uuid = 5a9c2174-51bd-6af5-cda3-ceb12d0591bb
    code = SUNOS-8000-KL
    diag-time = 1359243621 817586
    de = fmd:///module/software-diagnosis
    fault-list-sz = 0x1
    __case_state = 0x1
    topo-uuid = 08cec1f5-1959-c812-85e3-fa1bb969b7a3
    fault-list = (array of embedded nvlists)
    (start fault-list[0])
    nvlist version: 0
    version = 0x0
    class = defect.sunos.kernel.panic
    certainty = 0x64
    asru = sw:///:path=/var/crash/opensolaris/.5a9c2174-51bd-6af5-cda3-ceb12d0591bb
    resource = sw:///:path=/var/crash/opensolaris/.5a9c2174-51bd-6af5-cda3-ceb12d0591bb
    savecore-succcess = 0
    os-instance-uuid = 5a9c2174-51bd-6af5-cda3-ceb12d0591bb
    panicstr = BAD TRAP: type=e (#pf Page fault) rp=fffffffc801bba00 addr=28 occurred in module "zfs" due to a NULL pointer dereference
    panicstack = unix:die+105 () | unix:trap+153e () | unix:cmntrap+e6 () | zfs:arc_hash_remove+28 () | zfs:arc_evict_from_ghost+c0 () | zfs:arc_adjust_ghost+4e () | zfs:arc_adjust+51 () | zfs:arc_reclaim_thread+1aa () | unix:thread_start+8 () |
    crashtime = 1359232124
    panic-time = January 26, 2013 03:28:44 PM EST EST
    (end fault-list[0])
    fault-status = 0x1
    severity = Major
    __ttl = 0x1
    __tod = 0x51046965 0x3877e308
    What could be causing all these issues -- why are the OpenSolaris and Solaris 11 Express installs faster/more stable? Is it a hardware incompatibility issue? How can I determine the root cause and fix it?
    Thanks.
    Edited by: RavenShadow on Feb 10, 2013 10:17 AM

    Alan, if the cause is a 5400 RPM drive, I'm not sure why when I boot into my older BEs for Opensolaris/Solaris 11 Express/OpenIndiana I see much better ZFS performance. After I upgraded to 11.1 I noticed slowness and went back to my old Boot Environments and generated the dd read/write speeds I put in the top post, so it's not like any of the hardware changed during that hour I was bench marking between BEs nor did the amount of space used in my zpool change (it is mostly empty and I deleted everything that I wrote with dd after each test).
    echo ::memstat | mdb -k
    Page Summary Pages MB %Tot
    Kernel 184943 722 18%
    ZFS File Data 99400 388 9%
    Anon 30595 119 3%
    Exec and libs 1434 5 0%
    Page cache 6011 23 1%
    Free (cachelist) 10061 39 1%
    Free (freelist) 715746 2795 68%
    Total 1048190 4094
    RAM usage doesn't seem that bad.
    Edited by: RavenShadow on Feb 13, 2013 3:46 AM

  • Poor performance with 100,000+ songs and 20+ smart playlists

    Collecting music is my thing. I buy and rip a dozen CDs a week in both Apple Lossless and AAC format. I listen to Apple Lossless on my home systems and sync the AAC versions to my iPhone for car listening.
    I have the fastest computer Apple has ever made, an 8-core 3.2ghz Xeon Mac Pro. I have multiple eSATA 1.5TB drives with a RocketRaid Mini-SAS to PCI Express SATA II controller. My iTunes directory and music are all on external drives.
    Problem is, whenever I'm tagging tracks, deleting tracks, or even just changing the name of a song, I constantly get the spinning beach ball for a couple of seconds before control returns to me. This is highly annoying. I understand with every change, iTunes probably has to check to update all my Smart Playlists (I need to keep Live Updating turned on), but with an 8-core Xeon, why is this an issue? This machine can edit HD video but can't handle a big chunk of text processing? Is iTunes not multi-threaded to use all 8 cores?
    If anyone can help me speed up my process, I would save probably an hour a day.

    hello
    i dont have an answer to the question since i am struggeling with a similar problem. my library is on an external FW 800, 500 GB+. I have done some test and i found that itunes never uses more than 20% of my CPU power, even if itunes is all the OS is handling.
    so my conclusion is, that the priority level is not high enough, cos i believe as you also prove with your mac pro machine, the power isnt the issue, but the priority set for the CPU to handle itunes.
    i read that the only way to change prio levels in os x is to use smtg called "renice" and fool around in terminal. i am too novice to try anything like that, so i m left with the beachball and hope for an itunes pro or a support for large libs in an update
    cheers

  • How to improve performance of select query when primary key is not referred

    Hi,
    There is a select query where we are unable to refrence primary key of the tables:
    Since, the the below code is refrensing to vgbel and vgpos fields instead of vbeln and posnr..... the performance is very  slow.
    select vbeln posnr into (wa-vbeln1, wa-posnr1)             
           from lips                                            
           where ( pstyv ne 'ZBAT'    
               and pstyv ne 'ZNLN' )  
               and vgbel = i_vbap-vbeln                         
               and vgpos = i_vbap-posnr.                        
    endselect.                                                 
    Please le t me know if you have some tips..

    hi,
    I hope you are using the select statement inside a loop ...endloop get that outside to improve the performance ..
    if not i_vbap[] is initial.
    select vbeln posnr into table it_lips
    from lips
    for all entries in  i_vbap
    where ( pstyv ne 'ZBAT'
    and pstyv ne 'ZNLN' )
    and vgbel = i_vbap-vbeln
    and vgpos = i_vbap-posnr.
    endif.

  • Select plug-ins and soft synths (not apple) in logic express

    new to logic express.... trying to select my soft synths like arturia cs80 and native absynth. these show up in the audio units manager screen, but i don't know how to select these in a track.
    please advise, any help is appreciated

    In the Software Instrument channel strip, click-hold on an Input slot, then choose your instrument plugin from the menu.
    Note: this works on Instrument tracks only, so make sure you have an instrument track (coz input menu for an audio track would look different and ask you to choose from available audio inputs).
    Reading the Manual about basic operations in Logic may be also helpful.

  • I select a bookmark and it will not open in new tab even though i have that option selected

    I have selected the option to open bookmark in new tab but it doesnt do that

    Hi, as far as I know, bookmarks cannot be opened automatically in a new tab. However this Add-on - [https://addons.mozilla.org/en-US/firefox/addon/open-bookmarks-in-new-tab/?src=search Open Bookmarks in New Tab] will do it for you.
    Alternatively, you can click the mouse wheel. Or, right click > Open in a New Tab. Or, hold down Ctrl when you click.
    Hope that helps.

  • TB 31.1.2 everything I write is bolded. Font selected is calibri and bold is not selected

    TB is set to autoupdate. Last update I got was 31.1.2. Now when I compose a message it appears bolded even though that option is not set.

    Please post this info:
    '''1. '''In Thunderbird
    Help > Troubleshootin Information
    do not select / uncheck 'include account name'
    click on 'copy text to clipboard'
    paste info into this question.
    '''2. '''Tools > Options > Display > Formatting Tab
    Fonts & Colours:
    Default font: ??? what is selected here?
    '''3.''' Tools > Options > Composition
    HTML
    Font : ??? Is this set as ' Variable Width'
    '''4. '''When you say you select 'Calibri' is this done at the time of composing using the Formatting Bar option?

  • Performance between CLOB and VARCHAR2

    I would like to know if there is any really performance issues between CLOB and VARCHAR2 data types?
    In particular, why would it not be better to declare all large text items as CLOB rather than VARCHAR2(4000) in a table? For example, if I am going to store about a page of text, in a table, why not standardize of CLOB? Only use VARCHAR2 for small text items.

    I doubt that there would be much, if any, performance difference between a CLOB and a VARCHAR2. By default, Oracle will store CLOBS directly in the table if they are less than about 4000 bytes, so the effect would be the same as a VARCHAR2(4000).
    The advantage of VARCHAR2(4000) over a CLOB is that you document and enforce the maximum size of the field. If you know that no test item will exceed 4000 bytes, then I would store it as a VARCHAR2, because if they can store more, someone will.
    A possible disadvantage of using CLOBS instead of VARCHAR2(4000) is that when you declare a column as a CLOB, Oracle creates the two lob segments whether or not they are needed to actually store data. So, depending on how many VARCHAR2(4000) columns you change to CLOBS without needing to store more than 4000 bytes, you can potentially waste a significant amount of space.
    SQL> CREATE TABLE t_clob (id NUMBER, descr CLOB);
    Table created.
    SQL> SELECT segment_name, index_name
      2  FROM dba_lobs
      3  WHERE table_name = 'T_CLOB';
    SEGMENT_NAME                   INDEX_NAME
    SYS_LOB0000136329C00002$$      SYS_IL0000136329C00002$$
    SQL> SELECT segment_name, segment_type, blocks
      2  FROM dba_segments
      3  WHERE segment_name in ('SYS_LOB0000136329C00002$$','SYS_IL0000136329C00002$$')
    SEGMENT_NAME                   SEGMENT_TYPE           BLOCKS
    SYS_IL0000136329C00002$$       LOBINDEX                   64
    SYS_LOB0000136329C00002$$      LOBSEGMENT                 64HTH
    John

Maybe you are looking for

  • Commission report

    Hi Experts, Do you have any sample of commisson report in SD? Or, any FMs to get commisson? Thanks a lot. Yu

  • How can i delete Purchase Requisition  item

    how can i delete Purchase Requisition  item can any one  hepl me thanks in advanced.

  • Closing old PO's API

    Hi, I am new to oracle apps and coding and am working on the API to close old PO's.When I tried to execute the API it executes without errors but it is actually not closing the PO.Also how can i see what x_return_code holds?Pls help ASAP DECLARE x_re

  • ABAP native Events

    HI, In any of the typical ABAP programs, we have some events that are native to ABAP runtime (e.g., initialization, start-of-selection,etc),now, i need to know that on which order these events will get executed. also below I've given the events just

  • Unlock Blackberry over French provider QUICK !!

    Hello there, I'm a French user of a BlackBerry Curve 9300. My provider is "SFR" and my phone is "blocked" under this provider. I'm leaving France for Spain for 6 months next week and I ABSOLUTELY need to unlock the Blackberry so that I could use it a