Macbook air updates taking too long
I just bought my macbook air. It needs 13 program updates. I started to do them all at once, and it was estimated to take over 900 hours. I stopped it and started to do them one at a time. Doing that, I was able to update 6 of them. One of them is 66KB and is estimated to take 10 hours. Seems pretty crazy. Is this normal?
Don't get too anxious about estimated times. The estimator constantly updates as the download progresses. It observes how much data needs to be downloaded, how long it took for the portion already downloaded, and extrapolates from that. It gets more accurate as it goes. The numbers can be pretty wild at first. It's like trying to estimate your MPG after driving 2 blocks.
Similar Messages
-
Hi everyone,
I have a small problem with a simple update statement that takes more than 15 minutes to execute. I really don't understand why it's taking that much. I'm using Oracle 10g (release 5).
Here is the statement:
EXPLAIN PLAN FOR
UPDATE local_persons a
SET a.is_deleted = '1'
WHERE NOT EXISTS (SELECT 1
FROM remote_persons_mv z
WHERE a.person_id = z.person_id
AND a.institution_code = z.institution_code
UNION ALL
SELECT 1
FROM cf_additional_persons z
WHERE a.person_id = z.person_id
AND z.transform_type = 'CREATE');If you want to know how much records by table (remote_persons_mv is a materialized view).
- local_persons : 48770 records
- cf_additional_person: 4 records
- remote_persons_mv: 48766 records
Here is the execution plan I get.
Plan hash value: 3382227091
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 2285 | 52555 | 7602K (1)| 25:20:27 |
| 1 | UPDATE | LOCAL_PERSONS | | | | |
|* 2 | FILTER | | | | | |
| 3 | TABLE ACCESS FULL | LOCAL_PERSONS | 45702 | 1026K| 125 (3)| 00:00:02 |
| 4 | UNION-ALL | | | | | |
|* 5 | MAT_VIEW ACCESS FULL| REMOTE_PERSONS_MV | 5 | 175 | 176 (2)| 00:00:03 |
|* 6 | TABLE ACCESS FULL | CF_ADDITIONAL_PERSONS | 1 | 20 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - filter( NOT EXISTS ( (SELECT 1 FROM "REMOTE_PERSONS_MV" "Z" WHERE "Z"."PERSON_ID"=:B1
AND "Z"."INSTITUTION_CODE"=:B2) UNION ALL (SELECT 1 FROM "CF_ADDITIONAL_PERSONS" "Z"
WHERE "Z"."PERSON_ID"=:B3 AND "Z"."TRANSFORM_TYPE"='CREATE')))
5 - filter("Z"."PERSON_ID"=:B1 AND "Z"."INSTITUTION_CODE"=:B2)
6 - filter("Z"."PERSON_ID"=:B1 AND "Z"."TRANSFORM_TYPE"='CREATE')
Note
- dynamic sampling used for this statementI also checked if my statistics are correctly gathered and it seems so:
SELECT table_name, pct_free, num_rows, blocks, avg_row_len, last_analyzed
FROM all_tables
WHERE table_name = 'LOCAL_PERSONS';
LOCAL_PERSONS 10 48770 622 74 09/11/11
SELECT table_name, pct_free, num_rows, blocks, avg_row_len, last_analyzed
FROM all_tables
WHERE table_name = 'REMOTE_PERSONS_MV';
REMOTE_PERSONS_MV 10 48766 896 114 09/11/11I know that pct_free is not computed in statistics.
Does anyone have any idea about why is it taking soooo long??
Thanks,You could also try to change the query so that instead of a NOT exists you do an IN + left join.
Looking at the execution plan the optimizer already seem to be doing this, but I might be mistaken. I just wonder where the second table access to local_persons is coming from.
Also important might be how many rows are already marked as deleted. Your select each time reconsiders those rows, without any need to do so. This might take much time. I added "a.is_deleted = '0' " in the next example.
untested
UPDATE local_persons a
SET a.is_deleted = '1'
WHERE a.is_deleted = '0' /* might be IS NOT NULL expression, depending how your column is filled */
AND a.id in ( /* here we build a list of IDs to be deleted */
select p2.id
from local_persons p2
left join remote_persons_mv z on p2.person_id = z.person_id and p2.institution_code = z.institution_code
left join cf_additional_persons ap on ap.person_id = p2.person_id and ap.transform_type = 'CREATE'
where z.person_id is null
and ap.person_id is null
)Edited by: Sven W. on Nov 9, 2011 4:03 PM -
My macbook pro is taking too long to load
I recently droped my macbook and had to have the hard drive replace. I just got it back, but its taking much longer to load. There is now a light blue screen first, then it swithches to another blue screen with an apple symbol with that thinking circle thing, followed by a darker blue screen with an arrow in top right corner. Then it finally loades. What is Wrong with my macbook?
Check the Startup Disk in System Preferences and make sure your HDD is selected.
Does this happen everytime you re-boot? -
Software update taking too long!
Hi,
I recently got myself a Macbook Pro 13" newer version (late 2011 model) running Mac OS X Lion.
Today I got a system update notification for safari, and it asked me to restart the Macbook for system update.
Its been 15 minutes since that update is installing, and after reboot the Macbook is just stuck on "installing 1 item - Running package scripts" in Software Update window.
Mouse is working fine though. Nothing seems frozen - even the progress bar is showing some animation, but it just isnt going ahead!
Any ideas for a Mac noobie?
Much Thanks!Those CD's that come with the BT HomeHub are a waste of time, they are full of rubbish that you dont need and waste space on the pc. My Hub has been running happily since day one without the software- the settings are changed here http://bthomehub.home the passwords etc are on the back of the Hub and wireless settings card.
If you have Option 2 or 3 Broadband then BT Net Protect is not on the CD, but here:- https://www.securedownload.bt.com/BTGuard/Guard?beanName=OnlineCustomer&block=online&authenticationR...
To get the hub going then you need a pin, push the reset to defaults on the side for about 10 seconds and release, wait for the Hub to boot then it will work as normal.
If your connecting wirelessly then you need the wireless settings card this will tell you what your SSID name is and your passcode- open the wireless networks on your laptop and select device enter passcode- Done!
Hope this helps! -
I finally got my iphone to start the update, but the estimated time remaining was 41 hours. should I keep going on the update or should I stop? I don't want to see an error after waiting for two days.
were you finally able to get the update?
It just doesn't happen on my phone.
It is stuck on Preparing to update for over an hour now -
I come across that the tablet/pc needes a BIOS Update which automatically began. But that was at 6pm(Puerto Rico Time) and its 10:43pm and its still going. I can not do anything else on the tablet/pc. I bought the tablet/pc online. I got it at the begining of the year. What can I do ?
May I know the model name and number of your device? Also if you can remember the SP number of the BIOS update you used.
-
Regarding iPhoto '11 9.5 (902.7 build running on an older Intel based MacBook Pro with iPhoto libraries on a USB2 External HD). I am dealing with iPhoto taking too long to download photos. Specifically, I rechecked and repaired HD permissions. I am running the most current software my five year old Intel MacBook Pro can run. What happens is that when I connect an external SD card, or my iPhone, the new version of iPhoto takes up to two full minutes to fully acknowledge the device. Then locate new photos and be ready to download them to my external HD. I am kind of concerned about this. This has never happened before.
I take 20,000 photos a year. I really don't want to lose any. Or is there something I am doing wrong? Or need to be aware of? Any experienced suggestions would be appreciated. Thanks. Have a great day.
PS.... The cameras I use are Canon SX-30, Nikon D3100, and my iPhone 4S. Thanks again for your assistance.Hello Old Toad.... Those sound like great ideas.
I thought I checked and repaired disk permissions on my main boot HD. That boot disk is Mac OS Extended (Journaled) Capacity 749.3 GB. Available 562.53 GB. BUT.... now that I think of it.... the Seagate external HD with USB2 interface is: Mac OS Extended (Journaled), Capacity 639.79 GB, Available 36.2 GB with my latest iPhoto Library 517.37 GB that was already scanned & updated to be read by the latest iPhoto version.
I'll try your suggestions tonight as far as double checking 'permissions' and setting up a tiny test library.
Or maybe it's time to fill up another External HD?
I appreciate your and anyone else's suggestions to try.
Have a great day. ~~ David in Rochester NY -
Why iPad2 is taking too long time for a software update?
Hi, i have iPad2 with iOS 4.3, now I'd like to update to iOS 6.1.2, but it is taking too long time to update when i connect to iYunes.My internet speed is 15mbps.I am unable to understand the problem.Please help me
Hi, i have iPad2 with iOS 4.3, now I'd like to update to iOS 6.1.2, but it is taking too long time to update when i connect to iYunes.My internet speed is 15mbps.I am unable to understand the problem.Please help me
-
SQL Update statement taking too long..
Hi All,
I have a simple update statement that goes through a table of 95000 rows that is taking too long to update; here are the details:
Oracle Version: 11.2.0.1 64bit
OS: Windows 2008 64bit
desc temp_person;
Name Null? Type
PERSON_ID NOT NULL NUMBER(10)
DISTRICT_ID NOT NULL NUMBER(10)
FIRST_NAME VARCHAR2(60)
MIDDLE_NAME VARCHAR2(60)
LAST_NAME VARCHAR2(60)
BIRTH_DATE DATE
SIN VARCHAR2(11)
PARTY_ID NUMBER(10)
ACTIVE_STATUS NOT NULL VARCHAR2(1)
TAXABLE_FLAG VARCHAR2(1)
CPP_EXEMPT VARCHAR2(1)
EVENT_ID NOT NULL NUMBER(10)
USER_INFO_ID NUMBER(10)
TIMESTAMP NOT NULL DATE
CREATE INDEX tmp_rs_PERSON_ED ON temp_person (PERSON_ID,DISTRICT_ID) TABLESPACE D_INDEX;
Index created.
ANALYZE INDEX tmp_PERSON_ED COMPUTE STATISTICS;
Index analyzed.
explain plan for update temp_person
2 set first_name = (select trim(f_name)
3 from ext_names_csv
4 where temp_person.PERSON_ID=ext_names_csv.p_id
5 and temp_person.DISTRICT_ID=ext_names_csv.ed_id);
Explained.
@?/rdbms/admin/utlxpls.sql
PLAN_TABLE_OUTPUT
Plan hash value: 3786226716
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 82095 | 4649K| 2052K (4)| 06:50:31 |
| 1 | UPDATE | TEMP_PERSON | | | | |
| 2 | TABLE ACCESS FULL | TEMP_PERSON | 82095 | 4649K| 191 (1)| 00:00:03 |
|* 3 | EXTERNAL TABLE ACCESS FULL| EXT_NAMES_CSV | 1 | 178 | 24 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - filter("EXT_NAMES_CSV"."P_ID"=:B1 AND "EXT_NAMES_CSV"."ED_ID"=:B2)
Note
- dynamic sampling used for this statement (level=2)
19 rows selected.By the looks of it the update is going to take 6 hrs!!!
ext_names_csv is an external table that have the same number of rows as the PERSON table.
ROHO@rohof> desc ext_names_csv
Name Null? Type
P_ID NUMBER
ED_ID NUMBER
F_NAME VARCHAR2(300)
L_NAME VARCHAR2(300)Anyone can help diagnose this please.
Thanks
Edited by: rsar001 on Feb 11, 2011 9:10 PMThank you all for the great ideas, you have been extremely helpful. Here is what we did and were able to resolve the query.
We started with Etbin's idea to create a table from the ext table so that we can index and reference easier than an external table, so we did the following:
SQL> create table ext_person as select P_ID,ED_ID,trim(F_NAME) fst_name,trim(L_NAME) lst_name from EXT_NAMES_CSV;
Table created.
SQL> desc ext_person
Name Null? Type
P_ID NUMBER
ED_ID NUMBER
FST_NAME VARCHAR2(300)
LST_NAME VARCHAR2(300)
SQL> select count(*) from ext_person;
COUNT(*)
93383
SQL> CREATE INDEX EXT_PERSON_ED ON ext_person (P_ID,ED_ID) TABLESPACE D_INDEX;
Index created.
SQL> exec dbms_stats.gather_index_stats(ownname=>'APPD', indname=>'EXT_PERSON_ED',partname=> NULL , estimate_percent=> 30 );
PL/SQL procedure successfully completed.We had a look at the plan with the original SQL query that we had:
SQL> explain plan for update temp_person
2 set first_name = (select fst_name
3 from ext_person
4 where temp_person.PERSON_ID=ext_person.p_id
5 and temp_person.DISTRICT_ID=ext_person.ed_id);
Explained.
SQL> @?/rdbms/admin/utlxpls.sql
PLAN_TABLE_OUTPUT
Plan hash value: 1236196514
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 93383 | 1550K| 186K (50)| 00:37:24 |
| 1 | UPDATE | TEMP_PERSON | | | | |
| 2 | TABLE ACCESS FULL | TEMP_PERSON | 93383 | 1550K| 191 (1)| 00:00:03 |
| 3 | TABLE ACCESS BY INDEX ROWID| EXTT_PERSON | 9 | 1602 | 1 (0)| 00:00:01 |
|* 4 | INDEX RANGE SCAN | EXT_PERSON_ED | 1 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("EXT_PERSON"."P_ID"=:B1 AND "RS_PERSON"."ED_ID"=:B2)
Note
- dynamic sampling used for this statement (level=2)
20 rows selected.As you can see the time has dropped to 37min (from 6 hrs). Then we decided to change the SQL query and use donisback's suggestion (using MERGE); we explained the plan for teh new query and here is the results:
SQL> explain plan for MERGE INTO temp_person t
2 USING (SELECT fst_name ,p_id,ed_id
3 FROM ext_person) ext
4 ON (ext.p_id=t.person_id AND ext.ed_id=t.district_id)
5 WHEN MATCHED THEN
6 UPDATE set t.first_name=ext.fst_name;
Explained.
SQL> @?/rdbms/admin/utlxpls.sql
PLAN_TABLE_OUTPUT
Plan hash value: 2192307910
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | MERGE STATEMENT | | 92307 | 14M| | 1417 (1)| 00:00:17 |
| 1 | MERGE | TEMP_PERSON | | | | | |
| 2 | VIEW | | | | | | |
|* 3 | HASH JOIN | | 92307 | 20M| 6384K| 1417 (1)| 00:00:17 |
| 4 | TABLE ACCESS FULL| TEMP_PERSON | 93383 | 5289K| | 192 (2)| 00:00:03 |
| 5 | TABLE ACCESS FULL| EXT_PERSON | 92307 | 15M| | 85 (2)| 00:00:02 |
Predicate Information (identified by operation id):
3 - access("P_ID"="T"."PERSON_ID" AND "ED_ID"="T"."DISTRICT_ID")
Note
- dynamic sampling used for this statement (level=2)
21 rows selected.As you can see, the update now takes 00:00:17 to run (need to say more?) :)
Thank you all for your ideas that helped us get to the solution.
Much appreciated.
Thanks -
I am trying to update my ipad mini but taking too long time 5 hours
i am trying to update my ipad mini to ios 7 but taking too long time 5 hours so what i have to do
Message was edited by: GOPAL DHRUWYou can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
Try again to see if the problem persists. -
Macbook taking too long o start
why is my macbook pro taking too long (interminable) to start, and is still showing the gray screen with the apple logo?
Hi gersedd!
I have an article for you here that seems to describe your issue and can provide you with some troubleshooting steps for this issue:
Mac OS X: Gray screen appears during startup
http://support.apple.com/kb/ts2570
Thanks for being a part of the Apple Support Communities!
Cheers,
Braden -
My iPod was updating to iOS 6 and i shut it off during the update because it was taking too long and now my screen in baby blue i've tried to drain the battery but when i plugged it in to charge the blue screen came back on.I dont know what to do
Try:
- iOS: Not responding or does not turn on
- If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. -
Update statement taking too long to execute
Hi All,
I'm trying to run this update statement. But its taking too long to execute.
UPDATE ops_forecast_extract b SET position_id = (SELECT a.row_id
FROM s_postn a
WHERE UPPER(a.desc_text) = UPPER(TRIM(B.POSITION_NAME)))
WHERE position_level = 7
AND b.am_id IS NULL;
SELECT COUNT(*) FROM S_POSTN;
214665
SELECT COUNT(*) FROM ops_forecast_extract;
49366
SELECT count(*)
FROM s_postn a, ops_forecast_extract b
WHERE UPPER(a.desc_text) = UPPER(TRIM(B.POSITION_NAME));
575What could be the reason for update statement to execute so long?
Thankspolasa wrote:
Hi All,
I'm trying to run this update statement. But its taking too long to execute.
What could be the reason for update statement to execute so long?You haven't said what "too long" means, but a simple reason could be that the scalar subquery on "s_postn" is using a full table scan for each execution. Potentially this subquery gets executed for each row of the "ops_forecast_extract" table that satisfies your filter predicates. "Potentially" because of the cunning "filter/subquery optimization" of the Oracle runtime engine that attempts to cache the results of already executed instances of the subquery. Since the in-memory hash table that holds these cached results is of limited size, the optimization algorithm depends on the sort order of the data and could suffer from hash collisions it's unpredictable how well this optimization works in your particular case.
You might want to check the execution plan, it should tell you at least how Oracle is going to execute the scalar subquery (it doesn't tell you anything about this "filter/subquery optimization" feature).
Generic instructions how to generate a useful explain plan output and how to post it here follow:
Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the {noformat}[{noformat}code{noformat}]{noformat} tag before and {noformat}[{noformat}/code{noformat}]{noformat} tag after or the {noformat}{{noformat}code{noformat}}{noformat} tag before and after to enhance readability of the output provided:
In SQL*Plus:
SET LINESIZE 130
EXPLAIN PLAN FOR <your statement>;
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
In 9i and above, if the "Predicate Information" section is missing from the DBMS_XPLAN.DISPLAY output but you get instead the message "Plan table is old version" then you need to re-create your plan table using the server side script "$ORACLE_HOME/rdbms/admin/utlxplan.sql".
In previous versions you could run the following in SQL*Plus (on the server) instead:
@?/rdbms/admin/utlxplsA different approach in SQL*Plus:
SET AUTOTRACE ON EXPLAIN
<run your statement>;will also show the execution plan.
In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
When your query takes too long ...
and post the "tkprof" output here, too.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
My macbook is taking too long to turn on
my macbook is taking too long to turn on.
Try doing a NVRAM/PRAM reset - after you have done this - go to system preferences - startup disk and select your hard drive as the startup drive and restart your Macbook again.
Resetting NVRAM / PRAM
Shut down your Mac.
Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.
After resetting NVRAM or PRAM, you may need to reconfigure your settings for speaker volume, screen resolution, startup disk selection, and time zone information. -
My iPad is taking too long to contact update software server during recovery.
My iPad is taking too long to contact update software server during recovery. It can go on for 30 minutes and it would not load. What can I do?
If the links are blocked by who-ever, you will keep getting those errors.
About the only option would be to use a proxy.
http://www.bing.com/search?q=proxy
Maybe you are looking for
-
Tuxedo 8.0 32-bit on Solaris 8 64-bit ( boot-mode)
Hi: i have questions : I have Tuxedo 8.0 32-bit product, i'll need run on solaris 8 ( 64-bit boot-mode ) . Is there Problems wiht that??? My hardware is : Sun Microsystems sun4u Sun Enterprise 420R (2 X UltraSPARC-II 450MHz) System clock frequency: 1
-
ORA 600, duplicate from RAC to NON-RAC
Hi Experts, I'm trying to restore Production database for development purpose point in time recovery environment: ASM: 11gR1 DB: 10gR2 At the end of internal duplicate steps i have faced error contents of Memory Script: Alter clone database open rese
-
hi all , i want to know the difference between the both , because i've read before that the two of them are for developing enterprise applications, so what is the difference ? is apex for developing applications just for small enterprises ? or what ?
-
Can someone please help me with this problem? Parts of websites/programs/apps I previously opened show in the background of safari instead of the normal background of the website. It only happens at some of the websites I visit. Is it an error in the
-
HT204053 We have two IPhones and want two seperate ICloud accounts
We have two IPhones and want two seperate ICloud accounts