Undo confusion

Hi,
As part of my understanding of how undo works, could somebody explain to me the following as I'm quite confused on this.
1. create table a (b number, c varchar2(30));
2. insert into a values (1,'hallo');
3. Check how many undo records have been created:
select used_urec from v$session s, v$transaction t
where s.audsid=sys_context('userenv', 'sessionid') and
s.taddr = t.addr;
This show 1 undo record because insert stores 1 undo record for rowid ?
5. insert into a values (2,'foo'); this creates 2 undo records (because of accumlation
from the previous one?)
4. insert into a select rownum + 50000, object_name from all_objects where rownum <
51;
5. This creates 3 undo records even though 50 inserts have occurred. Why only 3?
Would appreciate any comments on this?
Note: the above example has been taken from:
http://www.adp-gmbh.ch/ora/concepts/undo.html

What's your Oracle version?
My test on 10gR1 is different than yours. There's a field for used undo blocks in v$transaction,
USED_UBLK
TEST@rman>  create table a (b number, c varchar2(30));
Table created.
TEST@rman> insert into a values (1,'hallo');
1 row created.
SQL>
  1  select used_ublk,used_urec from v$session s, v$transaction t
  2  where s.audsid=sys_context('userenv', 'sessionid') and
  3* s.taddr = t.addr
TEST@rman> /
USED_UBLK  USED_UREC
         1          1
TEST@rman>  insert into a select rownum + 50000, object_name from all_objects where rownum <51
  2  /
50 rows created.
TEST@rman>  select used_ublk,used_urec from v$session s, v$transaction t
  2  where s.audsid=sys_context('userenv', 'sessionid') and
  3   s.taddr = t.addr
  4  /
USED_UBLK  USED_UREC
         2         51==========================
On the safe side, I inserted another two batches, 50 and 1000, the resule is pretty constant,
TEST@rman> insert into a select rownum + 50000, object_name from all_objects where rownum <51;
50 rows created.
TEST@rman>  select count(*) from a;
  COUNT(*)
       101
TEST@rman> select used_ublk,used_urec from v$session s, v$transaction t
  2   where s.audsid=sys_context('userenv', 'sessionid') and
  3    s.taddr = t.addr
  4  /
USED_UBLK  USED_UREC
         2        101
TEST@rman> insert into a select rownum + 50000, object_name from all_objects where rownum <1001 ;
1000 rows created.
TEST@rman>  select count(*) from a;
  COUNT(*)
      1101
TEST@rman>  select used_ublk,used_urec from v$session s, v$transaction t
  2   where s.audsid=sys_context('userenv', 'sessionid') and
  3    s.taddr = t.addr
  4  /
USED_UBLK  USED_UREC
        11       1101

Similar Messages

  • UNDO CONFUSIONS

    Hi all,
    I want to shrink my UNDOTS1 since it got grown so big.
    I created anothe UNDOTS2 so I can drop the first.
    But I got confused which to drop because I did not know I got 2 UNDOTS1?
    SQL> select tablespace_name||' '||file_name from dba_data_files;
    TABLESPACE_NAME||''||FILE_NAME
    UNDOTBS1 /u02/oradata/oracle/undo/undo02.dbf
    UNDOTBS2 /free/edmp/undotbs02.dbf
    USERS /u01/app/oracle/oradata/edmp/users01.dbf
    UNDOTBS1 /u01/app/oracle/oradata/edmp/undotbs01.dbf
    SYSAUX /u01/app/oracle/oradata/edmp/sysaux01.dbf
    SYSTEM /u01/app/oracle/oradata/edmp/system01.dbf
    DATA_EDMP /u02/oradata/edmp/data_edmp.dbfIs it possible to have 2 UNDO TABLESPACES for UNDO?
    How do I drop it or which undo is droppable?
    THANKS

    You need to switch to your second undo tablespace before you go and drop the first.
    alter system set undo_tablespace = undotbs2 scope=both ;Take a look at the following:
    http://docs.oracle.com/cd/B19306_01/server.102/b14231/undo.htm#BABGJBJH
    Note the following:
    An undo tablespace can only be dropped if it is not currently used by any instance. If the undo tablespace contains any outstanding transactions (for example, a transaction died but has not yet been recovered), the DROP TABLESPACE statement fails.
    The database is online while the switch operation is performed, and user transactions can be executed while this command is being executed. When the switch operation completes successfully, all transactions started after the switch operation began are assigned to transaction tables in the new undo tablespace.
    The switch operation does not wait for transactions in the old undo tablespace to commit. If there are any pending transactions in the old undo tablespace, the old undo tablespace enters into a PENDING OFFLINE mode (status). In this mode, existing transactions can continue to execute, but undo records for new user transactions cannot be stored in this undo tablespace.

  • Confusion about undo

    hi guys,
    I am a bit confused. I have read a number of articles on undo, and how the undo segments are etc, but I am still a bit confused as to what is going on internally.
    say we have a data block belongin to table1, and it has one column updated that changes its value from 5 to 10 for one row. This is what I see as happening.
    oracle gets a data block from an undo segment, and writes 5 to it
    oracle updates table1.column to be 10 for that row
    oracle has started a transaction, so an itl slot is got in table1s data block - this will contain the transaction id, the xid(pointer to the undo segment transaction table slot), and uba (tail of the undo chain of the block)
    oracle writes redo for both the data blocks of table1 and the undo segment to the redo log
    if someone could help me understand the architecture of an undo segment then I think it might help me understand things better as I am not sure how we can know where to go in the undo segment to find the value (i.e. how do we know where the before image 5 is stored? it could be anywhere inside any data block in the undo segment)
    thanks

    OracleGuy777 wrote:
    hi guys,
    I am a bit confused. I have read a number of articles on undo, and how the undo segments are etc, but I am still a bit confused as to what is going on internally.
    say we have a data block belongin to table1, and it has one column updated that changes its value from 5 to 10 for one row. This is what I see as happening.
    oracle gets a data block from an undo segment, and writes 5 to it
    oracle updates table1.column to be 10 for that row
    oracle has started a transaction, so an itl slot is got in table1s data block - this will contain the transaction id, the xid(pointer to the undo segment transaction table slot), and uba (tail of the undo chain of the block)
    oracle writes redo for both the data blocks of table1 and the undo segment to the redo log
    if someone could help me understand the architecture of an undo segment then I think it might help me understand things better as I am not sure how we can know where to go in the undo segment to find the value (i.e. how do we know where the before image 5 is stored? it could be anywhere inside any data block in the undo segment)
    This is going to be happening from the blocks's transaction header only Oracleguy. In the transaction header, as you mentioned UBA is present, this would point to the the undo segment where the transaction information is maintained. Moreover, the transaction table present in the Undo Segment would help you in finding out that where in a particular undo segment, your transaction's information is maintained.
    What you have put, IMO that's all what is happening. So where is the doubt ? I believe that you have read the notes of Stephen Haisley as well when you last time presented another question about Undo so that does explain the working in quite a good manner.
    HTH
    Aman....

  • My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?

    1.My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?
    2.Currently my emails are grouped together if the subject is the same, how do I undo this?
    3.My emails are "folded up", with tabs like "See more" - how do I undo this? - I want to see the full email at once without having to click multiple times in the email on "show more" etc.
    4.When I send an email to some one, a copy of that email is sometimes sent to me?? - this confuses my and make me think I by accident sent it to myself, but when I check it in the SENT box, it the correct recipient's name was used. How to fix this mystery?
    Please help, I am not good with computers so you will have to keep your answer simplictic or in steps.
    Thanks!

    Click the View menu in the Mail menu bar and uncheck Organize by Conversation.

  • Is there any way to undo the "Use this Mailbox for" action besides the undo action

    My Gmail account in Mac mail was confusing me so I set the Gmail folders to be used for certain things (i.e. Drafts, Sent, Junk, Trash), but now I'd like to set it back. I can't use undo because it was a while ago. How should I go about doing this?

    This is the action that I'm talking about. I set certain Gmail folders to be used for these 4 options. I would like to release those folders from their respective duties.

  • HELP! Need to undo updates for a Goods Receipt - incorrect PO

    Hi there,
    I'm fairly new to SAP Business One and made a mistake with my last Purchase Order/Goods receipt.
    The parcel I had to book in arrived but the invoice had no PO number, so using the Query Manager I found out which Purchase Orders included the product codes. There were a few POs with the same products and I got confused which was which.
    When adding the new Goods Receipt I 'copied from' the wrong Purchase Order and saved the updates so now it appears that we have received some of the products from this order, which aren't due for another two months. They are highlighted in grey on the Purchase Order. If I 'copy from' this PO to create the Goods Receipt the lines that I incorrectly updated are no longer visible because according to SAP we have received them so I can't deselect them or make them un-highlighted. Is there anyway to undo the changes so that SAP recognises that we haven't yet received these products?
    Any help on rectifying the matter would be much appreciated!

    HI
    If you have taken Backups before that wrong entry,then you can restore it which will put your database with the previous correct entries...
    OR
    You have to reverse those GRPO's or Invoice by posting Returns and Credit memos which will make correction to your wrong stock...

  • Buffer busy waits on UNDO data in Active Dataguard

    Oracle Version: 11.1.0.7.0
    Active Dataguard
    Statspack has been configured for Active Dataguard on Primary database.
    We got an spike of Buffer busy waits for about 5 min in Active Dataguard, this was causing worse Application SQL's response time during this 5 min window.
    Below is what i got from statspack report for one hour
    Snapshot       Snap Id     Snap Time      Sessions Curs/Sess Comment
    ~~~~~~~~    ---------- ------------------ -------- --------- -------------------
    Begin Snap:      18611 21-Feb-13 22:00:02      236       2.2
      End Snap:      18613 21-Feb-13 23:00:02      237       2.1
       Elapsed:               60.00 (mins)
    Top 5 Timed Events                                                    Avg %Total
    ~~~~~~~~~~~~~~~~~~                                                   wait   Call
    Event                                            Waits    Time (s)   (ms)   Time
    buffer busy waits                                2,359       2,133    904   76.2
    reliable message                                 7,210         179     25    6.4
    parallel recovery control message reply          8,831         109     12    3.9
    CPU time                                                       100           3.6
    latch free                                          13          85   6574    3.1
    Host CPU  (CPUs: 16)
    ~~~~~~~~              Load Average
                          Begin     End      User  System    Idle     WIO     WCPU
                           1.07    0.82      0.68    0.39   98.88    0.00Since this is 11g version I was able to drill down on the segment on which buffer busy waits were occurring by using v$active_session_history on Active Dataguard.
    SQL> select count(*),p1,p2 from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by p1,p2
      COUNT(*)         P1         P2
          2136          3      99405
            17          3       7293
    SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 99405 between block_id AND block_id + blocks - 1
    OWNER                          SEGMENT_NAME              SEGMENT_TYPE
    SYS                            _SYSSMU14_1303827994$     TYPE2 UNDO
    SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 7293 between block_id AND block_id + blocks - 1;
    OWNER                          SEGMENT_NAME              SEGMENT_TYPE
    SYS                            _SYSSMU11_1303827994$     TYPE2 UNDOThought to check the SQL_ID which were waiting on this buffer busy waits.
    SQL> select count(*),sql_id,session_state from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by sql_id,session_state order by 1;
      COUNT(*) SQL_ID        SESSION_STATE
             1 cvypjyh0mm56x WAITING
             1 02dtz82as4y42 WAITING
             1 80gz2r4hx1wrj WAITING
             2 6tfk1t4mwt7hu WAITING
             9 0q63qhsbqmpf0 WAITING
            12 0jgnx96ur0bmb WAITING
            12 7pguapqcc6372 WAITING
            14 4t6hqk5r2zbqs WAITING
            18 1qwt0qkd59xj3 WAITING
            23 5phgg8btvhh6p WAITING
            23 banp2v6yttym7 WAITING
            30 a1kdmb1x084yh WAITING
            30 8hxuagk22f8jz WAITING
            30 9r0nysyp360hn WAITING
            31 cackx62yu477k WAITING
            32 40zxqg1qrdvuh WAITING
            32 0jqrd56ds1rbm WAITING
            32 7009zmuhvac54 WAITING
            38 1jb37ryn1c871 WAITING
            60 aum74caa623rs WAITING
            63 cr8mv0wawhak9 WAITING
            63 3xgk3vsh3nm08 WAITING
            86 3k9cq3jv0c3rg WAITING
            95 0sy9vjuutgwqu WAITING
           122 bhn2kk76wpg12 WAITING
           134 4pkfqgyt7rh34 WAITING
           139 1sbzsw7y88c7t WAITING
           146 92y0ha2nqd6zj WAITING
           163 djjqcp1sg2twb WAITING
           173 arxq6au12zazw WAITING
           256 fa0gzxmgyyxj2 WAITING
           282 2f17qywcgu751 WAITINGSo top 10 sql_id's were on tables TAB1 and TAB2 under schemas SCHEMA1 to SCHEMA8.
    Checked DML's occurred on Primary using dba_tab_modifications view since last stats job ran on these was about 10 hours ago from when the issue occurred on Active Dataguard.
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB1' order by 3;
    TABLE_OWNER               TABLE_NAME              INSERTS    UPDATES    DELETES
    SCHEMA1                    TAB1                     4448          0       3728
    SCHEMA2                    TAB1                     4547          0       4022
    SCHEMA3                    TAB1                     4612          0       4152
    SCHEMA4                    TAB1                     4628          0       3940
    SCHEMA5                    TAB1                     4719          0       4258
    SCHEMA6                    TAB1                     4809          0       4292
    SCHEMA7                    TAB1                     4853          0       4356
    SCHEMA8                    TAB1                     5049          0       4536
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB2' order by 3;
    TABLE_OWNER               TABLE_NAME                  INSERTS    UPDATES    DELETES
    SCHEMA1                    TAB2                        25546          0      26360
    SCHEMA2                    TAB2                        26728          0      27565
    SCHEMA3                    TAB2                        27403          0      27763
    SCHEMA4                    TAB2                        27500          0      28149
    SCHEMA5                    TAB2                        28408          0      30440
    SCHEMA6                    TAB2                        30453          0      31906
    SCHEMA7                    TAB2                        31469          0      31988
    SCHEMA8                    TAB2                        32875          0      34670 But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?

    But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?It's been interesting, The job runs only on ADG?
    Even it is only reporting purposes, Which runs only select statements. Are you sure that issue is only because of this job?
    Moreover am interested to know, How you able to monitor at the same time? Using EM?
    What all are the jobs ran on primary at the same time?
    Then, is it possible to run the job on primary and see whats the response?
    I suggest you to run the same job again on standby and see the ET of the job and also gather the statspack to check whether you got same buffer busy waits or not.
    What storage you are using for primary and standby? In terms of I/O and performance all are same?
    You got chance to take statspack even on primary database?
    What are the parameters differ in primary and standby?
    Also check this note, Heresome work around provided.
    *Resolving Intense and "Random" Buffer Busy Wait Performance Problems [ID 155971.1]*

  • Multiple undos opt+cmd+z not working in CC 2014

    Hello, I am on a new mac book pro with CC 2014 installed and I have no ability to undo multiple times...? This problem has happened since I upgraded to 2014. I have checked the keyboard shortcuts and the same shortcut as before (in CC) is active as shown in the image, step forward (using shift etc) works fine but 'Opt+CMD+Z' doesn't. It's not a keyboard issue as it is a new keyboard and the 'opt' key works fine with other apps.
    Any thoughts or help would be most appreciated.
    Thanks
    James
    attached.

    Hey Cozmicone,
    Yes I have done that - I mapped CMD + Z but that kind of gets in the way of years of habit and is a bit frustrating and confusing when you're working quick etc...
    It does work fine doing that (I have just uninstalled 3 versions of Photoshop and reinstalled CC 2014 and still no multiple undos on OPT + CMD + Z?! It's like it won't accept the key combination because if you go into map back to OPT + CMD + Z after changing it to CMD + Z it won't let you. You have to revert to default to even get that option back. C'est bizarre...non?

  • Restore / Recover / Overall nice treatment of UNDO

    Hi,
    I'm updating our 'Backup and Recovery Bible' which was written when UNDO was but a twinkle in the eye of Oracle Developers. I'm a bit unsure of how recovery should be done in the event that the UNDO tablespace or any of its datafiles dies.
    I do know that I can create another UNDO tablespace if for example we lose one of the datafiles that isn't being used at the time of the failure. But could someone point me to a good link or comment on what should be done if we have a problem with UNDO in terms of restore / recover / RMAN usage etc.
    We're using both 9i and 10g on Solaris. For the moment no interface to a media manager.
    Cheers.

    Confusion sets in.
    I don't understand why (after renaming an undo datafile to OFF_undo) I'm not getting anything in the v$recover_file view.
    undo datafile name changed
    SQL> create table lambda (col1 varchar2(10)) tablespace users;
    create table lambda (col1 varchar2(10)) tablespace users
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 2
    ORA-01110: data file 2: '/database/data01/z111ot11/undo_01.dbf'
    ORA-27041: unable to open file
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    SQL> SELECT FILE#, ERROR, ONLINE_STATUS, CHANGE#, TIME
    FROM V$RECOVER_FILE; 2
    no rows selected
    SQL> COL DF# FORMAT 999
    SQL> COL DF_NAME FORMAT A35
    SQL> COL TBSP_NAME FORMAT A7
    SQL> COL STATUS FORMAT A7
    SQL> COL ERROR FORMAT A10
    SQL> COL CHANGE# FORMAT 99999999
    SQL> SELECT r.FILE# AS df#, d.NAME AS df_name, t.NAME AS tbsp_name,
    2 d.STATUS, r.ERROR, r.CHANGE#, r.TIME
    3 FROM V$RECOVER_FILE r, V$DATAFILE d, V$TABLESPACE t
    4 WHERE t.TS# = d.TS#
    5 AND d.FILE# = r.FILE#
    6 ;
    no rows selected
    Nothing in the alert.log either. If the UNDO is that important - why isn't the database screaming at me?

  • Modify the way 'undo' works

    Start a fresh database, import 3 images and go the the Develop module. Move the Temperature slider of the first image far to the right, the Temperature slider of the second image far to the left and the Exposure slider of the third image far to the right. Now select the second image and press CMD/CTRL-z to 'undo'. What happens is, I believe, a bug: The Exposure of the *third* image is returned to its original position but the second image is the one being displayed.

    I tend to ignore Undo other than for undoing *immediate* actions, simply because I can't be sure of what will happen.
    In other words, if I am dragging sliders around on a specific image and realize I don't like the results, I'll use Ctrl+Z to get back to where I was quickly. But if I'm looking at an image I edited even a day ago and I want to revert past actions, I'll ALWAYS use the history so that I can see exactly what I'm doing. If I were to use Ctrl+Z, there is always the chance that I will get confused on my past sequence of events and end up undoing an edit that I didn't want to undo, without seeing its effect.
    Given this, I'd actually prefer it if Ctrl+Z only undid actions to the current selected image(s) SINCE SWITCHING TO THOSE IMAGES. This would prevent it from ever undoing actions to other images without my being aware of it. Basically, it would be a built-in safety valve, forcibly requiring me to use the more deliberative History approach when I want to undo changes to other images.
    But this is just the way I tend to work. I'm not sure anyone would agree with me, or that this would ever be a sensible default behaviour, though.
    As a more general approach (although it's not my preferred implementation), I think Undo should only work in cases where the user can see its effect. This means only undoing the current or selected set of images. Undoing "other" images means that its effect may be invisible, and I don't think that's desirable.

  • Undo changes in adf table row

    I have a table surrounded by a panel collection. In panel collection i have a button for action "createInsert" of view object to add new rows in table. I have created a method in ViewRowImpl with following signature:
    public void undoChanges(){
    refresh(REFRESH_UNDO_CHANGES | REFRESH_FORGET_NEW_ROWS);
    Now i have button in first column of each row in a table for "undochanges". I have done "partialsubmit" true for this button and in partial trigger of table i have given the reference id of this button. Now everything works fine as expected but there is one problem. When i add new row and in row there are some fields required. Now in that row without entering any data, i presses "undo" button, it gives error that some values are missing so in order to avoid this error, i set "immediate" property of button "true". Now it is working fine but ripple effect of this is that when i changes some existing rows and presses "undo" button, table refreshes but does not show old values. I have printed values in above method for changed attribute and i found that in fact values are changing but not reflecting on table inspite of refreshing. What's the reason for it?

    Try putting the partialTriggers on the individual components inside the table columns instead. Having a partialTrigger on the table itself generated by a components inside the table - your button, could cause recursive partialTriggers or "+partialTrigger confusion+"
    Nick

  • Confuse about the document

    Hi,all . From the document ,i had confused about the following .
    Automatic Undo Management in Oracle RAC
    url >> http://docs.oracle.com/cd/B19306_01/rac.102/b28759/adminrac.htm#CHDGAIFJ
    Oracle automatically manages undo segments within a specific undo tablespace that is assigned to an instance. Only the instance assigned to the undo tablespace can modify the contents of that tablespace. However, each instance can read the undo data blocks created by any instance. Also, when performing transaction recovery, any instance can update any undo tablespace, as long as that undo tablespace is not currently being used by another instance for undo generation or transaction recovery
    what's the meaning of above that is bold ?

    Say you're running a 2-node RAC and node 2 dies. The services which were running on node 2 now get re-located to node 1. It is then possible that node 1 will perform transaction rollback/recovery and, when it does so, it will need to be able to read from node 2's undo tablespace (and maybe update the undo segment headers in node 2's undo tablespace, too).

  • Undo behavior during instance recovery

    i'm confused about 2 concepts in applying undoin the case of instance failure
    1.the common concepts of instance recovery which states :
    a) when instance crash, oracle automatically applies all redo in the redo file to roll the db forward to the last scn be4 the failure
    b) & redo data also contains the undo data, it also undo the uncommitted changes from the old valuesin the undo.
    that'sok
    2.but refereing to 10g database concepts (ch17 high availability-p317 if pdf)
    url: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/high_av.htm#sthref2531
    it says:
    •With fast-start fault recovery, the Oracle database is opened for access by applications without having to wait for the undo, or rollback, phase to be completed.
    •The rollback of data locked by uncommitted transaction is done dynamically on an as needed basis.
    •If the user process encounters a row locked by a crashed transaction, then it just rolls back that row.
    •The impact of rolling back the rows requested by a query is negligible.
    •Fast-start fault recovery is very fast, because undo data is stored in the database, not in the log files.
    •Undoing a block does not require an expensive sequential scan of a log file.
    so which situation is applicable in case of instance recovery
    & do the undo behvior stated above in case of fast start fault recovery is an option or that's the default
    thnx alot

    Hi,
    Whatever changes are made to the database, are recorded in redo log buffer cache sequentially and then shifted to redo log files. Suppose redo logs recorded following changes in the database in following sequence.
    insert a row
    update a row
    commit;
    delete a row
    Now Instance crashes before these changes were written into the database (data remains in buffer cache until checkpoint)
    Now during instance recovery, data which was still in buffer cache and not written to the data files, will be applied in same sequence. All undo data for update/delete is in redo log files and will be applied in the same sequence.
    Salman

  • Clicked on wrong thing. Need to undo

    I had received a document and saved it. When I opened on the right hand side of the page I clicked on the  Adobe Export PDF and select PDF File and then convert to Microsoft Word (*.docx). How do I undo this. All I wanted to do was to get rid of the gray area to the right of the document. I know now I should have just click on the top where it says tool. HELP

    I'm a bit confused on what your asking but iTunes has a settings menu when you plug in a device. Just click your device and uncheck the box to sync when connected. Im sorry if this isnt what your asking for

  • DW CC 2014: Undo switches between files.

    Scenario: I'm editing a HTML file with a styles.css related file. So I have one tab open and on top i have 'Source code' and 'styles.css' (as the css file is automatically detected and shown).
    Say I edit some text in the html file, switch to styles.css to edit the color, then switch back to the html file and noticed I made a typo and want to undo the text change. When hitting undo (Cmd-Z on Mac) I get switched to the css file and the color change I did there is undone, hitting Cmd-Z again changes back to html file and undoes the text change... I don't want that! Undo should only undo changes in the file i'm currently working in. As it did in cc 2013, cs6, cs5, cs4 etc... I guess this is some new 'feature' in CC 2014 and I really need to disable it because it's *bleep*ing annoying. But how?
    Edit: Current workaround is disabling 'Enable Related Files' and edit the css file in a different tab but I love the related files feature.

    This is a deal-breaker for me. I write my code in code view. I don't have a linear work flow, working in one document at a time. This undo/redo functionality is really confusing, frustration and utterly worthless for me. I really can't understand how the development team didn't realise that this is a big drawback for many users?
    Dreamweaver has many advantages over Eclipse/VS when it comes to my PHP-based development, but at least I won't have to be afraid to press "Ctrl + z" and risk to change stuff in files I didn't want to touch - and to might loose context of what I just undid!
    ("[undo-undo-undo and all of a sudden something was undone in a related file]
    Me: Oh... Was this related to what I wanted to undo? If I press redo, I go back to the main file, so I can't find out. So exactly what did I just undo? Hm, I guess I have to redo the last step, open the related file, find the right location and check the code. If I want to  keep the changes, I will have to copy it to the clipboard, go back to the file I started with and undo the rest of the steps I wanted to reset and then go back to the related file again and paste the content back... Really smooth! Said no one."  )
    Please, please make it possible to turn off this phoney "feature" and use the classic undo/redo functionality!

Maybe you are looking for