Poor performance after altering tables to InnoDB

I have an application using CF MX, IIS, and MySQL 5.0.37
running on Microsoft Windows Server 2003.
When I originally built the application, access from login to
start page and page to page was very good. But, I started getting
errors because tables were sometimes getting records added or
deleted and sometimes not. I thought the "cftransaction" statements
were protecting my transactions. Then I found out about MyISAM (the
default) vs InnoDB.
So, using MySQLAdmin, I altered the tables to InnoDB. Now,
the transactions work correctly on commits and rollbacks, but the
performance of the application stinks. It now takes 20 seconds to
log in.
The first page involves a fairly involved select statement,
but it hasn't changed at all. It just runs very slowly. Updates
also run slowly.
Is there something else I was supposed to do in addition to
the "alter table" in this environment? The data tables used to be
in /data/saf_data. Now the ibdata file and log files are in /data
and only the ".frm" files are still in saf_data.
I realize I'm asking this question in a CF forum. But, people
here are usually very knowledgable and helpful and I'm desperate.
This is a CF application. Is there anything I need to do for a CF
app to work well with MySQL InnoDB tables? Any configuration or
location stuff to know about?
Help, and Thanks!

The programs was ported also in earlier versions 1,5 year ago we use forte 6.2 and the performance was o.k.
Possibly the program design was based on Windows
features that are inappropriate for Unix. So the principal design didn't change, the only thing is, that we switch to the boost libraries, where we use the thread, regex, filesystem and date-time libraries
Have you tried any other Unix-like system? Linux, AIX, HPUX,
etc? If so, how does the performance compare to
Solaris?Not at the moment, because the order is customer driven, but HP and Linux is also an option.
Also consider machine differences. For example, your
old Ultra-80 system at 450Mhz will not keep up with a
modern x86 or x64 system at 3+ GHz. The clock speed
could account for a factor of 6. That was my first thought, but how I have wrote in an earlier post, the performance testcase need the same time on a 6x1GHz (some Sun-Fire-T1000) machine
Also, how much realmemory does the sparc system have? 4 GB! And during the testrun the machine use less than 30% of this memory.
If the program is not multithreaded, the additional
processors on the Ultra-80 won't help. But it is!
If it is multithreaded, the default libthread or libpthread on
Solaris 8 does not give the best performance. You can
link with the alternative lwp-based thread library on
Solaris 8 by adding the link-time option
-R /usr/lib/lwp (for 32-bit applications)
-R /usr/lib/lwp/64 (for 64-bit applications)The running application use both, the thread and the pthread library can that be a problem? Is it right, that the lwp path include only the normal thread library?
Is there a particular reason why you are using the
obsolete Solaris 8 and the old Sun Studio 10?Because we have customer which do not upgrade? Can we develop on Solaris 10 with SunStudio 11and deploy on 5.8 without risk?
regards
Arno

Similar Messages

  • FAMACR/APMACR EXTREMELY POOR PERFORMANCE AFTER APPLYING FA PATCHSET K

    제품 : FIN_FA
    작성날짜 : 2005-11-28
    FAMACR/APMACR EXTREMELY POOR PERFORMANCE AFTER APPLYING FA PATCHSET K
    ======================================================================
    PURPOSE
    FA_MASS_ADDITION시 Expensive sql로 성능저하 문제 발생
    Explanation
    Expensive sql statement while running the report is
    update ap_invoice_distributions apid set assets_addition_flag='N'
    where (((((assets_addition_flag='U' and assets_tracking_flag='N') and not
    exists (select 1
    from ap_ae_headers aeh
    where ((aeh.accounting_event_id=apid.accounting_event_id
    and aeh.set_of_books_id=apid.set_of_books_id) and aeh.gl_transfer_flag<>
    'Y')))
    and posted_flag='Y') and accounting_date<=to_date(:b0,'YYYY/MM/DD HH24:MI:
    SS'))
    and exists (select 1
    from gl_code_combinations
    where ((code_combination_id=apid.dist_code_combination_id and
    chart_of_accounts_id=:b1)
    and decode(upper(:b2),'SEGMENT1',segment1,'SEGMENT2',segment2,'SEGMENT3',
    segment3,'SEGMENT4',
    segment4,'SEGMENT5',segment5,'SEGMENT6',segment6,'SEGMENT7',segment7,'SEGMENT8',
    segment8,'SEGMENT9',
    segment9,'SEGMENT10',segment10,'SEGMENT11',segment11,'SEGMENT12',segment12,
    'SEGMENT13',segment13,
    'SEGMENT14',segment14,'SEGMENT15',segment15,'SEGMENT16',segment16,'SEGMENT17',
    segment17,'SEGMENT18',
    segment18,'SEGMENT19',segment19,'SEGMENT20',segment20,'SEGMENT21',segment21,
    'SEGMENT22',segment22,
    'SEGMENT23',segment23,'SEGMENT24',segment24,'SEGMENT25',segment25,'SEGMENT26',
    segment26,'SEGMENT27',
    segment27,'SEGMENT28',segment28,'SEGMENT29',segment29,'SEGMENT30',
    segment30) in (select distinct asset_clearing_acct
    from fa_category_books fcb ,fa_book_controls fac
    where ((fac.book_type_code=:b3 and fac.book_class='CORPORATE')
    and fcb.book_type_code=fac.book_type_code)
    union
    select distinct cip_clearing_acct
    from fa_category_books fcb ,fa_book_controls fac
    where (((fac.book_type_code=:b3 and fac.book_class='CORPORATE')
    and fcb.book_type_code=fac.book_type_code) and cip_clearing_acct is not null ))
    call count cpu elapsed disk query current
    rows misses
    Parse 1 0.03 0.03 4 7 0
    0 1
    Execute 1 5198.88 5241.95 258933 99354479 9946808
    0 0
    total 2 5198.91 5241.98 258937 99354486 9946808
    0 1
    cause: The Cause of this problem is still undetermined.
    fix:
    1. Apply Patch:2395191
    자산화하기 위해서는 Invoice Distibution계정을 Asset Clearing 계정으로
    입력하여야 하나 Account Type만 Asset이면 Track as asset이 Check되기 때문에 , 이 계정에 대한
    Validation을 하는 과정에서 너무 많은 데이타로 인해 Performance문제가 생김
    결산 시점의 문제가 발생시 문제의 Sql을 참고하여 , invoice distribution의 계정이 Asset Clearing계정이 아닌 계정은 미리 N:reject로 Update하여 대상을 줄일수 있음
    Example
    4406888.992
    Reference Documents
    249802.1

  • Commit after alter table statement or not?

    Hi,
    Is it necessary to put the a commit after the following statement or is it automatically committed:
    Alter table tab_name drop column col_name;
    Thanks

    Khurram,
    Isnt Eric you are , i mean isnt yours synonym :)Erm...simple answer. No. We are not the same person. I just know that Eric, like yourself, makes good contributions to these threads and then someone like that is coming on the forums and trying to make himself look better and put down the regular contributors which isn't really on is it, I think you'll agree.
    CREATE PUBLIC SYNONYM Eric FOR Blushadow;
    hehe.

  • Performance for ALTER TABLE statements

    Hi,
    I'd like to improve performance for scripts running several ALTER TABLE statements. I have two questions regarding this.
    This is the original code:
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL );
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_INVOICED NUMBER NULL );
    1. Would I gain any performance by making the following changes?
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL,
    QTY_INVOICED NUMBER NULL );
    These columns are later on filled with values and then made NOT NULL.
    2. Would I gain anything by make these columns NOT NULL with a DEFAULT value in the first statement and then later on insert the values?
    /Roland Bali
    null

    1. It wud definitely increase the performance.
    2. You can only have NOT NULL columns added to an existing table if the table is empty.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Roland Bali ([email protected]):
    Hi,
    I'd like to improve performance for scripts running several ALTER TABLE statements. I have two questions regarding this.
    This is the original code:
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL );
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_INVOICED NUMBER NULL );
    1. Would I gain any performance by making the following changes?
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL,
    QTY_INVOICED NUMBER NULL );
    These columns are later on filled with values and then made NOT NULL.
    2. Would I gain anything by make these columns NOT NULL with a DEFAULT value in the first statement and then later on insert the values?
    /Roland Bali<HR></BLOCKQUOTE>
    Naveen

  • Poor Performance after Compute Statistics

    Hi Guys,
    Has anyone had this problem before:
    Database and application is running at about 700ms response time with very little io. After performing dbms_stats.gather_database_statistics, the performance drops to about 4 sec response time, with lots of FTS. After bouncing the DB, the performance goes back up to 700ms with very little io.
    Version is 8.1.7 with db spread on two drive spindles with approx 1GB db buffer cache.
    Any ideas? Urgent response requested.

    Hi Donald,
    Do you specify a large sort_area_size or alter any session parameters for dbms_stats to complete quicker?
    Or did you run the query when the dbms_stats was running?
    These could cause issues once the process completes.
    A DB bounce does not alter the statistics for the tables and the performance before and after the bounce, unless there was something else that was running and impacting the performance of the query.
    Hth.

  • InDesign (and Acrobat) poor performance after virus - ideas?

    Hi everyone,
    we have a problem with our system (spec listed below); I've also posted in the Acrobat forum since it is affected as well.
    System
    Dell Precision T7400
    CPU(s): dual quad core Xeons
    RAM: originally 2GB, upgraded to 4GB 1 day ago
    OS: XP 32-bit
    Adobe Software: Originally CS3 Suite, now CS5 Suite
                             Acrobat 9 Pro
    Problem
    Acrobat: 1. stutters slowly when scrolling, almost crashes
                 2. Takes 4X longer than before to "Reduce file size" for PDFs
    InDesign: stutters slowly when working with text and tables, almost crashes
    Cause
    Virus infultrated system about 1 month ago.
    Attempts
    1. Re-imaged disc and installed software based mirroring software with 2 extra backup drives: system still lags
    2. Re-formatted, reinstalled: system still lags
    3. Turned off mirroring: helped a little
    4. Ran various memory, motherboard tests: nothing found
    5. varified all BIOS and firmware up to date
    6. Uninstalled mirroring software, installed hardware based mirroring software, reformatted, reinstalled: system still lags
    7. Tried working with files directly from C:/ with no mirroring: system still lags
    8. Installed fresh 4GB memory: system still lags
    9. Have tried all methods of helping InDesigns performance but no luck.
    Thoughts
    Comparing this system to my old laptop (Centrino Dual Core), the laptop runs about 4X faster since the virus. Before the virus, this system was a dream to work with, super fast speed, never lagged.
    I keep thinking that the virus must have damaged somthing on the motherboard, but error messages or motherboard beep codes.
    Any other suggestions (short of shotting this system) would be greatly appreciated.

    You didn't actually re-flash your BIOS, did you? Yes
    If it was fast before the infection, and slow after the reformat, then this is pretty much the only place that anything could be different. I'd be more inclined to test hardware than continue chasing software, in your shoes.
    Ran various RAM tests, and the BIOS shows nothing out of the ordinary.
    But it's certainly nothing to do with the software, unless the new install was botched for reasons having nothing to do with the virus, or that the virus is actually hiding in one of the spots on the motherboard that can be written to, like the BIOS.
    Clear one thing up for us - you say
    Adobe Software: Originally CS3 Suite, now CS5 Suite
    Does that mean "it ran like a dream with CS3, but now that I have CS5 it's running slow?" Because, if so, you're chasing a red herring - CS5 consumes a lot more in terms of computing resources than does CS3. You should be looking at how to tame CS5's resource consumption, and there are plenty of threads about that.
    After the reformat, CS3 Indesign was a dog as well as Acrobat 9 Pro. Upgraded to new CS5 Suite (all but Acrobat 9 Pro). CS3 & 5 Indesign still a dog as well as Acrobat 9 Pro
    Lastly, I haven't seen malware hiding in flash ROM on the motherboard more than once in the last decade. It wouldn't generate any error messages or beep codes, either.
    Same here, have not witnessed malware/viri infultrating the BIOS since back in 99'. Never the less, it's the only idea I can come up with. I have yet to locate any software for testing the NVIDIA NVS 290 video card. This is the strangest issue I have seen ever.

  • Siebel Prod App poor performance during EIM tables data load

    Hi Experts,
    I have a situation, Siebel Production application performance is becoming poor when I start loading data into Siebel EIM tables during business hours. I'm not executing any EIM jobs during business hours so how come the database is becoming slow and application is getting affected.
    I understand that Siebel Application fetches data from siebel base tables. In that case why is the application getting very slow when EIM tables are only loaded.
    FYI - Siebel production Application server has good hardware configuration.
    Thanks,
    Shaik

    You have to talk with your DBA.
    Let's say your DB is running from one hard disk (HD).
    I guess you can imagine things will slow down when multiple processes start accessing the DB which is running from one HD.
    When you start loading the EIM tables, your DB will use a lot of time for writing and has less time to serve the data to the Siebel application server.
    The hardware for the Siebel application servers is not really relevant here.
    See if you can put the EIM tables on their own partition/hard disks.

  • Poor Performance after start up and Frequent Crashes

    I have a brand new imac i order a little over 6 months ago, i immediately migrated my old imac's files to the new mac and everything worked great but then slowly began to degrade in performance and now i have nothing but problems that have gotten worse.
    The first problem occurred with a slow performance speed after about a month of amazing performance.
    Then I noticed the new magic mouse i had ordered with the computer would lose connection with the computer causing it to crash, also the new mouse would not hold a charge for long. My last magic mouse did not have this issue.
    My computer would fall asleep and then i could be unable to wake it by using my mouse, even plugging in an apple pro wired mouse would not work, i had to turn the power on and off to restart
    My bluetooth was acting funny trying to connect to devices i hadn't authorized
    Then came a kernel crash.
    Then came apple 3 tired support who after weeks of diagnosis over the phone were stumped.
    I tried the following to fix the problems myself:
    reset the Pram
    Repaired Disk Permissions
    Checked the hardware
    reinstalled the OS
    Checked for and installed all software updates
    Reset the SMC
    Ran 3rd party software "mackeeper" to optimize my files and check for viruses
    Clean up unneeded files so plenty of memory
    And finally downloaded a 3rd part program called "idrefrag" to defrag my system files.
    nothing worked
    I was unable to take additional time to deal with the issue, i work and attend school online and was extremely busy during the summer so i had to just deal with the issues because being without my computer was not an option i had.
    After my busy summer ended, the problems had only gotten worse
    Now, not only does the mac fall asleep and not wake up and not respond to the magic mouse to wake up or reconnect when the mouse and mac lose signal, but now when i plug in a usb flash drive to my external flash drive port, it's like playing russian roulette, half the time it's fine, the other half the computer freeze upon insertion of the drive. I shouldn't have so much anxiety plugging in a 8gb flash drive.
    but now on to the worst part, before the summer when i had to restart after crashes it was normal, but now when i restart, the computer acts like it has to remember how to even be a computer again. Upon restarting after the classic Mac tone:
    My mac desktop begins to reload, although the icons on the top right appear then disappear and then appear to load back up very slowly.
    Moving files to another folder or tp the trash is painstakingly slow, i get a message saying "preparing to move file" that goes on for 10 minutes.
    Simple tasks like trying to copy and paste or access my "places" on the side bar like "movies, "Pictures" etc cause a pinwheel and then each "place" has to load all the files as if it's searching the computer for them all before i have access to them, this can take 5-10 minutes
    When i click on an application from the dock to load, it just bounces for a while and then finally starts up but takes 5 minutes or more to be able to access without a pinwheel
    Overall the computer basically forgets how to be a computer and has to relearn how to do the simplest tasks, the next 24 hours is plagued by pinwheels and slow performance and then it acts fine again, but i can never shut it down or it start all over again, so i just let it fall asleep when not in use and cross my fingers that when i come back it will respond to the mouse and wake up, half the time it does, the other half, i have to restart by holding the power button down and then pressing it to start up again.
    I had to just adapt, so i have a good system down now and so when I restart i run the system disk utility and repair the HD 1 & 2 's permission which always seems to have a lot of issues and that kinda helps speed along the 24 hour relearning process. But i shouldn't have to do all this stuff, i spent 3,000 on this computer, i bought all the upgrades and after a couple of months of amazing performance i was left with a time bomb and 3 tier apple support who have no idea where to go and now wont even call me back despite my paying for 4 years of apple care, I am at a total loss of what to do, i can't afford to send the machine off for diagnosis and repair and frankly think Apple should send me a new machine since not only does the mac itself present problems, but so does the new magic mouse, and the rechargeable batteries and charger i purchased from them as well.
    My Mac info:
    Mac OS X Version 10.6.8
    Model Name:          iMacModel Identifier:          iMac12,1
    Processor Name:          Intel Core i7
    Processor Speed:          2.8 GHz
    Number of Processors:          1
    Total Number of Cores:          4
    L2 Cache (per Core):          256 KB
    L3 Cache:          8 MB
    Memory:          16 GB
    Serial -ATA
    any suggestions?

    Thats a shame, you should be enjoying your mac!, what was the final outcome of the Apple support guys?. I think if it were me and i had tried tried everything that you have including the support tech. i would be pressing for a replacement mac.

  • SGD + Poor Performance After 3 Hour Connection

    Hello,
    I have a user who connects from home via a DSL connection to the internet then to a Windows XP VM (VMWARE) through SGD. The performance is good for the first 3 hours or so and then begins to slow down. The user is mainly working in MS Word 2000 and what starts to happen is the screen refreash becomes so slow that she is able to type several sentances with nothing showing on the screen. Then after a few minutes everything appears all at once.
    The issue happens everytime the user connects for a long period of time. At first she has no delay issues but 3 hours later the screen refreash is so slow it is not usable. To fix the issue the user reboots the Windows XP VM and closes the SGD connection. She then reconnects and it is good for another 3 hours.
    I have logged into the VM here locally when she reports that it is slow and the VM is running fine at normal performance so the issue is not with the VM. We are using RDP to make the connection to the Windows XP VM.
    Any ideas why this session is slowing down after about 3 hours of use. She might be my only user who is on SGD for that long (3+ hours) so I am not sure if it would happen with other sessions (users).
    Thanks
    Bryan Gawronski

    Hello,
    What you need to know is if the issue is between your SGD server and the VM or between the SGD server and your client?
    Might i suggest that you get her to immediately report the issue when it happens next to you and you have a look at the load on the network, cpu and ram on the SGD server and if that doesn't show up anything unusual then login to SGD with her account and resume her session to the VM and see if it is also slow for you.
    You could also try other things like giving her another VM to try both when the first one slows down and also instead of the first one to see if it slows down at all.
    If you can replicate the error in your own office then it will help you to better troubleshoot the issue.
    Hope this can be of some help to you.
    Jason

  • Poor performance reading MBEWH table

    Hi,
    I'm getting serious performance problems when reading MBEWH table directly.
    I did the following tests:
      GET RUN TIME FIELD t1.
      SELECT mara~matnr
        FROM mara
        INNER JOIN mbewh ON mbewh~matnr = mara~matnr
        INTO TABLE gt_mbewh
        WHERE mbewh~lfgja = '2009'.
      GET RUN TIME FIELD t2.
      GET RUN TIME FIELD t3.
      SELECT mbewh~matnr
        FROM mbewh
        INTO TABLE gt_mbewh
        WHERE mbewh~lfgja = '2009'.
      GET RUN TIME FIELD t4.
    t2 = t2 - t1.
    t4 = t4 - t3.
    write: 'With join: ', t2.
    write /.
    write: 'Without join: ', t4.
    And as result I got:
    With join:      27.166
    Without join:  103970.297
    All MATNR in MBEWH are in MARA.
    MBEWH has 71.745 records and MARA has 705 records.
    I created an index for lfgja field in MBEWH.
    Why I have better performance using inner join?
    In production client, MBEW has 68 million records, so any selection takes too much time.
    Thanks in advance,
    Frisoni

    Guilherme, Hermann, Siegfried,
    I have just seen this thread and read it from top to bottom, and I would say now is a good time to make a summary..
    This is want I got from Guilherme's comments:
    1) MBEWH has 71.745 records
    2) There are two hidden clients in the same server with 50 million rocords.
    3) Count Distinct mandt = 6
    4) In production client, MBEW has 68 million records
    First measurement
    With join               : 27.166
    Without join            :  103970.297
    Second measurement
    With join               : 96.217
    Without join            : 93.781            << now with hint
    The original question was to understand why using the JOIN made the query much faster.
    So the conclusions are:
    1) Execution times are really now much better (comparing only the not using join case, which is the one we are working on), and the original "mystery" is gone
    2) In this client, MANDT is actually much more selective that the optimizer thinks it is (and it's because of this uneven distrubution, as Hermann mentioned, that forcing the index made such a difference)
    4) Bad news is that this solution was good because of the special case of your development system, but will probably not help in the production system
    5) I suppose the index that Hermann suggested is the best possible thing to do (the table won't be read, assuming you really only want only MATNR from MBEWH, and that it wasn't a simplification for illustration purposes); anyway, noone can really expect that getting all entries from MBEWH for a given year will be a fast thing...
    Rui Dantas

  • Poor performance after format and OS install.

    GT70 0ne
    3610qm
    680m
    24g Kingston ram
    Win7 64
    Yesterday I formatted my drive and installed win7 64, after installing all the (old) drivers on the MSI website (link below), in the correct order, then waiting a good 8 hours for all the windows updates to install, I booted up WoW and found horrible FPS. I ran 3dmarks 11 and scored a dismal 2600 with my graphic and combined scores around 2500 and the physics at the normal 8500.
    Searched online for some solutions, put the 680m as the default for WoW and 3dmarks but with no difference. I went ahead and got the latest drivers for the 680m off the Nvidia website and saw no improvement.
    I did not install any utilities from the MSI website, are any of them needed for the proper function of the laptop or are they all fluff?
    I did not install any firmware either, Is it needed?
    Should I download the latest drivers for all the components or stick with MSI's?
    The laptop itself is extremely quick when not needing graphical power.
    Thank you.

    The following factors will affect the performance score:
    - Using AC or DC.
    - Power plans (Windows). High-performance or Balanced mode.
    - Numbers of background processes.
    - Wi-Fi/BT on or off.
    - Improvements from newer BIOS, EC, or Video BIOS versions.
    - Screen brightness (slightly affected).
    Your score is indeed a little lower. Check the points above to improve it.

  • SQL 2005 x64 poor performance after migration from SQL 2005 x86

    Recently We've migrated SQL 2005 x86 SP1 Enterprise running on Windows 2003 Enterprise to new hardware where is running Windows 2008 SP2 and SQL 2005 x64 SP4 with CU3.
    In the work day, there are sometime SQL excpetions like this below. On other hand i can also tell that we already found some queries which has some inner joins and where clauses on nvarchar fileds, because of the nature of application. Such a query
    is running for about 11 seconds on old SQL server, and about 6 minutes on new SQL server. My main question if is this possible just with a change to new architecture of SQL and more last patches and updates for SQL 2005. Is there any way how to get
    this queries running faster, without rewritng them with new ones? Is this also possible this could be also cause for SQL exceptions, which we are facing on SQL server?
    About new hardware, for now we can't find it something wrong. There is basic configuration:
    Cisco UCS  C220 M3S (1U server)
    32GB RAM
    Intel(R)Xeon® CPU [email protected], 6 core
    Disk system: 4xSAS 300GB in RAID5 (OS and DATA) and 2xSATA 1TB in RAID1 (SQL backup)
    RAID controller: LSI MegaRAID SAS 9271-8i (with latest driver and firmware)
    Part of log of dump file:
    2014-05-09 08:30:07.08 spid86      Error: 17311, Severity: 16, State: 1.
    2014-05-09 08:30:07.08 spid86      SQL Server is terminating because of fatal exception c0000264. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling.
    Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown. To recover from this error, restart the server (unless SQLAgent is configured to auto restart).
    2014-05-09 08:30:07.08 spid86      Using 'dbghelp.dll' version '4.0.5'
    2014-05-09 08:30:07.08 spid86      **Dump thread - spid = 86, PSS = 0x0000000132A67ED0, EC = 0x0000000132A67EE0
    2014-05-09 08:30:07.08 spid86      ***Stack Dump being sent to D:\MSSQL.1\MSSQL\LOG\SQLDump0087.txt
    2014-05-09 08:30:07.08 spid86      * *******************************************************************************
    2014-05-09 08:30:07.08 spid86      *
    Thanks for any help,
    Matjaž

    >Is there any way how to get this queries running faster, without rewriting them with new ones?
    You need to perform basic performance tuning steps in the new environment.
    Software optimization:
    http://www.sqlusa.com/articles/query-optimization/
    Disk optimization:
    http://www.sqlusa.com/bestpractices/configureharddisk/
    Memory optimization:
    http://www.sqlusa.com/bestpractices/memory-configuration/
    REBUILD INDEXES, eliminate missing indexes & UPDATE STATISTICS.
    If there is still a problem, look in Activity Monitor for expensive queries. Optimize them. As a general rule, you don't want to have expensive queries in RDBMS.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Poor performance after moving from hp to linux, oracle 11.2.0.1 to 11.2.0.3, filesystems to ASM

    We moved a database from HP/UX to linux, upgraded oracle from 11.2.0.1 to 11.2.0.3, and from filesystems to ASM.  The new server has 32 cores and 500gb of memory. the old server has less than half of that.  Queries take twice as long to run on the new server as on the old server.  We've tested to eliminate I/O as the issue by creating a local filesystem and creating the database there.  The performance was still double over the old database.  We also moved the database to a 3rd server, using ASM and 11.2.0.3 of oracle for testing to prove to the systems administrator that it wasn't a database problem.  The performance on the 3rd server is incredibly fast.  This points to something on the new server.  Does anyone have any ideas of what to look at next, keeping in mind that we've tested the heck out of I/O.
    Thanks for any assistance.

    Well, a few details about your configuration could help:
    What does /proc/meminfo on the server show?
    How is the storage connected?
    What does: "# /sbin/ifconfig -a" show?
    Are you using ASMLIB or straight ASM?
    Are you using multipath connections to storage?  If so, make sure that "/etc/multipath.conf" actually identifies the composite device and not one of the physical paths.
    Are there any entries in "/var/log/messages" while running the ASM testing?
    I'm sure these questions will stimulate others.

  • Poor performance after server port to SUN

    Hi all,
    porting our C++ corba server to SUN was not very successful, because the performance of the SUN version was 15 times bad then the performance on Windows with the same source code and some reference tests.
    I have attached our build options and the configuration of our develepment equipment.
    We have done this port also on earlier versions and we see also, that the server was slower, but only the factor 1.5 to 2, so I was wondering why I have such a big difference in this release.
    What we have changed between the releases was, that we use the boost libraries (V 1.32) and therefore we compile and link now with stlport4 library. We changed also from Forte 6.2U2 to SunStudio 10.
    First I thought, that it is the old development equipment, what make the diffrence, but also our newest available machine (SunOS sudecgn0032 5.10 Generic_118833-23 sun4v sparc SUNW,Sun-Fire-T1000) show the same runtime performance. Any idea? Are there some tools that can help to analyse, if there is perhaps a structural difficulty?
    regards
    Arno
    Here are the information about our development environment:
    Machine:
    SunOS sun4 5.8 Generic_108528-24 sun4u sparc SUNW,Ultra-80 (4*450MHz)
    Compilerversion:
    CC: Sun C++ 5.7 Patch 117830-08 2006/07/12
    Example for a compiler call:
    CC -I.. -I../poet_code -I/km/iona/asp/6.2/include -I/km/poet/inc -I/km/libs/flexlm/machind -I/km/sqstest_plato/PlatoServer/Interface -I/km/sqstest_plato/PlatoServer/Basics -I/km/sqstest_plato/PlatoServer/XMLBase -I/km/sqstest_plato/PlatoServer/XMLBase/poet_code -I../../bison++ -I/km/sqstest_plato/libs/xerces/src -I/km/sqstest_plato/libs/xalan/src -library=stlport4 -D_ASSERTE=assert -features=extensions -features=rtti -w -DNDEBUG -D_GARBAGE_COLLECTOR +d -mt  -D_APP_SERVER   -c ../ApplicationServer.cpp
    Link command:
    CC ApplicationServer.o AppServCopyInfo.o AppServPersistentLocator.o AppServTxnManager.o AppServTxnShell.o BaseHelper.o BulkManipulationsManager.o CheckTestCaseRefManip.o cmdlexer.o cmdparse.o Dispatch.o FilterParser.o FlagOutput.o ImportHelper.o ImportInfoCheck.o ImportParser.o ManagerLocator.o ParserNodes.o PEmbeddedVariables.o PSActionWord.o PSActionWordTemplate.o PSActivity.o PSActivityElement.o PSActivityTemplate.o PSActivityType.o PSAppServBase.o PSAttachment.o PSBasePlus.o PSCall.o PSCPO.o PSDataStructure.o PSDataStructureTemplate.o PSEnumElement.o PSEnumeration.o PSEnumType.o PSFilterDef.o PSLinkedAttachment.o PSOrder.o PSOrderTemplate.o PSParameter.o PSParameterTemplate.o PSPathBase.o PSPlannedActivity.o PSReportDef.o PSRequirement.o PSRequirementFolder.o PSRequirementItem.o PSScheme.o PSSE_IsTestedIn_TC.o PSSystemelement.o PSSystemelementFolder.o PSSystemelementItem.o PSTCDataAssignment.o PSTcsContainer.o PSTemplate.o PSTemplateFolder.o PSTest.o PSTestCase.o PSTestStep.o PSTextTemplate.o PSTsCondition.o PSTsConditionTemplate.o PSUDATemplate.o PSummary.o PSWorkspace.o PSXsltContainer.o PTR00HASH.o PUDAttribute.o RefManip.o SActivityFilter.o SAppServBaseFilter.o SBulkManipulations.o SCursor.o SFilter.o SParameterFilter.o SReport.o SRequirementFilter.o SSystemFuncFilter.o STestCaseFilter.o STestFilter.o STestSchemeFilter.o STestStepFilter.o STestViewFilter.o SWorkspaceManager.o TcsSAXHandler.o udalexer.o UDATemplateParser.o Validation.o VisibleRef.o VisibleRefManip.o Persistent.o XmlBasePersistent.o -mt -library=stlport4 -L/km/iona/asp/6.2/lib -lit_art -lit_poa -lit_ifc -lit_naming -lit_location -lit_iiop -lit_csi -L/km/poet/runtime/lib -lpt95Fbs -lpt95Fex -lpt95Fin -lpt95Fkn -lpt95Foq -lpt95Fsc -lpt95Ftm -L/km/sqstest_plato/PlatoServer/Basics/boost/lib -lboost_thread-sw-mt-1_33_1 -lboost_regex-sw-mt-1_33_1 -lboost_date_time-sw-mt-1_33_1 -L/km/sqstest_plato/PlatoServer/Interface/Release -lstubs -lskell -L/km/sqstest_plato/PlatoServer/Basics/Release -lbasic -L/km/sqstest_plato/libs/xerces/lib/solaris -lxerces-c -L/km/sqstest_plato/libs/xalan/lib/solaris -lxalan-c -lxalanMsg -L/km/sqstest_plato/PlatoServer/Interface/Release -lstubs -lskell -L/km/sqstest_plato/PlatoServer/Basics/Release -lbasic -L/km/sqstest_plato/PlatoServer/XMLBase/Release -lxmlbase -L/km/sqstest_plato/PlatoServer/libs/ReleaseInfo/Release -lReleaseInfo -L/km/sqstest_plato/PlatoServer/Basics/zlib/Release -lz -lsocket -lnsl -lpthread -o ./ApplicationServer

    The programs was ported also in earlier versions 1,5 year ago we use forte 6.2 and the performance was o.k.
    Possibly the program design was based on Windows
    features that are inappropriate for Unix. So the principal design didn't change, the only thing is, that we switch to the boost libraries, where we use the thread, regex, filesystem and date-time libraries
    Have you tried any other Unix-like system? Linux, AIX, HPUX,
    etc? If so, how does the performance compare to
    Solaris?Not at the moment, because the order is customer driven, but HP and Linux is also an option.
    Also consider machine differences. For example, your
    old Ultra-80 system at 450Mhz will not keep up with a
    modern x86 or x64 system at 3+ GHz. The clock speed
    could account for a factor of 6. That was my first thought, but how I have wrote in an earlier post, the performance testcase need the same time on a 6x1GHz (some Sun-Fire-T1000) machine
    Also, how much realmemory does the sparc system have? 4 GB! And during the testrun the machine use less than 30% of this memory.
    If the program is not multithreaded, the additional
    processors on the Ultra-80 won't help. But it is!
    If it is multithreaded, the default libthread or libpthread on
    Solaris 8 does not give the best performance. You can
    link with the alternative lwp-based thread library on
    Solaris 8 by adding the link-time option
    -R /usr/lib/lwp (for 32-bit applications)
    -R /usr/lib/lwp/64 (for 64-bit applications)The running application use both, the thread and the pthread library can that be a problem? Is it right, that the lwp path include only the normal thread library?
    Is there a particular reason why you are using the
    obsolete Solaris 8 and the old Sun Studio 10?Because we have customer which do not upgrade? Can we develop on Solaris 10 with SunStudio 11and deploy on 5.8 without risk?
    regards
    Arno

  • Extremely poor performance after update to 1.6

    Hi,
    I've recently updated to 1.6 from 1.5 and now any webpage that contains java applets takes anywhere from 20 seconds upto 1 minute to open and start. Is there a problem or should i just uninstall java completely?

    Can you give an example of the applet that you are using?
    Also, what OS are you using on the computer having this problem?
    -Roger
    Sun Microsystems

Maybe you are looking for

  • ORDER RELATED INTERCOMPANY CREDIT MEMO ALWAYS NOT INVOICED

    We have recently created 'Order related inter company credit memo' . For this, we used order related billing (billing relevance = C i.e. Relevant for ord.-related billing - status acc.to target qty) with standard item category 'G2N'. The issue is eve

  • [solved] Writing systemd service file - forking no pidfile

    Hey all, I am trying to write .service files for TORQUE, but am having some difficulty and quite can't understand the docs.  Here's what I have so far for the server [Unit] Description=TORQUE server Wants=basic.target After=basic.target network.targe

  • Call for Speakers - 2006 ASUG Annual Conference

    The 2006 ASUG Annual Conference will be held May 14 - 17 in Orlando. The call for speakers has been open for a while now and will close on 11/21. If you have a topic that you would like to present at conference, I encourage you to submit your abstrac

  • ERROR: OPatch failed as verification of the patch failed.

    I installed OID by following these instructions( http://www.oracle.com/technology/pub/articles/chan-oid.html), db version created is 10.1.0.5 , but every time i apply CPU patch i receive error here is opatch lsinventory results Installed Patch List:

  • Rosegarden - Error on start-up

    I an new to arch and I am enjoying the joys of pacman. I have installed Rosegarden with no errors but when it comes to starting up the app I do not get past a splash screen. The error output below is the tail, the first listed item was replicated man