E-Rows = NULL and A-Rows=42M? Need help in understanding why.

Hi,
Oracle Standard Edition 11.2.0.3.0 CPU Oct 2012 running on Windows 2008 R2 x64. I am using Oracle 10g syntax for WITH clause as the query will also run on Oracle 10gR2. I do not have a Oracle 10gR2 environment at hand to comment if this behaves the same.
Following query is beyond me. It takes around 2 minutes to return the "computed" result set of 66 rows.
SQL> WITH dat AS
  2          (SELECT 723677 vid,
  3                  243668 fid,
  4                  TO_DATE ('06.03.2013', 'dd.mm.yyyy') mindt,
  5                  TO_DATE ('06.03.2013', 'dd.mm.yyyy') maxdt
  6             FROM DUAL
  7           UNION ALL
  8           SELECT 721850,
  9                  243668,
10                  TO_DATE ('06.02.2013', 'dd.mm.yyyy'),
11                  TO_DATE (' 22.03.2013', 'dd.mm.yyyy')
12             FROM DUAL
13           UNION ALL
14           SELECT 723738,
15                  243668,
16                  TO_DATE ('16.03.2013', 'dd.mm.yyyy'),
17                  TO_DATE ('  04.04.2013', 'dd.mm.yyyy')
18             FROM DUAL)
19      SELECT /*+ GATHER_PLAN_STATISTICS */ DISTINCT vid, fid, mindt - 1 + LEVEL dtshow
20        FROM dat
21  CONNECT BY LEVEL <= maxdt - mindt + 1
22  order by fid, vid, dtshow;
66 rows selected.
SQL>
SQL> SELECT * FROM TABLE (DBMS_XPLAN.display_cursor (NULL, NULL, 'ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID  9c4vma4mds6zk, child number 0
WITH dat AS         (SELECT 723677 vid,                 243668 fid,
            TO_DATE ('06.03.2013', 'dd.mm.yyyy') mindt,
TO_DATE ('06.03.2013', 'dd.mm.yyyy') maxdt            FROM DUAL
UNION ALL          SELECT 721850,                 243668,
   TO_DATE ('06.02.2013', 'dd.mm.yyyy'),                 TO_DATE ('
22.03.2013', 'dd.mm.yyyy')            FROM DUAL          UNION ALL
    SELECT 723738,                 243668,                 TO_DATE
('16.03.2013', 'dd.mm.yyyy'),                 TO_DATE ('  04.04.2013',
'dd.mm.yyyy')            FROM DUAL)     SELECT /*+
GATHER_PLAN_STATISTICS */ DISTINCT vid, fid, mindt - 1 + LEVEL dtshow
    FROM dat CONNECT BY LEVEL <= maxdt - mindt + 1 order by fid, vid,
dtshow
Plan hash value: 1865145249
| Id  | Operation                              | Name | Starts | E-Rows | A-Rows |   A-Time   |  OMem |  1Mem | Used-Mem |
|   0 | SELECT STATEMENT                       |      |      1 |        |     66 |00:01:54.64 |       |       |          |
|   1 |  SORT UNIQUE                           |      |      1 |      3 |     66 |00:01:54.64 |  6144 |  6144 | 6144  (0)|
|   2 |   CONNECT BY WITHOUT FILTERING (UNIQUE)|      |      1 |        |     42M|00:01:04.00 |       |       |          |
|   3 |    VIEW                                |      |      1 |      3 |      3 |00:00:00.01 |       |       |          |
|   4 |     UNION-ALL                          |      |      1 |        |      3 |00:00:00.01 |       |       |          |
|   5 |      FAST DUAL                         |      |      1 |      1 |      1 |00:00:00.01 |       |       |          |
|   6 |      FAST DUAL                         |      |      1 |      1 |      1 |00:00:00.01 |       |       |          |
|   7 |      FAST DUAL                         |      |      1 |      1 |      1 |00:00:00.01 |       |       |          |
--------------------------------------------------------------------------------------------------------------------------If I take out one of the UNION queries, the query returns in under 1 second.
SQL> WITH dat AS
  2          (SELECT 723677 vid,
  3                  243668 fid,
  4                  TO_DATE ('06.03.2013', 'dd.mm.yyyy') mindt,
  5                  TO_DATE ('06.03.2013', 'dd.mm.yyyy') maxdt
  6             FROM DUAL
  7           UNION ALL
  8           SELECT 721850,
  9                  243668,
10                  TO_DATE ('06.02.2013', 'dd.mm.yyyy'),
11                  TO_DATE (' 22.03.2013', 'dd.mm.yyyy')
12             FROM DUAL)
13      SELECT /*+ GATHER_PLAN_STATISTICS */ DISTINCT vid, fid, mindt - 1 + LEVEL dtshow
14        FROM dat
15  CONNECT BY LEVEL <= maxdt - mindt + 1
16  order by fid, vid, dtshow;
46 rows selected.
SQL>
SQL> SELECT * FROM TABLE (DBMS_XPLAN.display_cursor (NULL, NULL, 'ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID  1d2f62uy0521p, child number 0
WITH dat AS         (SELECT 723677 vid,                 243668 fid,
            TO_DATE ('06.03.2013', 'dd.mm.yyyy') mindt,
TO_DATE ('06.03.2013', 'dd.mm.yyyy') maxdt            FROM DUAL
UNION ALL          SELECT 721850,                 243668,
   TO_DATE ('06.02.2013', 'dd.mm.yyyy'),                 TO_DATE ('
22.03.2013', 'dd.mm.yyyy')            FROM DUAL)     SELECT /*+
GATHER_PLAN_STATISTICS */ DISTINCT vid, fid, mindt - 1 + LEVEL dtshow
    FROM dat CONNECT BY LEVEL <= maxdt - mindt + 1 order by fid, vid,
dtshow
Plan hash value: 2232696677
| Id  | Operation                              | Name | Starts | E-Rows | A-Rows |   A-Time   |  OMem |  1Mem | Used-Mem |
|   0 | SELECT STATEMENT                       |      |      1 |        |     46 |00:00:00.01 |       |       |          |
|   1 |  SORT UNIQUE                           |      |      1 |      2 |     46 |00:00:00.01 |  4096 |  4096 | 4096  (0)|
|   2 |   CONNECT BY WITHOUT FILTERING (UNIQUE)|      |      1 |        |     90 |00:00:00.01 |       |       |          |
|   3 |    VIEW                                |      |      1 |      2 |      2 |00:00:00.01 |       |       |          |
|   4 |     UNION-ALL                          |      |      1 |        |      2 |00:00:00.01 |       |       |          |
|   5 |      FAST DUAL                         |      |      1 |      1 |      1 |00:00:00.01 |       |       |          |
|   6 |      FAST DUAL                         |      |      1 |      1 |      1 |00:00:00.01 |       |       |          |
26 rows selected.What I cannot understand is why the E-Rows is NULL for "CONNECT BY WITHOUT FILTERING (UNIQUE)" step and A-Rows shoots up to 42M for first case. The behaviour is the same for any number of UNION queries above two.
Can anyone please help me understand this and aid in tuning this accordingly? Also, I would be happy to know if there are better ways to generate the missing date range.
Regards,
Satish

May be, this?
WITH dat AS
            (SELECT 723677 vid,
                    243668 fid,
                    TO_DATE ('06.03.2013', 'dd.mm.yyyy') mindt,
                    TO_DATE ('06.03.2013', 'dd.mm.yyyy') maxdt
               FROM DUAL
             UNION ALL
             SELECT 721850,
                    243668,
                   TO_DATE ('06.02.2013', 'dd.mm.yyyy'),
                   TO_DATE (' 22.03.2013', 'dd.mm.yyyy')
              FROM DUAL
            UNION ALL
            SELECT 723738,
                   243668,
                   TO_DATE ('16.03.2013', 'dd.mm.yyyy'),
                   TO_DATE ('  04.04.2013', 'dd.mm.yyyy')
              FROM DUAL)
       SELECT  vid, fid, mindt - 1 + LEVEL dtshow
         FROM dat
  CONNECT BY LEVEL <= maxdt - mindt + 1
      and prior vid = vid
      and prior fid = fid
      and prior sys_guid() is not null
  order by fid, vid, dtshow;
66 rows selected.
Elapsed: 00:00:00.03

Similar Messages

  • Need help in understanding why so many gets and I/O

    Hi there,
    I have a sql file somewhat similar in structure to below:
    delete from table emp;-- changed to Truncate table emp;
    delete from table dept;--changed to Truncate table dept;
    insert into emp values() select a,b,c from temp_emp,temp_dept where temp_emp.id=temp_dept.emp_id
    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
    commit --only at the end
    the above file takes about 9-10 hrs to complete its operation. and
    the values from v$sql for the statement
    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
    are as below:
    SHARABLE_MEM     PERSISTENT_MEM     RUNTIME_MEM     SORTS     LOADED_VERSIONS     OPEN_VERSIONS     USERS_OPENING     FETCHES     EXECUTIONS     PX_SERVERS_EXECUTIONS     END_OF_FETCH_COUNT     USERS_EXECUTING     LOADS     FIRST_LOAD_TIME     INVALIDATIONS     PARSE_CALLS     DISK_READS     DIRECT_WRITES     BUFFER_GETS     APPLICATION_WAIT_TIME     CONCURRENCY_WAIT_TIME     CLUSTER_WAIT_TIME     USER_IO_WAIT_TIME     PLSQL_EXEC_TIME     JAVA_EXEC_TIME     ROWS_PROCESSED     COMMAND_TYPE     OPTIMIZER_MODE     OPTIMIZER_COST     OPTIMIZER_ENV     OPTIMIZER_ENV_HASH_VALUE     PARSING_USER_ID     PARSING_SCHEMA_ID     PARSING_SCHEMA_NAME     KEPT_VERSIONS     ADDRESS     TYPE_CHK_HEAP     HASH_VALUE     OLD_HASH_VALUE     PLAN_HASH_VALUE     CHILD_NUMBER     SERVICE     SERVICE_HASH     MODULE     MODULE_HASH     ACTION     ACTION_HASH     SERIALIZABLE_ABORTS     OUTLINE_CATEGORY     CPU_TIME     ELAPSED_TIME     OUTLINE_SID     CHILD_ADDRESS     SQLTYPE     REMOTE     OBJECT_STATUS     LITERAL_HASH_VALUE     LAST_LOAD_TIME     IS_OBSOLETE     CHILD_LATCH     SQL_PROFILE     PROGRAM_ID     PROGRAM_LINE#     EXACT_MATCHING_SIGNATURE     FORCE_MATCHING_SIGNATURE     LAST_ACTIVE_TIME     BIND_DATA     TYPECHECK_MEM
    18965     8760     7880     0     1     0     0     0     2     0     2     0     2     2011-05-10/21:16:44     1     2     163270378     0     164295929     0     509739     0     3215857850     0     0     20142     6     ALL_ROWS     656     E289FB89A4E49800CE001000AEF9E3E2CFFA331056414155519421105555551545555558591555449665851D5511058555155511152552455580588055A1454A8E0950402000002000000000010000100050000002002080007D000000000002C06566001010000080830F400000E032330000000001404A8E09504646262040262320030020003020A000A5A000     4279923421     50     50     APPS     0     00000003CBE5EF50     00     1866523305     816672812     1937724149     0     SYS$USERS     0     01@</my.sql     -2038272289          -265190056     0          9468268067     10420092918          00000003E8593000     6     N     VALID     0     2011-05-11/10:23:45     N     5          0     0     1.57848E+19     1.57848E+19     5/12/2011 4:39          0
    1) how do i re-write this legacy script? and what should be done to improve performance?
    2) Should i use PL/sql to re-write it?
    3) Also help in understanding why a simple update statement is doing so many buffer gets and reading , Is this Read consistency Trap as i'm not committing anywhere in between or it is actually doing so much of work.
    (assume dept table has cols emp_name and emp_id also)

    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);I guess that these are masked table names ? Nobody would have emp_name in a dept table.
    Can you re-format the output, using "code" tags ( [  or {  }
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 12, 2011 12:44 PM

  • My Iphone 4s is not being recognized by itunes at all. There is no connection, the cable i am using is not the problem because itunes will recognize my Ipad2 and Ipod thru it. I have the most current itunes and phone software I need help!

    My Ihone 4s is not being recognized by Itunes.There seems to be  no connection, the cable i am using is not the problem because itunes will recognize my Ipad2 and Ipod thru it. I have the most current itunes and phone software I need help!

    Thank you allan this worked, the final thing was updating the driver softwar for the AMDS in device manager. Thanks again.

  • HT4946 hii, on my iphone 4s, i tried upgrading my OS and i was asked if i needed back up and i said yes, after upgrading i couldnt find any of my files, document, pictures, music and all. please i need help please.

    hii, on my iphone 4s, i tried upgrading my OS and i was asked if i needed back up and i said yes, after upgrading i couldnt find any of my files, document, pictures, music and all. please i need help please.

    Hi,
    usually when you upgrade, it should not delete your files, but if it happens, than you should have a backup.
    Unfortunately it is very common, that people don't know, what exactly is in the backup.
    The question is, what files exactly you are missing? Own pictures, or taken with the device? Purchased music form the iTunes Store, or own? ....
    Documents and files are mostly up to the developer of the app, if they are part of the backup, usually not and you need to transfer them before.
    In the backup you will find just pictures from the Camera Rolle folder, everything else you should have on the PC, if you had it on the device.
    Same then for music, you can transfer purchased music from the device, but your own works just one direction, from PC to device, from device to PC it doesn't work.
    In future I recomand you to be sure how the backup works or use a 3rd party app (iExplorer) where you have a little bit more "freedome" than with iTunes.
    Or you maybe just restored from the worng backup

  • I bought apps from apps store,my money was taken and den I downloaded the pass buh 2 didn't work .it told me iTunes failed to install app,the apps were the dark knight rises(batman) and asphalt 7 I need help plss am using iPad 2

    bought apps from apps store,my money was taken and den I downloaded the apps buh 2 didn't work .it told me iTunes failed to install app,the apps are the dark knight rises(batman) and asphalt 7 I need help plss am using iPad 2

    Although iTune terms says that all sales are final. You can try explaining to get a refund.
    http://www.apple.com/support/itunes/contact/

  • Need help in understanding the error ORA-01843: not a valid month - ECX_ACT

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

  • I need help in understanding the customization of Landscape in R/3.

    I need help in understanding the customization of Landscape in R/3. Setup of SAP Landscape from an SAP SD point of view. Being as SAP SD consultant what would be my role in customizing the Landscape server. Help needed. Thx

    Hi,
    In a standard SAP project implementation, the 3 standard transport procedures are:
    Development System (DEV) --> QA System (QAS) --> Production System (PRD)
    In the above structure, the Training Client (TRN) could be made from the copy of PRD (after when real-time master data has been available) or from QA system (where configuration has been tested in DEV client, and the master data is uploaded manually for training purposes)
    Sandbox (standalone): This can be refreshed with Golden Client to reflect the latest configuration performed to facilitate the development/testing purposes.
    -Development (DEV): Where all system configurations and development activities are carried out.
    -Quality Assurance (QAS): Where functional testing is carried out. The System Integration Testing (carried out by the -Development Team) and the User Acceptance Testing (carried out by XXX appointed personnel) is carried out in this server.
    -Training (TRN): End Users are trained on this server.
    -Production (PRD): After the System is commissioned all data entry and administrative functions will be carried out in this server.
    This is by far the standard landscape architecture that is adopted and practiced in most implementations.
    Hope the above helps.
    Thanks.

  • TS3798 I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • For some reason Firefox is not asking if I wish to save the user name and password anymore. Please help as to why.

    For some reason Firefox is not asking if I wish to save the user name and password anymore. Please help as to why.

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    * Make sure that you not run Firefox in [[Private Browsing]] mode
    * In Private Browsing mode some menu items are disabled (grayed) and features like visited links are disabled and not showing
    * You are in Private Browsing mode if you see "Tools > Stop Private Browsing", possibly grayed
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"

  • I forgotten my bit locker password and recovery key.i need help .................

    i lost my bit locker password and i lost recovery key,i need help ..please help ......such important things are there in my e drive....pls mail me [email address redacted]

    Unfortunately if you lose the password and the recovery key you are not able to decrypt and access the information, that is the sole purpose of BitLocker.
    Blogging about Windows for IT pros at
    www.theexperienceblog.com

  • My computer freezes and stops working I NEED HELP FAST I bought it 3 days ago from BestBuy brand new

    my computer i bought 3 days ago from BestBuy brand new in the box freezes and stops working or not responding and lags all the time and i always have to push the power button on the computer for me to restart it because i cant do anything on my computer i cant use ctrl + alt + del or click on anything and i spent $965 on my HP Pavilion HPE Series h8-1224 computer with 10GB ram and 2TB HDD and 1024MB Video memory with windows 7 home premium 64bit...I need help on how to stop my computer from freezing up or lagging or not responding all the time because i dont know what program i installed last before it happened or what i did wrong i dont know i just want my pc running perfect forever 

    I did the First step and reinstalled everything and then its starting to happen again everytime i right click on the desktop or type anything or do anything on my desktop it freezes up or lags or the whole intire scrren goes away and all i see is my wallpaper on my computer and i try press Ctrl + Alt + Del it takes long then it says could not start Ctrl + Alt + Del and i try pressing Ctrl + Shift + Esc for task manager it that doesnt come up man i had it for 10 days now **bleep** is wrong with this new desktop cuz i had another HP desktop for 6 years then it died on me but this computer only 10 days and im already having problems what els can i do i already restored my pc and it formated my 2TB hard drive this gotta stop man its pissing me off i cant do anything

  • Need help on understanding COLUMN_IID, COLUMN_ID and ROW_IID

    Dear All,
    I need some help in understanding the below three things.
    COLUMN_IID, COLUMN_ID and ROW_IID
    First let me write down the requirement :
    I need to keep track of the scores on various status change.
    In the design of the template, we have something called 'Company Objectives' and 'Team Objectives' and 'Individual Objectives'.
    And under every heading, there are some objectives and a score beside it.
    When the document is with the employee, then he/she decides the score (0-Not started and 5-Completed). And when the employee submits the document then it goes to manager. The manager may change the score against an objective.
    Now, the requirement is with every change of status and substatus, i need to take a note of the score. Is this value stored in any standard table. I checked the table HRHAP_FURTHER but i cannot
    When i check the Function Modules 'HRHAP_DOCUMENT_GET_DETAIL' and 'HRHAP_DOC_FURTHER_READ', then i see those values but against various ROW_IID and COLUMN_IID and COLUMN_ID. I need to know how to catch the ROW_IID and COLUMN_IDD and COLUMN_ID for a particular objective. And what is the concept of the ROW_IID and COLUMN_IID and COLUMN_ID.
    Please let me know if something is not very clear. I will try to give some more explaination.

    Hi,
    For the context, in case it was not clear in the original message, we are talking Performance Management.
    As you know the documents are based on appraisal templates. On document create this template is read and the different elements are generated. As we can have the same element type/id multiple times in a template/document we need something to uniquely identify them. This is done via the ROW_IIID.
    Then for each element we can define which columns we use. A column is identified with COLUMN_ID, which i9s unique when we are on template configuration level. But on document level this is not the case. Due to the Part Appraiser columns (PAPP/PFGT) being multiplied by the number of part appraisers in the document the COLUMN_ID is not unique anymore. So we need to give them also a unique ID, which is the COLUMN_IID.
    Thats the short answer, I will write a longer document on it one of these days in my blog.
    Regards and Groetjes,
    Maurice Hagen

  • Need help to understand the relation bw VBKD and VBAP

    Hi all,
    I have a requiement to display the incoterms of ship-to-party if Ship-to-party is differnt from sold-to-party.
    At header level it is ok,,but at item level im facing some problems.
    READ TABLE xvbkd WITH KEY vbeln = xvbap-vbeln
                                        posnr = xvbap-posnr.
              IF sy-subrc = 0.
                xvbkd-inco1 = wa_xvbkd-inco1.
                xvbkd-inco2 = wa_xvbkd-inco2.
                MODIFY xvbkd FROM wa_xvbkd INDEX sy-tabix TRANSPORTING  inco1 inco2.
              ENDIF.
    Im getting the incotems but the problem is xvbkd does get populated with the items though VBAP has multiple items.
    Pls help me to understand why VBKD does nt get populated with item details.
    In some cases it gets populated, then it is working fine.
    Your valuable suggesstion is highly appricated.
    Rgs,
    Priya

    Pls help me to understand why VBKD does nt get populated with item details
    Hi,
    When you define a table lookup for the table VBKD (Sales document: Business data), data does not have to be present for every item in the sales document. If the item data is no different than the header data, the system does not store it in the item as well. In this case, you can find the valid values in the header data, which is stored in table VBKD under the item number "000000".
    Thus, if you want to read incoterms values from VBKD, you always need to define two table lookups:
    1: Table lookup in table VBKD using the key VBELN and POSNR;
    2: Table lookup in table VBKD using the key VBELN and POSNR ="000000" (if the 1st lookup failed)
    Regards,
    Andrea

  • When I open up photo booth, it just freezes and then lags. Need Help!!

    Ever since I upgraded to Lion, my photobooth freezes upon opening. It's begining to really annoying. Is there anything I can do to fix this?

    (1) First, restart your Mac and test again.  If the problem remains:
    • Use the  > Software Update... menu command to be sure
        your Apple software is up to date.  Then test PB again. 
        If your Mac still does not work correctly, continue.
    • Use Disk Utility to repair permissions and then
       download and apply the 10.7.2 Combo Update:
         http://support.apple.com/kb/DL1459
    • Repair permissions again immediately following the system restart
       that completes the Combo update.
    Properly applying the Combo version of updates sometimes
    corrects strange problems.  If not, try (2) below.
    (2) This takes longer, but it may be necessary to correct the problem.
    Start here if you need help with this step: http://support.apple.com/kb/HT4718
    • First try using Lion Recovery to repair your disk.  Then test again. 
    • If repair does not correct the trouble, your initial Lion install may have
      been faulty.  You will need to reinstall Lion to correct a faulty installation.
    When the reinstall is complete, if your  > About this Mac menu command
    does not show version 10.7.2, Mac apply the Combo update again as above.
    After you have reinstalled and updated Lion, do NOT reinstall any third party
    software, at least until you have tested PB and have it working properly. 
    Message was edited by: EZ Jim

  • My iPhone 5 keeps saying sim failure and invalid sim I need help please!?!?!

    I really need help I just got my iPhone 5 yesterday and its telling me "sim failure" and then "invalid sim" shows up on the top left corner. I had an android before so I didn't need a SIM card so I went to apple and they gave me one and them went to sprint to activate my iPhone to my number but it still shows those annoying messages!!!

    this is my second nano sim and i made an appointment at apple and they swapped my iphone for a new one and still the same should i call customer service? its getting me so ****** cause i have to pop the sim slot everytime it tells me sim failure so it can go back to normal then in 5 mins it shows up again

Maybe you are looking for