Low Performance from FORALL Insert

Hi,
I have to insert some bulk records into a table so I create a index by table variable
type mytabletype mytable%rowtype index by binary_integer;
mytablevariable mytabletype;
Then I populate the data after processing into this variable by running in a loop:
loop
--process and generate column values here
mytablevariable(idx).column1:=value1;
mytablevariable(idx).column2:=value2;
idx:=idx+1;
end loop;
then i use a forall to do the bulk insert
forall newidx in mytablevariable.first .. mytablevariable.last
insert into mytable values mytablevariable(newidx);
I printed the time taken for various steps and found that forall is the bottle neck . For inserting some 50000 records it is taking almost 4 mins!!. Is there something wrong in the way I am populating data into table variable?
-Sumit

Sumit Chauhan wrote:
I did a kind of similar operation for testing whereby I did a BULK COLLECT into a nested table variable and inserted the same data by using FORALL into another table (with same schema). The insert took close to 10 secs.Using elapsed time as a baseline for measuring database performance is totally flawed. I often post the following example here. The very same SQL. Same execution plan. Same data. Executed within seconds of one another. But vastly different execution times. So if the very same SQL has variable execution times, how do you expect to measure different techniques and SQLs and execution plans and the like using time?
SQL> set timing on
SQL> select count(*) from all_objects;
  COUNT(*)
     65121
Elapsed: 00:00:23.31
SQL> select count(*) from all_objects;
  COUNT(*)
     65121
Elapsed: 00:00:01.53The major reason for the difference in this example is physical I/O (1st SQL) and logical I/O (2nd SQL). The second query benefited from the I/O done by the first query, loading data into the buffer cache.
If you want to measure, you need to measure work. The amount of work that needs to be done and not how long it took to do that work. As the above example clearly shows that a query doing the same amount of work, can do it in different elapsed execution times.
Moreover, I kind of need to pull data from one table do some time consuming processing and store the results into another table so as to save the processing time , when results of calculation are used.The best way to do this, is to only use the SQL engine. As soon as you use the PL language, you introduce another software layer and increase the number of moving parts.
Thus the mantra of Maximize SQL and Minimize PL/SQL+.
No other language is as fast and as capable as SQL when it comes to crunching database data. If you do need to add PL into the mix because SQL is simply not capable of performing the required processing, then you will use bulk collection.
Bulk collection does one and one thing only. It creates a bigger "+communication pipe+" between the SQL and PL engines. So instead of PL getting a single row at a time from the SQL engine, it gets a batch of a 100. Instead of it sending a single row at a time to the SQL engine, it sends a 100.
This reduces the number of context switches between the two - and increases performance. However, this is not a linear increase. It does not mean that the bigger the communication pipe, the faster the bulk processing.
Also, the bigger you make this pipe, the more expensive non-shared memory (PGA) is needed.
So there is a very real limit to the performance improvement you will see with bulk processing. And there is a direct cost, in terms of expensive PGA, associated with it.
The PL engine's default bulk processing limit is a 100 rows. You may found slight performance improvement when using a limit of a 1000 rows. Beyond that, unlikely to see any performance improvement. In fact, you may see the opposite as the amount of private memory consumed can negatively impact server memory, increase swapping, and slow the entire server down.

Similar Messages

  • Low read performance from a USB 2.0 drive

    I experience a terribly low read performance from a USB 2.0 hard drive on a fresh Arch Linux installation with the latest stock kernel (2.6.23.1-7). Reading 200 MB takes around 3 minutes whereas under Windows with the same controller and drive it takes around 10 seconds.
    [gali@neutrino ~]$ sudo hdparm -t /dev/sdb1
    /dev/sdb1:
    Timing buffered disk reads: 6 MB in 4.89 seconds = 1.23 MB/sec
    It's a FAT32 volume.
    [gali@neutrino ~]$ cat /proc/mounts | grep sdb1
    /dev/sdb1 /media/GALI_EXT vfat rw,nosuid,nodev,noexec,uid=1000,gid=102,fmask=0133,dmask=0022,codepage=cp437,iocharset=utf8 0 0
    The ehci_usb module is loaded and the device manifests itself as USB 2.0.
    [gali@neutrino ~]$ cat /sys/bus/usb/devices/7-1/speed
    480
    [gali@neutrino ~]$ sudo lsusb -v -s 007:
    Bus 007 Device 002: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x04b4 Cypress Semiconductor Corp.
    idProduct 0x6830 USB-2.0 IDE Adapter
    bcdDevice 2.40
    iManufacturer 0
    iProduct 57 Cypress AT2+LP
    iSerial 44 DEF10C1DEAF7
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 39
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
    Self Powered
    MaxPower 2mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 3
    bInterfaceClass 8 Mass Storage
    bInterfaceSubClass 6 SCSI
    bInterfaceProtocol 80 Bulk (Zip)
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x86 EP 6 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 10
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0001
    Self Powered
    Bus 007 Device 001: ID 0000:0000
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x0000
    idProduct 0x0000
    bcdDevice 2.06
    iManufacturer 3 Linux 2.6.23-ARCH ehci_hcd
    iProduct 2 EHCI Host Controller
    iSerial 1 0000:07:00.2
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 4
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 10 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
    Device Status: 0x0003
    Self Powered
    Remote Wakeup Enabled
    Another interesting thing, which may or may not have anything in common with this issue, is that issuing ANY read or write operation on the drive makes JACK running a FreeBoB driver for a FireWire audio interface connected to the same USB 2.0/FireWire controller collapse. But the low read performance happens regardless of whether the JACK is running or not.
    Anyone has any clue what to check? Thanks in advance.
    Last edited by galiyosha (2007-11-11 21:34:17)

    lilsirecho wrote:Can you change to a different  usb controller?  It may be defective.
    It is probably not, it works fine under Windows and it worked fine as well on another machine with older Arch Linux installation.
    lilsirecho wrote:
    Perhaps the current supplied by the usb controller is inadequate.
    Perhaps a powered hub added if you have one will alleviate the problem....EDITED
    It is an external HDD enclosure, so it is self-powered.
    lilsirecho wrote:One last gasp...check /etc/mkinitcpio.conf for hooks "usb"...
    Well, usb hook is not enabled, but as I don't use the drive for booting, I see no reason for it to be. The required modules (usbcore, ehci_hcd, usb_storage, ide_core) are loaded. Without them, the drive would probably not be mountable at all.
    Thanks for the effort, but neither of the tips probably points to the cause.

  • Performance of the Insertion

    Hi,
    I have a procedure which inserts 3 million Records into the table.
    Whole insertion process is taking 15-17 minutes .
    Oracle version  :- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit
    I have tried using Bulk Collect with Limit 50,000 which is not making much difference as I cannot use forall for insertion.
    I have also tried with Insert select which again is not making difference .
    Can you please suggest me what else I can try to improve the Performance .
    Befor insertion I am Disabling the primary key of the table.
    For your reference I am giving code below.
    --create statement
    create table tmp_tab
      tmp_id NUMBER,
      tmp_cod VARCHAR2(32),
      tmp_date          DATE,
      tmp_num    NUMBER,
      tmp_num1       NUMBER
    create index Idx_tmp on tmp_tab(tmp_id,tmp_num1);
    create table hs_bad
      bad_seq_id            NUMBER,
      bad_id NUMBER,
      bad_cod      VARCHAR2(32),
      bad_date          DATE,
      bad_num    NUMBER,
      bad_num1       NUMBER,
      bad_err_code      VARCHAR2(20),
      bad_message       VARCHAR2(500)
    create table hs_corr
      corr_Seq_id            NUMBER not null,
      corr_id        NUMBER,
      corr_cod      VARCHAR2(32),
      corr_date          DATE,
      corr_num    NUMBER,
      corr_num1       NUMBER
    alter table hs_corr add constraint corr_pk primary key (corr_Seq_id);
    create sequence seq_bad_id;
    create sequence seq_corr_id;
    ----Block which inserts
    declare
    l_err_code   varchar2(10);
    l_err_message varchar2(10);
    l_err_rec number ;
    l_ok_rec number ;
    begin
      for l_cur in (select tmp_id,
                           tmp_cod,
                           tmp_date,
                           tmp_num,
                           tmp_num1,
                           count(*) over(partition by tmp_cod, tmp_date) cnt
                      from (select distinct tmp_id,
                                            tmp_cod,
                                            tmp_date,
                                            tmp_num,
                                            tmp_num1
                              from tmp_tab
                             where tmp_id = 4436
                               and (tmp_num1 <> 0 or tmp_num1 is null))) loop
        if l_cur.tmp_num1 is null or l_cur.tmp_num1 <> 1 or
           l_cur.tmp_date is null or l_cur.tmp_num is null or
           l_cur.tmp_cod is null or l_cur.cnt <> 1 then
          if l_cur.tmp_cod is null then
            l_err_code    := '00020';
            l_err_message := 'error 20';
          elsif (l_cur.tmp_num is null or l_cur.tmp_date is null) then
            l_err_code    := '00023';
            l_err_message := 'error 23';
          elsif (l_cur.tmp_num1 is null or l_cur.tmp_num1 <> 1) then
            l_err_code    := '00024';
            l_err_message := 'error 24';
          elsif l_cur.cnt <> 1 then
            l_err_code    := '00025';
            l_err_message := 'error 25';
          end if;
          insert into hs_bad
            (bad_seq_id,
             bad_id,
             bad_cod,
             bad_date,
             bad_num,
             bad_num1,
             bad_err_code,
             bad_message)
          values
            (seq_bad_id.nextval,
             l_cur.tmp_id,
             l_cur.tmp_cod,
             l_cur.tmp_date,
             l_cur.tmp_num,
             l_cur.tmp_num1,
             l_err_code,
             l_err_message);
          l_err_rec := l_err_rec + 1;
        else
          insert into hs_corr
            (corr_Seq_id, corr_id, corr_cod, corr_date, corr_num, corr_num1)
          values
            (seq_corr_id.nextval,
             l_cur.tmp_id,
             l_cur.tmp_cod,
             l_cur.tmp_date,
             l_cur.tmp_num,
             1);
          l_ok_rec := l_ok_rec + 1;
        end if;
      end loop;
    commit;
    end;
    ---insert statement for tmp_bad (I have 3 million such records for reference I am giving 22 records)
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('26-03-2014', 'dd-mm-yyyy'), 1.0029237, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('25-03-2014', 'dd-mm-yyyy'), 1.0009655, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('24-03-2014', 'dd-mm-yyyy'), 1.0036647, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('21-03-2014', 'dd-mm-yyyy'), 1.0007618, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('20-03-2014', 'dd-mm-yyyy'), 0.99546863, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('19-03-2014', 'dd-mm-yyyy'), 0.99925022, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('18-03-2014', 'dd-mm-yyyy'), 1.0008772, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('17-03-2014', 'dd-mm-yyyy'), 0.99927982, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('14-03-2014', 'dd-mm-yyyy'), 0.99545721, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('13-03-2014', 'dd-mm-yyyy'), 1.0035274, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('12-03-2014', 'dd-mm-yyyy'), 1.0028031, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('11-03-2014', 'dd-mm-yyyy'), 0.99607308, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('10-03-2014', 'dd-mm-yyyy'), 1.005378, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('07-03-2014', 'dd-mm-yyyy'), 1.0011711, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('06-03-2014', 'dd-mm-yyyy'), 0.99464087, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('05-03-2014', 'dd-mm-yyyy'), 1.00101, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('04-03-2014', 'dd-mm-yyyy'), 0.99421354, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('03-03-2014', 'dd-mm-yyyy'), 1.0110608, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('28-02-2014', 'dd-mm-yyyy'), 0.98747385, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('27-02-2014', 'dd-mm-yyyy'), 1.0049316, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('26-02-2014', 'dd-mm-yyyy'), 1.0042771, 1);
    insert into tmp_tab (tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
    values (4436, 'ABCD84043451', to_date('25-02-2014', 'dd-mm-yyyy'), null, 1);
    commit;
    Thanks in advance

    The hs_bad part:
              INSERT INTO hs_bad (bad_seq_id, bad_id, bad_cod, bad_date, bad_num, bad_num1, bad_err_code, bad_message)
              SELECT seq_bad_id.nextval AS bad_seq_id
                    ,tmp_id
                    ,tmp_cod
                    ,tmp_date
                    ,tmp_num
                    ,tmp_num1
                    ,TO_CHAR(error_num,'FM00000')
                    ,NULLIF('error ' || TO_CHAR(error_num),'error ')
                from (    SELECT tmp_id
                                ,tmp_cod
                                ,tmp_date
                                ,tmp_num
                                ,tmp_num1
                                ,CASE
                                    WHEN tmp_cod  IS NULL                     THEN 20
                                    WHEN tmp_num  IS NULL OR tmp_date IS NULL THEN 23
                                    WHEN tmp_num1 IS NULL OR tmp_num1 <> 1    THEN 24
                                    WHEN cnt      <> 1                        THEN 25
                                 END AS error_num
                            FROM (SELECT tmp_id
                                       , tmp_cod
                                       , tmp_date
                                       , tmp_num
                                       , tmp_num1
                                       , COUNT(*) over(partition BY tmp_cod, tmp_date) cnt
                                    FROM tmp_tab
                                   WHERE tmp_id = 4436
                                     AND (tmp_num1 <> 0 OR tmp_num1 IS NULL)
                                   GROUP BY tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
                           WHERE tmp_num1 IS NULL
                              OR tmp_num1 <> 1
                              OR tmp_date IS NULL
                              OR tmp_num  IS NULL
                              OR tmp_cod  IS NULL
                              OR cnt      <> 1);
    the hs_corr part:
              INSERT INTO hs_corr (corr_Seq_id, corr_id, corr_cod, corr_date, corr_num, corr_num1)
              SELECT seq_corr_id.nextval AS bad_seq_id
                    ,tmp_id
                    ,tmp_cod
                    ,tmp_date
                    ,tmp_num
                    ,tmp_num1
                FROM (SELECT tmp_id
                           , tmp_cod
                           , tmp_date
                           , tmp_num
                           , tmp_num1
                           , COUNT(*) over(partition BY tmp_cod, tmp_date) cnt
                        FROM tmp_tab
                       WHERE tmp_id = 4436
                         AND (tmp_num1 <> 0 OR tmp_num1 IS NULL)
                       GROUP BY tmp_id, tmp_cod, tmp_date, tmp_num, tmp_num1)
               WHERE NOT (   tmp_num1 IS NULL
                          OR tmp_num1 <> 1
                          OR tmp_date IS NULL
                          OR tmp_num  IS NULL
                          OR tmp_cod  IS NULL
                          OR cnt      <> 1);
    hth

  • Error While Assigning Ad insert contract from Ad insert orders.

    Hi Experts,
    While performing the transaction for u2018Assigning Ad inserts Contracts from Ad Insert ordersu2019, Iu2019m getting the following error.
    Message no. JVSD056
    I did the following steps.
    a) Created a geographical unit.
    b) Assigned that geographical unit in the BP master of the retailer with a newly created assignment type.
    c) Linked the geographical unit in the booking unit for Ad inserts  in MAM .
    d) Created an Ad insert order in MAM by using the booking unit which has the geographical unit assignment.
    Then tried to execute the u2018Assign Ad inserts Contracts from Ad insert orders. The error message is JVSD056.
    Appreciate if anyone can help me in this. This is the first time we are doing this.
    Regards,
    Suresh

    Hi Helios,
    I hav egone through the document.However i have resolved the error ar: illegal option -- F by following the doc id Doc ID 785828.1
    Now i am facing error while relinking
    Relinking module 'FNDCORE.dll' in product fnd ...
    Removing any existing temp directory
    rm -rf temp
    creating the temp directory
    mkdir temp
    changing permissions for the temp directory
    chmod 777 temp
    Getting the object file names for this FNDCORE.dll
    gnumake -f E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk fndcore.LIST
    E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk:760: *** target pattern contains no `%'. Stop.
    Unable to get the objects for module "FNDCORE.dll".
    See error messages above (also recorded in log file)
    for possible reasons for the failure.
    adrelink is exiting with status 1
    Please advice
    Regards,
    SRK

  • Macbook Pro mid 2012 HDD clicking and low performance

    Hello, everybody!
    I have a question about the HDD, I think it's failing or it's very close to failing.
    From the moment I bought my Macbook Pro 13" mid 2012 model I noticed quite low performance and also very disturbing sound of the HDD clicking, even when I don't touch the laptop. Running Disk Utility check and Apple Diagnostics became my favorite pastime, but it showed no sign of HDD (or other kind of) failure.
    The smartcl shows the following:
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000b   100   100   062    Pre-fail  Always       -       0
      2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
      3 Spin_Up_Time            0x0007   184   184   033    Pre-fail  Always       -       1
      4 Start_Stop_Count        0x0012   099   099   000    Old_age   Always       -       2157
      5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
      7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
      8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
      9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       3208
    10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
    12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       2075
    160 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
    191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
    192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       158913789979
    193 Load_Cycle_Count        0x0012   085   085   000    Old_age   Always       -       151260
    194 Temperature_Celsius     0x0002   187   187   000    Old_age   Always       -       32 (Min/Max 15/42)
    195 Hardware_ECC_Recovered  0x000a   100   100   000    Old_age   Always       -       0
    196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
    197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
    198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
    199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
    223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0
    254 Free_Fall_Sensor        0x0032   096   096   000    Old_age   Always       -       1221
    Also I've noticed that the disk read operation takes more than (I believe) it should. For example, when I turn the laptop on and it was in the hibernation mode, it restores quite quickly and shows the login screen, but it's actually impossible to enter anything there, it just doesn't respond to keyboard or mouse input. By the time the login screen times out I am still unable to enter anything, and it goes back to sleep, and the story repeats.
    More to it, most of the apps take ages to start. Preview starts in 5-10 seconds.
    I thought it shouldn't be a software problem, since I formatted the drive and installed a fresh copy of OS X just two weeks ago.
    So I went to the reseller I bought it from (Compustore here in Germany) and asked to check the laptop. They did, and told me everything was fine with it.
    Is it indeed the normal behavior of Macbooks? I don't have anything to compare to, it's my first Mac, but I'm really far from being satisfied with it. Any suggestions on how to fix this?
    Thank you in advance for any suggestions,
    Elijah.

    Is it indeed the normal behavior of Macbooks?
    No, of course not. It is very abnormal and the reseller's conclusion that everything is fine is obviously incorrect.
    I have no explanation for the fact that Apple Diagnostics nor Disk Utility indicates a fault, but if the problem remained unchanged after taking the extreme measure of completely erasing the hard disk and installing OS X as you explained, then the only remaining cause is a hardware fault that has eluded all attempts to detect it.
    I formatted the drive and installed a fresh copy of OS X just two weeks ago.
    Confim the problems remained immediately after those actions and prior to installing any other software. The most common explanation for the behaviour you describe is the presence of any number of ill-conceived "anti-virus" or "cleanup" utilities.
    If you described the problem and your attempts to rectify it accurately, then the reseller did not perform adequate diagnostic testing, or they are being deliberately deceitful, or they are simply incompetent.

  • Low performance in OBIEE11g

    How I can improve the performance of my OBIEE 11g, specifically with the Publisher (there´s available the configuration tags for this version?). Also another question is to know the limit of registries to show in the report, this because I had one with too many information that doesn´t show correctly the information.
    Thanks in advanced.
    Greetings.

    Quote from: henry;107442
    Hello,
    Firstly, I'd like to apologize for my bad English.
    I have a laptop MSI GE 70 0ND with i7 nad GTX660m.
    I think, that my laptop have low performance in latest games.
    Example, Company of Heroes 2 - 35 fps low graphic.
    This is normal? I decreed some money and I'm disappointed.
    sounds about right, 660M http://www.notebookcheck.net/NVIDIA-GeForce-GTX-660M.71859.0.html
    Company of Heroes 2 2013
     low 1024x768    31.7  fps
     med. 1366x768   25.9  fps  
     high 1366x768    16.2  fps  
    ultra 1920x1080     7  fps

  • Select single to RSEG with very low performance

    Hello experts,
    We have recently upgraded our sap basis from 701 to 740 and we are experiencing a very low performance with the following abap instruction:
    select single * from rseg into lw_rseg where ebeln = lw_output-pedido and
                                                                ebelp = lw_output-item and
                                                                kschl = lw_output-kschl.
    Could it be anything from the upgrade?
    Any suggestions?
    If we change the "*" for only one field of the RSEG table, would the improvement in te performance be significant?
    Thank you.
    Best regards,
    Raquel Oliveira

    Hi, Raquel!
    In SELECT statement you are not using the key fields for RSEG table.
    Replacing "*" by a single field won't do the trick.
    In our system we've got a table index on EBELN and EBELP fields in RSEG and it helps a lot.
    In case you don't want to set additional indexes you can find all incoming invoices for the purchasing document items in EKBE table and then go to RSEG having BELNR, GJAHR and BUZEI fields.
    If you already have table index on RSEG with EBELN & EBELP fields - you can trace SQL statement in ST05 and check whether it uses the index.
    And apart from that - anything can be from upgrade

  • How to increase the performance of an insert query?

    Hi,
    I am using oracle database for our application where we executes one insert query and need the performance of 300 insert queries to be executed per second.
    As of now we are getting only 30/sec.We are not knowing how to tune the database for getting this performance.
    we are doing all this though C programming under both linux and solaris environment.
    Can u guide me in this issue.
    Regards,
    vamsi krishna

    Performance tuning issue is not something you can get a straight forward answer for.
    You need to look at various aspects of the system to get close to or increase the performance of your application. Tuning just the database might not give you want you want.
    So, you need to look at the Application codes, Mermory, Disk IO, etc. Have a look at the Performance Tuning Guide from the Oracle Documentation Library for your Oracle Release and Operating System
    http://www.oracle.com/technology/documentation/index.html#previous

  • Very Low performance Firewire

    Hi
    First.. sorry for Bad translating.
    i notes very low performance of my FW800/400 (i think after EFI/SMC Firmware Update)
    FW800/400 More slowly the USB2 and FW800 cannot see External Devices that working fine with my macbook pro.

    Hey Noorldin,
    I think I have a similar problem. I have always had some issues with the ports (owned the MacPro since the first month it came out) but several months ago things took a turn for the worse. External harddrives no longer work properly. USB drives won't mount, firewire drives will mount but the transfer rate is roughly 1MB a sec and after ~10 MB I get an error and the transfer stops. Other peripherals work for the most part but not well. My external usb microphone will not stop receiving audio signals when turned off and my canon HV20 drops frames during transfers. My awesome fujitsu scansnap scanner, printer, and usb mouse transmitter all work fine though. I used to be able to play many 1080p videos at the same time, now I can not play one without frames dropping even when booted into a new clean internal HDD. The MacPro will only sleep if I manually set it to sleep. The autosleep feature will have the internal hdds spinning up and down all night.
    I spent 20 min on hold to get an Apple rep and then 47 min on hold to get an Apple Specialist. The specialist was very kind and tried many things with me. In the end, the specialist concluded that my Logic board or CPUs were most likely bad and that I should get them tested and possibly replaced. You may need the same.
    One weird thing I tried just the other night was to unplug all USB and Firewire devices, including my 30 in display and wireless mouse hub, and then I plugged in just one firewire hdd. It worked fine!? So, I will continue testing on my own for a while and let you know what I find out from my tests or from the Apple repairs, as I have only seen one other person with an issue like mine and what I believe might be yours too. I have seen many issues with the front ports not working right though.

  • Low performance vs EPG

    I have installed Apex Listener+Glassfish on APEX 4.0.1. Everything is working fine, but firebug shows low performance. For example: the same ajax call performing about 250-350ms with EPG versus 390-430ms with Apex Listener. What am I doing wrong?
    Im also wondering how to properly set-up Cache Files in Apex Listener.

    Hello haXbat,
    it's odd that you get such a high supplement for round trip times when running the Listener on the same machine as your database. Do you see any heavy load on your server that could explain that? Or is your unit "ms" micro seconds instead of milli seconds? I wouldn't say it's bad performance then. ;)
    If you just use "plain APEX", there should be no need to use the Listener instead of EPG.
    But the APEX Listener will get additional features with upcoming releases which won't be available for EPG. On the other hand, there currently also exist features you can configure on EPG that aren't available on the APEX Listener.
    So I'd at least test with the Listener from time to time to be sure everything will run as expected in case you plan to run with the Listener in your production environment.
    -Udo

  • HT3743 Every time I open the app injustice my iPod gives me a message that says: " Warning, this device is not officially supported. You may experience low performance and instability." I have never jail broken my iPod and I don't know what's wrong. Ideas

    Every time I open the app injustice my iPod gives me a message that says: " Warning, this device is not officially supported. You may experience low performance and instability." I have never jail broken my iPod and I don't know what's wrong. Ideas?

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Low performance in my GE70 0ND

    Hello,
    Firstly, I'd like to apologize for my bad English.
    I have a laptop MSI GE 70 0ND with i7 nad GTX660m.
    I think, that my laptop have low performance in latest games.
    Example, Company of Heroes 2 - 35 fps low graphic.
    This is normal? I decreed some money and I'm disappointed.

    Quote from: henry;107442
    Hello,
    Firstly, I'd like to apologize for my bad English.
    I have a laptop MSI GE 70 0ND with i7 nad GTX660m.
    I think, that my laptop have low performance in latest games.
    Example, Company of Heroes 2 - 35 fps low graphic.
    This is normal? I decreed some money and I'm disappointed.
    sounds about right, 660M http://www.notebookcheck.net/NVIDIA-GeForce-GTX-660M.71859.0.html
    Company of Heroes 2 2013
     low 1024x768    31.7  fps
     med. 1366x768   25.9  fps  
     high 1366x768    16.2  fps  
    ultra 1920x1080     7  fps

  • How to know if system is running in 40W low performance mode ?

    I experienced the same problem than described in this topic: lower performance with charger than with battery!
    (But I had set everything on Maximum Performance both in BIOS and in Windows's Power settings, so I think everything was done on software-side).
    How to know if the system runs with lower performance (is it a 40W max mode? btw how did you know it is called "40W mode" ? I saw this figure nowhere else than in the mentioned-above topic) , except using a soft to do some benchmarking? Is there a place in BIOS (I didn't find!) ?

    Benoit34 wrote:
    Hi,
    I have a mac book pro & a friend has an Imac, how to know if we are both running Leopard under 32 or 64 bit.
    I see that Leopard support 64, but didn't find if it was actually running in 64.
    Regards,
    Benoit
    Welcome to Apple Discussions:
    if your computer is 64-bit, Leopard is running in the 64-bit mode. There are a few caveats about this but basically this is the case.

  • I can't update the iphone4, from an insertion iOS4.3.1 on an insertion iOS 4.3.3 - itunes gives out me an error 3259. What to me to do? How to me to update the iphone?

    I can't update the iphone4, from an insertion iOS4.3.1 on an insertion iOS 4.3.3 - itunes gives out me an error 3259. What to me to do? How to me to update the iphone?

    Temporarily disable your firewall and ALL of your antivirus/antispyware software and try again.

  • How to do you control lower levels from the Stage?

    How to you control lower levels from the Stage?
    I have a button on the main stage and I have a symbol that has another symbol inside that I want to control that timeline or label.
    I have had success with going one level deep but not two or three deep.
    sym.getSymbol("symbol01").stop("label01");
    Any help would be great!
    Thanks.

    Can you explain the hierachy of your symbols? By this I mean, name of your symbol and any symbol inside and any symbol inside nested symbol and what event you are triggering from where?

Maybe you are looking for

  • How can I put the report generated by a program into a File?

    Hi all,    How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible. I need to export this file to memory,How can I do that?? Regards, Shashank.

  • Calendar will not sync with Yahoo via DM

    First timer here....researched this issue in this forum and have tried everything being offered but I have not had any luck.  Here is what has happened....initailly tried to set up google calendar (business) to go along with yahoo calendar (personal)

  • XSLT Mapping - Unable to find resource

    Hi all,   We upgraded our XI system and tried to test one of our well-running scenarios and found the following error for most of the XSLT mappings. <br> <b>Unable to find resource mapping.xsl</b> <br> But I found that the runtime cache contains the

  • How to execute ODI scenario from a web application

    Hi I need to execute ODI scenario from ApEx form. how to execute ODI scenario from application. Using 10.1.3.5.5 -app

  • Delivary

    Dear all,                is there any possibility to deliver an item with pick quantity less than or greater than order quantity?If yes pls, let me know. Thanks. Aditya.