Why index creation is slower on the new server?

Hi there,
Here is a bit of background/env info:
Existing prod server (physical): Oracle 10gR2 10.2.0.5.8 on ASM
RAM: 96GB
CPUs: 8
RHEL 5.8 64bit
Database size around 2TB
New server:
VMWare VM with Oracle 10gR2 10.2.0.5.8 on ASM
RAM 128GB
vCPUs: 16
RHEL 5.8 64bit
Copy of prod DB (from above server) - all init param are the same
I noticed that Index creation is slower on this server. I ran following query:
SELECT name c1, cnt c2, DECODE (total, 0, 0, ROUND (cnt * 100 / total)) c3
  FROM (SELECT name, VALUE cnt, (SUM (VALUE) OVER ()) total
          FROM v$sysstat
         WHERE name LIKE 'workarea exec%')
C1
C2
C3
workarea executions - optimal
100427285
100
workarea executions - onepass
2427
0
workarea executions - multipass
0
0
Following bitmap index takes around 40mins in prod server while it takes around 2Hrs on the VM.
CREATE BITMAP INDEX MY_IDX ON
MY_HIST(PROD_YN)  TABLESPACE TS_IDX PCTFREE 10
STORAGE(INITIAL 12582912 NEXT 12582912 PCTINCREASE 0 ) NOLOGGING
This index is created during a batch-process and the dev team is complaining of slowness of the batch on new server. I have found this one statement responsible for some of the grief. There may be more and I am investigating.
I know that adding "parallel" option may speedup but I want find out why is it slow on the new server.
I tried creating a simple index on a large table and it took 2min in prod and 3.5min on this VM. So I guess index creation is slower on this VM in general. DMLs (select/insert/delete/update) seem to work with better elapsed time.
Any clues what might be causing this slowness in index creation?
Best regards

I have been told that the SAN in use by the VM has capacity of 10K IOPS. Not sure of this info helps. I don't know more than this about the storage.
What else do I need to find out? Please let me know - I'll check with my Sys Admin and update the thread.
Best regards

Similar Messages

  • Systemcopy using R3load - Index creation VERY slow

    We exported a BW 7.0 system using R3load (newest tools and SMIGR_CREATE_DDL) and now importing it into the target system.
    Source database size is ~ 800 GB.
    The export was running a bit more than 20 hours using 16 parallel processes. The import is still running with the last R3load process. Checking the logs I found out that it's creating indexes on various tables:
    (DB) INFO: /BI0/F0TCT_C02~150 created#20100423052851
    (DB) INFO: /BIC/B0000530000KE created#20100423071501
    (DB) INFO: /BI0/F0COPC_C08~01 created#20100423072742
    (DB) INFO: /BI0/F0COPC_C08~04 created#20100423073954
    (DB) INFO: /BI0/F0COPC_C08~05 created#20100423075156
    (DB) INFO: /BI0/F0COPC_C08~06 created#20100423080436
    (DB) INFO: /BI0/F0COPC_C08~07 created#20100423081948
    (DB) INFO: /BI0/F0COPC_C08~08 created#20100423083258
    (DB) INFO: /BIC/B0000533000KE created#20100423101009
    (DB) INFO: /BIC/AODS_FA00~010 created#20100423121754
    As one can see on the timestamps the creation of one index can take an hour or more.
    x_cons is showing constant CrIndex reading in parallel, however, the througput is not more than 1 - 2 MB/sec.  Those index creation processes are running now since over two days (> 48 hours) and since the .TSK files don't mentioned those indexes any more I wonder how many of them are to be created and how long this will take.
    The whole import was started at "2010-04-20 12:19:08" (according to import_monitor.log) so running now since more than three days with four parallel processes. Target machine has 4 CPUs and 16 GB RAM (CACHE_SIZE is 10 GB). The machine is idling though with 98 - 99 %.
    I have three questions:
    - why does index creation take such a long time? I'm aware of the fact, that the cache may not be big enough to take all the data but that speed is far from being acceptable. Doing a Unicode migration, even in parallel, will lead to a downtime that may not be acceptable by the business.
    - why are the indexes not created first and then filled with the data? Each savepoint may take longer but I don't think that it will take that long.
    - how to find out which indexes are still to be created and how to estimate the avg. runtime of that?
    Markus

    i Peter,
    I would suggest creating an SAP ticket for this, because these kind of problems are quite difficult to analyze.
    But let me describe the index creation within MaxDB. If only one index creation process is active, MaxDB can use multiple Server Tasks (one for each Data Volume) to possibly increase the I/O throughput. This means the more Data Volumes you have configured, the faster the parallel index creation process should be. However, this hugely depends on your I/O system being able to handle an increasing amount of read/write requests in parallel. If one index creation process is running using parallel Server tasks, all further indexes to be created at that time can only utilize one single User Task for the I/O.
    The R3load import process assumes that the indexes can be created fast, if all necessary base table data is still present in the Data Cache. This mostly applies to small tables up to table sizes that take up a certain amount of the Data Cache. All indexes for these tables are created right after the table has been imported to make use of the fact, that all the needed data for index creation is still in the cache. Many idexes may be created simultaneously here, but only one index at a time can use parallel Server Tasks.
    If a table is too large in relation to the total database size, then its indexes are being queued for serial index creation to be started when all tables were imported. The idea is that the needed base table data would likely have been flushed out of the Data Cache already and so there is additional I/O necessary rereading that table for index creation. And this additional I/O would greatly benefit from parallel Server Tasks accessing the Data Volumes. For this reason, the indexes that are to be created at the end are queued and serialized to ensure that only one index creation process is active at a time.
    Now you mentioned that the index creation process takes a lot of time. I would suggest (besides opening an OSS ticket) to start the MaxDB tool 'Database Analyzer' with an interval of 60 seconds configured during the whole import. In addition, you should activate the 'time measurement' to get a reading on the I/O times. Plus, ensure that you have many Data Volumes configured and that your I/O system can handle that additional loag. E.g. it would make no sense to have 25 Server Tasks all writing to a single local disk, I would assume that the disk would become a bottle neck...
    Hope my reply was not too confusing,
    Thorsten

  • Why is it, after I downloaded the new version of steve jobs, I lost all my highlighted placements in the book and whenever I tried to highlight something, it lags tremendously. Is there a reason for this?

    Why is it, after I downloaded the new version of steve jobs, I lost all my highlighted placements in the book and whenever I tried to highlight something, it lags tremendously. Is there a reason for this?

    And all placement in which I highlighted in previous version of the book, it directs me to a completely different page and sentence in which I highlighted previously. And the frustrating is, I can't delete the false highlight.

  • HT1688 Why am I having trouble updating the new ios7.0.4 to my iphone 4s?

    Why am I having trouble updating the new ios7.0.4 to my iPhone 4s?

    There is no update for iOS 7.0.4.

  • I want to start with audio on a timeline and add photos. Why is this not possible in the new confusing version of iMovie?

    I want to start with audio on a timeline and add photos. Why is this not possible in the new confusing version of iMovie?
    Yrs,
    Unspeakably Frustrated

    Yes, you can do this. Drag the music track to the background and start adding your pictures. A great way to do this is to use beat markers so your photos will change on the beat.
    A really fast way to do this is to line up your photos in an iPhoto album in the order you want them. You can drag the whole album into iMovie at once.
    Here is a tutorial on the beat marker feature.
    Here is a sample of a slideshow made by dragging in the music first, adding beat markers, and then adding photos.

  • Why Netflix does not open after the new 7.0 update?

    WHY  Netflix does not open after the new update 7.9?

    Vincent149 wrote:
    I went to At&t yesterday, they said you have to call Apple support! Which im gong to try today since no one on here has posted anything back! Im frustrated! Maybe its there way of selling new phone!!!!
    These are user to user forums.  You are not addressing Apple by posting here.  If some other person has a solutoin for you, then they will post it.

  • Move database to the new server

    Hello,
    I have 10.2.0.1 Standard Edition database (7GB, not in archivelog mode) on Windows2003 server, and need to move it to the new server (same environment). I thought to use OEM Clone option, but it appears cloning to the other host is working only in Grid - and I have DB Control.
    I know about manual cloning/recreation, but now looking into export and import option. So I think to install Oracle database on the new server, then import some relevant tablespaces exported from the old database. I will use datapump utility in OEM, under system username.
    Is that a good approach ? What rules should be applied to avoid problems in that case ? Sorry if it's very basic question, never moved database before.
    Marina

    Options for porting the database from one server to another after installing Oracle on the new server incldue
    Export/Import using expdp/impdp
    Rman duplicate to compatiable hardware
    Rman file conversion to non-compatiable hardware
    On advantage of expdp/impdp is this option supports reconfiguring the database tablespace/file/object storage layout as part of the migration. Also the adoption of new features like ASSM.
    A disadvantage is that using expdp/impdp will probably be slower and involve more DBA work than using file copies via rman. There are approaches to reduce the clock time necessary to support export/import and the work is often beneficial for long-term database management efforts.
    There have been threads on this topic before and failry recently. You might want to hunt one or two of them down.
    HTH -- Mark D Powell --

  • Folder Redirection did not update to the new server

    hello  guys, I had migrated quite some time ago to a new server.
    I thought everything works fine, basically the server functionality DNS, Replication and other stuff works fine.
    But I notice that some of the workstation did not actually update its folder redirection to the new server.
    Their desktop and my documents still points to the old server.
    So their offline files, is becoming larger and larger.
    I have some workaround but it's a lot of work. Question is, why those Win 7 workstation folder redirection did not update to the new server.
    What should be the best practice? During the migration process from the old server to the new server, all workstation should be turned on? 
    Or any tools to update  those workstation to the new server without losing their files?
    Basically, just editing the registry to point to the new server will help. But it means losing their current files and whatever old stuff that is on the server will be the one that will be shown on their desktop and documents.
    any inputs is greatly appreciated.
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

    Hi biswajeetpattnaik, before migration it was Windows 2003.
    Then I introduce Windows 2008.
    Then I introduce a new Windows 2012.
    Now Windows 2012 is the main DC.
    Actually, everything is under control right now.  As what I said on my first post, I manage to do some work around.
    The only question I have on mind, is how on earth this thing happen.
    I was assuming, that the workstation will be able to point to the new server, without any glitch since everything is working fine.
    And the GPO was applying on the workstation. If I type gpresult /v on the workstation is it being applied. Even if I run GP Modelling it is also shows on the result that the folder redirection is being applied.
    But to my surprise the folder redirection still points to old server, if I have not discovered it then it would be difficult if some files will get lost.
    Thanks for your reply.
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

  • Problem with the new server UCS C220 for set IP to CIMC

    Hi
    We’ve a problem with the new server UCS C220.
    We bought two servers UCS C220 M3 for CallManager 8.6 with High Availability.
    When we turn on the server during the boot and when it tells us, oppress F8 to enter at the CIMC and set the IP. But it never enters at the CIMC.
    Then, we configure our DHCP server and our switch, we connect the three gigabyte ports to our switch to give him an IP to the CIMC, so and then can enter via browser, but neither works.
    Note. The dedicated management NIC does not link, the other two ports do make link.
    What do you suggest to put an IP to CIMC and start installing our applications?
    regards

    You may have noticed that there is no DVD rom on the c220. What you need to do is:
    Login into the CIMC from your browser
    Luanch the KVM
    Insert the VMware DVD in your machines drive
    On the KVM pop up there should be a tab to mount the drive, after mounting it click on Macros and choose ctrl_alt+delete to restart.
    After the VMware OS installs press F2 to enter IP.
    Browse to the VMware ip to download the Vsphere client
    Open the Vsphere client, enter the ip of the vmware and the username will be root and no password if you did not set one.
    You can now upload OVA templates or manually create virtua machine from this enviroment.
    Hope this help

  • Why can't I connect to the update server?  If I download manually, how do i update the phone?

    Why can't I connect to the update server?  If I manually download SW, how do I update phone or ipad since it is not in iTunes?
    Thanks

    I assume all of your network connections are OK,  you can get to the internet and that you aren't blocked by something like an enterprise firewall.  Are those assumptions correct?  .  My experience has been that from time to time, the update server get's "maxxed out", and if you try later it will work. 

  • Why can't I connect to the game server

    why can't I connect to the game server from my ipod touch?

    Do you have Wi-Fi connection? Start any app with Game Center feature.

  • Can I get rid of Exchange with the new Server just released?

    Hi, I saw the new 8 core machine and all the programs. I also recieved an email from Apple telling me about all the calendaring it has.
    I want to get rid of Exchange. I have Outlook on 99.9% the clients, however, and they're not going to get rid of Windows or Office any time soon. Will the new server just released and the server software do Exchange server calendaring, scheduling, etc. just like (or better) than Exchange does?
    Thanks.

    iCalServer uses the new standard CalDAV protocol for calendaring. Exchange uses MS's own proprietary protocols - we do not have those implemented in iCalServer. As a result your existing Outlook users can't use iCalServer right now.
    The good news is that there is at least one group working on a plugin for Outlook that will enable access to iCalServer. Whilst this is still alpha quality right now progress is being made, and hopefully in the near future thee will be something usable. See <http://openconnector.org>.

  • I switched email servers and when I synced to the new server, all my old emails erased... HELP

    I previously had 1&1.com hosting my email addresses ([email protected] & [email protected]) and I recently switched to Weebly/Gmail to host these email addresses...
    I enabled IMAP forwarding in gmail (which in hinesight I think I should have selected POP) and when I updated my server settings in Thunderbird - all of my old emails disappeared. Theses emails are for business and I may have dramatically hurt our business by doing this.
    Are emails backed up anywhere where I can restore from? I do have the option selected to store all emails on my local computer - please help :)

    With IMAP all mail is managed on the server. By simply changing the server of an existing account you virtually start from scratch. I.e. the new server knows nothing about the mail on the old server.<br>
    What you see in Thunderbird is basically a mirror of what's on the server.
    What you should have done is moving messages off of the old server to your Local Folders account.<br>
    Alternatively you could have created a new account with the same email address on the new server.
    The Thunderbird IMAP synchronization option basically is a local offline copy of what's on the server. The offline copy got wiped out when you connected to the new server. It isn't an equivalent for a proper backup of your messages.
    I don't know if you still have access to the old server. If not, then you can only restore a backup of your profile folder, assuming you've created one at some point.
    It is grossly negligent not to backup your business email.

  • Exch2k7 to Exch2k10 - SSL 'request' help for the new server

    Hi,
    after read the article 'http://technet.microsoft.com/en-us/library/dd638158.aspx', we already have MBX and CAS 2007 running the lastest spk version and the SSL on the CAS 2007 is already working as 'LEGACY.DOMAIN.COM.BR' + 'Autodiscover.domain.com.br'
    + 'mail.domain.com.br'.
    My question is regarding the SSL request for the new server:
    >>> Can I start the REQUEST for the external Certification Authority using Windows Powershell or IIS console instead to use 'Exchange Management Shell'??
    * I´m afraid about the time (days) to install CAS 2010 on the new server, start the request to the CA, do the internal steps to aprove, pay the tax, wait for generation and then install the new SSL on the new server...

    Hi,
    Based on my research, we can use IIS renew the certificate for IIS:
    http://support.microsoft.com/kb/228991
    And Windows power shell can help us to create certificate request:
    http://social.technet.microsoft.com/Forums/exchange/en-US/1ba38a64-8776-444c-9f4d-a484075f3de2/powershell-to-request-a-certificate-renewal
    Thanks,
    Angela Shi
    TechNet Community Support

  • Safely point an NSS VMDK to the new server during transferID

    I have two VMWare VMDK NSS Volumes hosted on an iSCSI array for a class, connected to my existing OES2SP3 server. I'm installing a transfer ID server instance OES11SP2 I'd like to to migrate the "locally" hosted vmdk NSS volume over to the new server. (I don't have space to migrate the other two huge volumes.)
    So I'm going to install the transfer id server and migrate the main STORAGE volume to it and then remove the two VMDKs from the OES2SP3 VM and install them onto the new OES11SP2 VM. I assume that I do this move after I finish the transfer ID from the old VM to the new VM.
    My question I'm hoping to have answered is -> If you move an NSS VMDK to a server after the transfer ID occurs, will the new server have to have the existing NSS edir objects changed in any way or will it simply assume ownership of them when they are mounted at boot? Is it safe to move them after the transfer id or must I do it before. I didn't like the idea of yanking the two NSS volumes out from the old server prior to doing to transfer id.
    Thanks,
    -Nyle

    Originally Posted by nlandas
    I have two VMWare VMDK NSS Volumes hosted on an iSCSI array for a class, connected to my existing OES2SP3 server. I'm installing a transfer ID server instance OES11SP2 I'd like to to migrate the "locally" hosted vmdk NSS volume over to the new server. (I don't have space to migrate the other two huge volumes.)
    So I'm going to install the transfer id server and migrate the main STORAGE volume to it and then remove the two VMDKs from the OES2SP3 VM and install them onto the new OES11SP2 VM. I assume that I do this move after I finish the transfer ID from the old VM to the new VM.
    My question I'm hoping to have answered is -> If you move an NSS VMDK to a server after the transfer ID occurs, will the new server have to have the existing NSS edir objects changed in any way or will it simply assume ownership of them when they are mounted at boot? Is it safe to move them after the transfer id or must I do it before. I didn't like the idea of yanking the two NSS volumes out from the old server prior to doing to transfer id.
    Thanks,
    -Nyle
    IF my memory serves (this was a while ago), we did it that way (leave the "old" disk attached). Transfer ID, power off both servers, disconnect "old" disk and reconnect to "new" server. Power up and I think it just worked. I don't recall having to re-run anything in nssmu.
    But again, that WAS a while ago.

Maybe you are looking for

  • Trying to query data from a view - ORA-01882 and ORA-02063 Errors

    Hey there, I tried to query data from a view that was provided by a colleague. This view works fine and gives correct data using PL/SQL Developer or SQLPLUS, but in SQL Developer, I get the following error: ORA-01882: Time zone region not found ORA-0

  • Start up problem.....flashing file icon

    Problem: 1) few days ago I configured computer for ethernet link between crt imac and powerbook. 2) Now when I start up on the crt only, I get a flashing globe on a square which turns to a flashing file with a question mark in it. And the start up ne

  • Problem with F_ApiAddText() after F_ApiPaste()

    Hello, I've some troubles adding text to structured document after I paste some text from clipboard into it. Here it is how it goes in the code: F_ApiSetTextRange(FV_SessionId, m_docId, FP_TextSelection, &tr); F_ApiPaste(m_docId, 0); F_ApiPopClipboar

  • Error when deploy a project in SQL Server Analysis Services

    Hi all, I tried deploy my project SSAS, but it send message error. This is image before deploy myproject, it is star chema of project. and this is the image when i try deploy it, error list. I want to complete my project. How i can fix error list???

  • SAP Script is not getting called for GI Output type WA03

    Dear All, I have designed one SAP script for goods issue output type WA03 for Tcode Migo. I have assigned the form name in NACE. But the problem is it is not picking my form, It is giving some Express document error. I am not able to know how the tra