Check Missing Indexes

Hi All,
We have a Database with many tables using foreign keys. Some of my queries from coldfusion are slow. We are using 11g version.
It's a way to check for missing indexes?
I would like to help the database to perform better, I know this is a huge topic but as new in oracle I need to start somewhere.
Any links or comments will be appreciate it.
Regards
Johnny

i have created a two step process for finding which Foreign key is not indexed
1. create a table having the ddl of all indexes
CREATE TABLE INDEX_TXT_TBD AS
SELECT DBMS_METADATA.GET_DDL('INDEX',INDEX_NAME) TXT FROM USER_INDEXES WHERE INDEX_TYPE='NORMAL' AND INSTR(INDEX_NAME,'$') = 0
2. create a table which will tell the tablename, columnname (FK) who are not indexed
CREATE TABLE INDEX_TBD AS
select distinct
     user_cons_columns.TABLE_NAME,
     user_cons_columns.COLUMN_NAME
from
     user_cons_columns,
     user_constraints,
     INDEX_TXT_TBD,
where
     user_constraints.CONSTRAINT_NAME=user_cons_columns.CONSTRAINT_NAME
     and CONSTRAINT_TYPE='R'
     AND INSTR(TXT,'"' || user_cons_columns.TABLE_NAME || '" ("' || user_cons_columns.COLUMN_NAME || '")') = 0

Similar Messages

  • Can not create missing index

    Dear all,
    This is about a  BW 3.5 system running Oracle 10.2.0.2 on Solaris 10
    After an online database reorganisation, I receive these messages in db13
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C02
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C05
    According to the logs, the tables above have been reorganised successfully.
    I see the missing indexes in db02 under Missing Indexes:
    Secondary indexes               13 
        /BI0/F0BWTC_C02-070            
        /BI0/F0BWTC_C02-060            
        /BI0/F0BWTC_C02-050            
        /BI0/F0BWTC_C02-040            
        /BI0/F0BWTC_C02-020            
        /BI0/F0BWTC_C02-010            
        /BI0/F0BWTC_C05-070            
        /BI0/F0BWTC_C05-060            
        /BI0/F0BWTC_C05-050            
        /BI0/F0BWTC_C05-040            
        /BI0/F0BWTC_C05-020            
        /BI0/F0BWTC_C05-010            
        /BIC/FZ_CPLN_00-900            
    If I try to select one and click on create in db, I get a short dump
    Runtime Error          RAISE_EXCEPTION                                                
    Date and Time          23.08.2007 11:12:13                                                                               
    ShrtText                                                                               
    Exception condition "STORAGE_NOT_DETERMINATED" raised.                                                                               
    What happened?                                                                       
         The current ABAP/4 program encountered an unexpected                             
         situation.                                                                               
    What can you do?                                                                     
         Print out the error message (using the "Print" function)                         
         and make a note of the actions and input that caused the                         
         error.                                                                               
    To resolve the problem, contact your SAP system administrator.                   
         You can use transaction ST22 (ABAP Dump Analysis) to view and administer         
          termination messages, especially those beyond their normal deletion             
         date.                                                                               
    is especially useful if you want to keep a particular message.                                                                               
    Error analysis                                                                       
         A RAISE statement in the program "SAPLSDB2" raised the exception                 
         condition "STORAGE_NOT_DETERMINATED".                                            
         Since the exception was not intercepted by a superior program                    
         in the hierarchy, processing was terminated.                                                                               
    173   else.                                                                      
    174      storage_source_hierarchy-dbr = 'X'.                                     
    175   endif.                                                                     
    176   storage_source_hierarchy-cmt = 'X'.                                        
    177   storage_source_hierarchy-cmp = 'X'.                                        
    178   if dbtabname ne space and dbtabname ne tabname.                            
    179     perform shdupg_get_index_storage tables storpar                          
    180             using dbsys prid tabname indexname storage_source_hierarchy      
    181                   dbindex_of_origtable dbprimindex_of_origtable              
    182             changing rc.                                                     
    183   else.                                                                      
    184     call function 'DB_STORAGE_GET'                                           
    185          exporting                                                           
    186               dbsys                = dbsys                                   
    187               prid                 = prid                                    
    188               tabname              = tabname                                 
    189               indexname            = indexname                               
    190               dbindex              = realname                                
    191               dbrefindex           = name_of_primidx                         
    192               source_hierarchy     = storage_source_hierarchy                
    193          tables                                                              
    194               storpar              = storpar                                 
    195          exceptions                                                          
    196               mapping_error        = 1                                       
    197               db_error             = 2                                       
    198               uncomplete_parameter = 3                                       
    199               others               = 4.                                      
    200     rc = sy-subrc.                                                           
    201   endif.                                                                     
    202   if rc ne 0.                                                                
    >>>>     raise storage_not_determinated.                                          
    204   endif.                                                                
    205                                                                         
    206 * Progamm generieren                                                    
    207   perform db_get_progname using 'SDB2F' dbsys changing sdb2fdbs.        
    208   refresh statements.                                                   
    209   perform gen_create_index in program (sdb2fdbs)                        
    210           tables ddfldnames storpar loc_stmt                            
    211           using  tabname indexname realname unique dbsys rc.            
    212   if rc <> 0.                                                           
    213 *KUGL-protocol-270694                                                   
    214     perform stdo_sam1                                                   
    215        using prid max_severity msgid '122' realname.                    
    216     raise program_not_generated.                                        
    217   endif.                                                                
    218   statements[] = loc_stmt[].                                            
    219                                                                         
    220   perform create_index_finish tables loc_stmt                           
    221                           using  tabname realname dbsys no_exec  rc.    
    222  if rc <> 0. raise program_not_generated. endif.                        
    Any ideas?
    Many thanks
    Andreas

    Hi,
    Please check following note:
    Note 703304.
    You may have to import correction against your release.
    Regards,
    Payal Patel

  • Missing indexes after system copy

    Hi All
    we have around 70,000 missing indexes after the system copy
    offline export from
    source with sun solaris oracle
    To 
    Linux oracle
    but these appeared after we Run  SGEN , which took 60 hours for a 200 Gb database.
    and target system response is also slow , how to go ahead with this issue
    we have checked export and import logs , none of the packages were missed
    1 Why these missing indexes after SGEN , and why SGEN for 60 hours
    2  when we check the Tables which appeared in Missing indexes ,from SE14  it says In Consistency with Data dictionary
    3  and the other error , is  Index Missing in the database ,
    4  but we cant create all these manually.
    Regards

    Hi Matt
    Thanks for the response
    After sap suggestion  , we have done only import again, with 721 R3load same as export.
    but still the R3load.exe.log of import shows as done with 720 kernel.
    import R3load.exe log       //bas/720_REL/src/R3ld/R3load/R3ldmain.c#
    export R3load.exe log     //bas/721_REL/src/R3ld/R3load/R3ldmain.c#10 $ SAP
    But when we compare  the sapinst_dev and AGR logs both from export and import
    both are referring the same 721 R3load version ,
    //bas/721_REL/src/R3ld/R3load/R3ldmain.c
    still we have same missing indexes issue , after we did the import again.
    Are we making any mistakes in export  , Any suggestions are welcome
    hi all , kindly respond with your inputs , on this
    Regards

  • Missing Indexes in Database

    Hi,
    In tcode DB02, when seeing database statistics, i found that there were some missing indexes in database. ie., for some tables there are no indexes created.
    Please tell me whether we need to create indexes or not. Is there any serious effect of a table not having any index?
    Please suggest me a good solution for this.
    Thanks,
    Sailesh K

    Not necessarily.  You must decide if an index will assist in making a table scan faster. FULL table scans indicate that an index is not available.  Creating an index in this case, will improve preformance and prevent full table scans from occuring.
    Also, check oracle to see if the index exists.  Somestimes the Data Dictionary is unaware of the index due to how it ws created.
    In summary missing indexes are not a problem.  FULL table scans are problems and require new indexes to be created for performance reasons.
    Hope this helps.

  • In - DB13 - warnings for missing indexes

    Hi
    I've noticed in the results of the DBCHECK job in DB13 that we have a number of warnings for missing indexes.
    BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/PCOSTELMNT
    The strange thing is that no missing indexes are picked up be DB02. In SE11 these tables cannot be found. Checked at Oracle level and the tables exist but the indexes do not.
    Does anyone know if these tables should have indexes?
    If so what would be the best way to create these?
    Thanks & Regards
    Shishir

    In DB02 they are probably showing under 'Optional Indexes' under 'not created'

  • Creating Missing Indexes

    I find a missing Index when I do Database check
    This is the error message:
    "BR970W Database administration alert - level: ERROR, type: MISSING_INDEXES, object: (table) SAPR3.ZGMM0015"
    I executed Trx. DB02 - Missing Indexes - there I find
      --> Index missing under database
        --> primary index - 1
          --> Z..... --> I selected this and clicked on "Create in DB".
       Then it pops up a dialog box asking options like Online, Background .... (can I create this Index online)
       from here what I needs to do.     
    Gurus can some one guide me.
    Thanks in advance

    Looks like index is missing for the table.. When you get options like online, background, you may use online. It does not hamper the system.

  • Missing Index there Unknown indexes in ABAP Dictionary in DB02

    Dear All,
    I am getting error in T-code DB02 >Missing Index there Unknown indexes in ABAP Dictionary.
    Please  find the following details. 
    Unknown indexes in ABAP Dictionary
        DB indexes                      11
            MARA_MEINS
            MARA_ZER
            MCHA_VFDAT
            VBRP_ARKTX
            VBRP_CHARG
            VBRP_FKIMG
            VBRP_KZWI1
            VBRP_MATKL
            VBRP_MATNR
            VBRP_SPART
            VBRP_WERKS
    Please suggest how to correct them and can caution we have to take before creating the
    Index.
    The process creating the index form se11 table and there index>database utility and than create .The same process can be use .
    Regards,

    Hi,
    Please use the below procdure:
    - Goto transaction SE11
    - Enter table name and press view
    - Click button "Indexes..."
    Please alse check with the below links for more information.
    Index:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm
    Creating Secondary Index
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/1c/252640632cec01e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c7/55833c4f3e092de10000000a114027/frameset.htm
    Check with this also......[click here|Steps for creating a database index;.
    With Regards,
    Krishna.

  • Missing indexes in db02

    Hello,
    Checking DB02 i've found a list of missing primary indexes. I know that i can use SE14 to adjust the indexes but i found some decumentation that says that i should first check if double index for the primary index exist and elimenate them.
    Please Advice.
    David.

    hi David,
    oss note 157918
    BW: DB02 shows "missing indexes"  
    Symptom
    DB02 shows indexes of a fact table to be missing. Such indexes have names that start with prefixes /BI0/F or /BIC/F (BW 1.2, BW 2.x) or /BI0/E or /BIC/E (BW 2.x only).
    Additional key words
    Business Information Warehouse, InfoCube, Fact Table, Bitmap Indexes, Oracle, DB02, Unique Index
    Cause and prerequisites
    For BW 1.2, this only applies to Oracle-based systems. For BW 2.x, this might apply to any DB-platform.
    BW 1.2 and BW 2.x take advantage of certain DB-specific features which are not supported by the data dictionary of R/3 4.0, 4.5 or 4.6 base systems. Prominent examples are bitmap indexes on fact tables (Oracle-based BW systems), partitioned/fragmented indexes, nologging and parallel index building facilities etc. Such features are used in BW by triggering native SQL statements which bypass the data dictionary.
    While all these features improve performance of the BW system, there are, however, some other transactions that are also affected when the data dictionary is bypassed. Amongst these is DB02. It sometimes claims that certain indexes of infocube fact tables are missing while direct checks on the database level show that those indexes are not missing at all or substituted by equivalent indexes. The latter might happen in BW 2.x where the primary index on fact tables might be replaced by a non-unique index or simply skipped as it is not required. Therefore you can usually ignore those messages. Obviously, we are currently working on removing such inconsistent information. If you want to be sure on the indexing then check the solution section of this note.
    Solution
    For BW 1.2A systems (Oracle only):
    You have to ask your local DBA to check the state of the indexes directly by looking at the USER_INDEXES table on the Oracle database.
    For BW 1.2B systems (Oracle only):
    There are two alternatives to check the secondary indexes of infocube and aggregate cubes fact tables:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "InfoCube Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the indexes.
               (2) Use transaction RSRV. Go to the tabstrip "Database". Choose the item "Indices of an InfoCube and its aggregates" and insert the (technical) infocube name (e.g. 0BWTC_C01) in the input box at the bottom of the screen. Press F8 ("Analysis") and wait until a red, yellow or green light appears beside "Indices of an InfoCube and its aggregates", i.e. in the "Result" column. Then press F6 ("Results") in order to see a detailed report on the index situation of that cube.
               (3) Go to SE37 and do a "single test" for the function module RSDU_CHECK_SECONDARY_INDEXES. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter and 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE and STATUS columns. These should show 'BITMAP' and 'VALID' respectively.
    For BW 2.0A systems (all DB-platforms):
    For checking secondary indexes on individual infocubes the following methods can be applied, similar to the BW 1.2B solution:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "Manage". Choose the tabstrip "Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the (secondary) indexes.
               (2) same as (2) for BW 1.2B.
               (3) Go to SE37 and do a "single test" for the function module RSDU_INFOCUBE_INDEXES_CHECK. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter, leave the I_FACTTAB initial, use 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters and use 'U' in the I_DOUBLE_FACTTAB parameter. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE_CHECK, UNIQUE_CHECK, PARTITIONED_CHECK and STATUS_CHECK columns. These should show 'G' (= "green" = ok) respectively.
    If your BW 2.0A system is on patch level 11 Make DB02 consistent by running the report SAP_UPDATE_DBDIFF (via SE38), go to DB02 and press the "Refresh" button in order to synchronise the information in DB02 with the DBDIFF table. This should provide you with a consistent view.
    For BW 2.0B and BW 2.1C systems (all DB-platforms):
    DB02 should work consistently in BW 2.0B / BW 2.1C  with infocubes created in 2.0B / BW 2.1C. If you wish, you can still use the BW 2.0A approach. For infocubes that were created in BW 2.0A or BW 1.2 you need to adjust the index setup (on the facttables) by running the report SAP_INFOCUBE_INDEXES_REPAIR. The latter is available from BW 2.0B patch 3 onwards. It should be run in a background process as it might take a while to run through.
    You also might want to run the report SAP_UPDATE_DBDIFF once in order to update the table DBDIFF that lists database objects whose data dictionary setting do not correspond to the actual setup and that should therefore be omitted in DB02 checks.
    Source code corrections

  • Check DB Indexes failed !!!

    Hi
    We have missing indexes in our cubes hence we are phasing performance issues. When I checked our Process chains ,no PC has created index and drop  index variants.
    I created them and re run the chain and it went succesfully. When I click on " Check DB Indexes" button on Performance tab of each cube all are showing green except one cube.
    Can any one let me know how to fix this. One of my cube is showing red after running the PC .
    Thanks

    Hi Sam,
    In Performance tab, delete the indexes and create them again.
    And be sure to include the Delete index process before loading your cube and Create index process after the load in your Process Chains. This will improve the loading performance too (and avoid deadlock errors with large volume of data).
    Hope this helps.
    Regards,
    Diego

  • DBACOCKPIT and Missing Index

    Hi,
    is there any way to create a missing index from DBACOCKPIT as old DB02 on Oracle, MSSQL, DB2, ecc.? I'm not able to find it
    Thank you.

    Hi.
    The rebuild of an index is done by the DDIC transactions on all the other platforms, too. There is a link in the DBA Cockpit to this feature but this is only working for the local system (or maybe if an RFC-connection is provided which is not used in most remote monitoring cases). The remote monitoring using just a database connection which is the default for all database platforms since approx 10 years, is not able to recreate an index on a remote system. The code for the missing tables and index check in the DBA Cockpit is DB independent to a very large extent. You can check if creating an index in the DBA Cockpit works on the local system for ASE, too. I don't have a system to check at hand (vacation). On ASE we have the goal to offer all features in the Cockpit for both remote and local databases with the same feature set without using RFC as the remote system might not be running ASE. And the DDIC check is so far the only screen that does not work this way. Unfortunately this cannot be changed without a huge redesign of the DDIC.
    Regards,
    Jan

  • Missing Index issue.

    Dears,
    I am getting following error in DB02 in Missing index option.
    Missing indexes. Check of 19.07.2008 07:04:31
           Indexes missing in the database
               Primary indexes                  1
                   ZRECEIPTS-0
               Secondary indexes                6
                   BSIS-ZCH
                   BSIS-ZGL
                   EKBE-M01
                   GLPCA-BL
                   MBEW-ZMK
                   ZCND-CD
    Please suggest how to resolve this issue.
    Deepak

    Hi,
    I created Indexes maually but in one index its showing:
    Request: Create Index ZCND-CD (ANKITG/19.07.08/10:19)
    Process: MSLDEV_1
    sql:
    CREATE UNIQUE INDEX "ZCND~CD" ON "ZCND"
    ("MANDT",
    "STATS")
    PCTFREE 10
    INITRANS 002
    TABLESPACE PSAPDS1
    STORAGE (INITIAL 0000000016 K
    NEXT 0000000016 K
    MINEXTENTS 0000000001
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0000
    FREELISTS 001)
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    DDL time(___1): ........43 milliseconds
    The SQL statement was not executed
    Index   could not be created completely in the database
    Index ZCND-CD could not be created
    Request for ZCND could not be executed
    Please suggest.
    Deepak

  • DB statistic missing & Missing index for critical tables  after TDM refresh

    Hello SAP expert,
    We have completed our refresh using TDM, but after the refresh we encounter problem at the receiver system,
    Issue Encounter
    1. System too slow
    2. When running tcode it resulted to time_out dump
    3. Db statistics are missing
    4. missing index for critical tables
    Appreciate your help. How can we check tdm log if the data transfer really transferred or completed succesfuly.
    Thanks

    Thanks for your reply.
    We are looking the possible root cause of the issue, everything is fine in the target system before the refresh even the DB statistics update job is working fine before the refresh.
    is there a way we could find logs or report from tdms server if there something happen during the execution of the tdm jobs or data selection and transfer. as we only find logs of the latest run. let say we execute the data transfer 4 times where we could find a report or logs stating the error or execution logs from the 2nd or on 3rd run?
    thanks

  • Missing index problem

    Hi Gurus!
    I have a critical problem to solve.
    I have a table without data which is inconsistent because it doesn't have the primary index. When i see missing indexes at DB02, the system tells me that the index is created, but when i go to SE14 and select the primary index, it says the index does not exists on the database and the only option that is active is the one to create the index. If I try to create the index, i get an error saying: there is already a  an object named 'zmed_distr~0' ( my index name ).
    Can anybody help me?
    Thank you in advance.

    the tsystem does'nt create the index and give me this log:
    Request: Create Index ZMED_DISTR-0 (FORM05/11.12.07/19:06)                                                                        
    Process: BLADE04_0                                                                               
    sql:                                                                               
    ALTER TABLE [ZMED_DISTR]                                                                               
    ADD CONSTRAINT [ZMED_DISTR~0]                                                                               
    PRIMARY KEY CLUSTERED                                                                               
    ( [MANDT] ,                                                                               
    [ZUONR] ,                                                                               
    [GJAHR] ,                                                                               
    [KUNNR] ,                                                                               
    [ESTAB] ,                                                                               
    [TXT20] ,                                                                               
    [REPS] )                                                                               
    There is already an object named 'ZMED_DISTR~0' in the database.Could                                                             
    not create constraint. See previous errors.                                                                               
    DDL time(___1): .........3 milliseconds                                                                               
    The SQL statement was not executed                                                                               
    Index   could not be created completely in the database                                                                           
    Index ZMED_DISTR-0 could not be created                                                                               
    Request for ZMED_DISTR could not be executed

  • Missing Indexes to be Repaired

    BW Gurus Please Advise on the Steps to repair missing Indexes via tc DB02

    Hi; I went to 1.tc db02> Diagnostics> Missing Tables and Indexes.
    The errors is this :
    " /BI0/HACN_EANUPC-PAR
    /BI0/HBPARTNER-PAR
    /BI0/HCOUNTRY-PAR
    /BI0/HCRM_PROD-PAR
    /BI0/HCUSTOMER-PAR
    /BI0/HDBDUNS_NUM-PAR
    /BI0/HIOBJNM-PAR
    /BI0/HMATL_GROUP-PAR
    /BI0/HPROD_HIER-PAR
    /BI0/HRF_FRECHAR-PAR
    /BI0/HRT_COLOR-PAR
    /BI0/HRT_SIZE-PAR
    /BI0/HSEM_CGCOMP-PAR
    /BI0/HSEM_CGPRCT-PAR
    /BI0/HVENDOR-PAR
    /BI0/KACCOUNT-001
    /BI0/KACN_EANUPC-001
    /BI0/KCOSTELMNT-001
    /BI0/KDBDUNS_NUM-001
    /BI0/KFUNCT_LOC-001
    /BI0/KGL_ACCOUNT-001
    /BI0/KSEM_CGCOMP-001
    /BI0/KSEM_CGPRCT-001
    /BI0/KVERSION-001
    /BI0/KWORKCENTER-001
    /BIC/KZSTATTRK-001
    /SOMO/JOSCHEDLT-1
    OCSCMPLOBJ-TA1
    Please advise how to correct this -

  • Generated index is missing indexed items

    Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?

    Thanks for input. All available updates have been applied. Long telcon with India so far has produced no cure but at last they are 'escalating' problem to find a solution. It seems to only happen in the 'Symbols' heading (non-alphabetic entries) of the index. Not only are items missing but reference page numbers are missing and/or scrambled. Looks like several indexed subjects are loosing page references and/or picking up page references from following index lines. If you can read the image attached you'll see what I'm talking about if you compare the index flyout lines with what shows up in the generated index. Quite a time consuming pain. It took me almost an hour on the phone to get India to the point they wanted to see this.

Maybe you are looking for

  • Re iphoto: when I double click on a thumbnail i get e grey screen with exclamation mark..can't access my photos to edit, order prints etc

    Was wondering if anyone can help...I am not very computer friendly but want to be able to edit my photos, use them as jpegs, order prints etc. When I double click on a thumbnail ( am presuming the thumbnails are the small photos ) I get a grey screen

  • My printer

    Not too long ago I had to call Canon because I had trouble re-connecting my PIXMA 340 Printer back to my wireless network. I had never had a problem with a call rep until this last time. Since then I have not been able to use my printer. I keep getti

  • No sound Quicktime Player

    Have upgraded to Mac OS 10.6.3. on both my MacPro and my Macbook. Can play a .wmv or .mpeg but have no sound. They played OK before I upgraded. Any ideas as to why?

  • Remote dependencies

    hi, two checking timestamp checking and signature checking. In timestamp checking recorded timestamp in the calling program unit is compared with current time stamp in the remote program unit,what are things comparsion in time stamp and signature in

  • Will my Mac keep all of my files and applications after I upgrade to Lion?

    I have an early 2011 Macbook Pro. I created a Time Machine backup on an external drive incase there are any issues when upgrading to Lion. I'm new to the Mac family and I was wondering if my applications and files will remain on my computer after upg