Logical and Physical Delete

Hi Everyone,
I am a newbie to Oracle.
What is Logical Delete and What is Physical Delete ?
Help is appreciated.
Thanks in advance,
KR

Hi,
I think you are asking about Logical read and physical read.
Logical read - Data accessed from memory.
Physical read - Data accessed directly from disk.
Regards
Jafar

Similar Messages

  • Logical and physical clear in ASO

    Hi There,
    I found one statement for Logical and physical clear in essbase dbag
    The process for logically clearing data completes in a length of time that is proportional to
    the size of the data being cleared.
    The process for physically clearing data completes in a length of time proportional to the
    size of the input data, not to the size of the data being cleared
    What does size of the input data actually means? How it is different from data being cleared.
    Thanks.

    What is interesting with these statements is based on them, you would think a logical clear would be slower than a physical clear. In reality, it is vastly faster. I took a 30 minute physical clear down to about 40 seconds with a logical clear. Logical clers create offsetting entries from the main cube in a slice to produce a result whila a physical clear deletes the actual data. The one thing about logical clears is rather than have #missing for cleared intersections you get zeros

  • Logical and physical rowid datatypes

    hiii
    can i know how logical and physical row id be helpful to a developer.
    if i am not wrong than physical row id remain constant and logical is on IOT and can change but what is its use how can i use this concept and where can i apply it ???
    thks

    810345 wrote:
    hiii
    can i know how logical and physical row id be helpful to a developer.If you read the Oracle document, its given following:
    Before you use rowids in DML statements, they should be verified and guaranteed not to change. The intended rows should be locked so they cannot be deleted. Under some circumstances, requesting data with an invalid rowid could cause a statement to fail.
    if i am not wrong than physical row id remain constant and logical is on IOT and can change but what is its use how can i use this concept and where can i apply it ???A row's logical rowid does not change as long as the primary key value does not change. This is less stable than the physical rowid, which stays immutable through all updates to the row.

  • What is a  Logical and Physical file path in sap?

    what is a  Logical and Physical file path in sap?

    Hi,
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      ENDIF.
    Reward if helpful.
    Regards,
    Ramya

  • Logical and physical file paths

    Hi,
    can anyone elobrate me  on what are logical and physical file
    paths ?

    hi,
    Follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    File format determination (Required / optional fields and field checks).
    Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
    Hope this helps, Do reward.

  • Diff between logical and physical file path

    Hi ,
    Could you please explain difference between logical and physical file path's and their importance in ABAP.
    Thanks and regards,
    shyla

    Hi
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.

  • Diff  between logical and physical page ?

    hi
    what exactly difference between logical and physical pages?
    where to set page size in report designer?
    after seting paper size in report designer can i readjust in print dialogue box?
    which is will be effected?
    please explain

    A logical page can contain several physical pages. Assume you want to create a format which is larger then your printer is able to print, then you can define a logical size, which contains n pages horizontally and m pages vertically.
    To set the page size for your report have a look at the properties in the main section of your paper layout.
    Regards
    Rainer

  • Importing logical and physical model from Sybase power designer/Erwin

    Hello,
    We have several models created in Sybase Power designer, logical and as a well as physical. Is there a way to directly import models into Oracle designer?
    Thank you for your help.
    Syed

    Hi Syed,
    ERwin has a facility to export to Designer 2000. Of course you're probably not using Designer 6.0 or earlier so it's of little use.
    I have been looking at a couple of tools for importing from ERwin: Reischmann Informatik’s TOOLBUS Interface for Oracle Designer and ALLFusion ERwin; and Meta Integration Technology’s Meta Integration Model Bridge (MIMB). Neither product is free (nor inexpensive) but if you've got a number of models to convert then the tools seem cheap by comparison. Also, none of the products that I've looked at recreate the actual diagrams (not that I expected them to).
    I am leaning towards TOOLBUS as it provides more complete migration of Logical and Physical models (especially the linkages between the models) using Oracle Designer’s API rather than a DAT file as provided by MIMB.
    Hope this helps,
    Wayne Lehman
    Avanti Business Systems Inc.

  • Can I check whole DB for logical and physical consistency?

    Assume I get somehow the impression that a part of a DB is somehow corrupted.
    E.g. due to hard disc sector errors or logical reference errors/changed foreign key values.
    How can I tell Oracle DB to check itself resp. to verify all the content inside for logical and physical integrity?
    Peter

    Use DBVerify to check corruption in the datafiles.
    Asif Momen
    http://momendba.blogspot.com

  • Diff logical and physical doc

    Hello BW Experts,
    What is the difference between the logical and physical documents.
    Thanks,
    BWer

    hi BWer,
    take a look
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/668867df6a5c4591a4dc46631f5cc3/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6c/69bd22418d11d1896e0000e8322d00/frameset.htm
    hope this helps.

  • Issueduring verifying logical and physical dependencies of tablespaces.

    I am facing below issue with Transportable Tablespace during verifying logical and physical dependencies of two tablespaces.
    Oracle 10.2.0.2.0
    RHEL 5
    [oracle@prolinoradb1 ~]$ export ORACLE_SID=prodb136
    [oracle@prolinoradb1 ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Sat Oct 7 07:46:07 2006
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    SQL> connect / as sysdba
    Connected.
    SQL> exec DBMS_TTS.TRANSPORT_SET_CHECK('USER_DATA_TBS,USER_NDX_TBS',TRUE);
    BEGIN DBMS_TTS.TRANSPORT_SET_CHECK('USER_DATA_TBS,USER_NDX_TBS',TRUE); END;
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 838
    ORA-04063: view "SYS.DBA_XML_TABLES" has errors
    ORA-06512: at "SYS.DBMS_TTS", line 867
    ORA-06512: at line 1
    SQL>
    I think some data dictionary script like catpatch.sql need to be run to resolve this issue but i didn't try it.
    Plz share your thoughts..
    Thnx

    Here i face another issue relates to transporting tablespace.
    I moved the datafiles from source db to target database (AIX 5.3 ->Windows 2003)
    Now when i tried to convert the datafile endianness to windows failing with below error...
    RMAN> CONVERT DATAFILE
    2> 'C:\tmpdir\tmpdir\tw_01.dbf',
    3> 'C:\tmpdir\tmpdir\tw_02.dbf',
    4> 'C:\tmpdir\tmpdir\tw_03.dbf',
    5> 'C:\tmpdir\tmpdir\tw_04.dbf',
    6> 'C:\tmpdir\tmpdir\tw_05.dbf',
    7> 'C:\tmpdir\tmpdir\tw_06.dbf'
    8> TO PLATFORM="Microsoft Windows IA (32-bit)"
    9> FROM PLATFORM="AIX-Based Systems (64-bit)"
    10> DB_FILE_NAME_CONVERT=
    11> "C:\tmpdir\tmpdir\", "E:\oracle\product\10.1.0\oradata\orcl\"
    12> PARALLELISM=5;
    Starting backup at 24-JUN-08
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 06/24/2008 17:19:27
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Any idea?
    Source database is 10.1.0.3.0 and target database is 10.1.0.2.0. Does it matter?
    Message was edited by:
    GK Joe

  • Logical and Physical Standby on same Node

    Is it possible to have a logical and physical standby database for a primary database on the same node (i.e. primary on NodeA, logical and physical database of primary on NodeB)?
    Will there be any conflicts with data guard broker with this configuration or any problems I may encounter?

    From a technical point of view this is possible. Your standby node should be powerful enough to handle 2 instances. For even higher availability 3 dedicated nodes would be better. When Node B is down, both physical and logical standby are also down.
    Werner

  • Logical vs Physical Deletes design

    While designing an application, what is generally recommended - use physical deletes from the database, or use a "isDeleted" flag to do a logical delete ? Can someone comment on that ?

    It depends entirely on the business requirements. Specifically
    - is a lot of concurrent 'history and active record' reporting required?
    - what is the ratio of active to deleted records?
    - can the [performance, maintenance and development] cost of avoiding deleted records be justified?
    - is a 'history' table acceptable instead of inline records?
    - what is the "too many rows, we need to delete some" archive strategy?
    Once past the analysis stage, into design
    - is the shop oriented towards RDBMS as a data manager or a data storage and retrievval system?
    - do developers code in a client/middle tier or are they knowledgeable coders in the database tier?
    - do you intend to squeeze the value out of Oracle, or do you code everything on your own?
    These last 3 questions are really the same thing.

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    hi
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
    lf_opsys TYPE sy-opsys.
    lf_mandt = sy-mandt.
    lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    client = lf_mandt
    logical_filename = p_unix
    operating_system = lf_opsys
    IMPORTING
    file_name = gwa_input
    EXCEPTIONS
    file_not_found = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    Concatenating the physical path and the input unix file name
    CONCATENATE gwa_input p_file INTO gf_file .
    ENDIF.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • Logical and Physical Length in Datastore

    I would like to know the differences between logical length and physical length in datastore. Can anyone teach best practices to use them properly?

    Thank you Bouch,
    So usually is it required to set "logical length + 2" for physical length?
    Also, can you show exapmles for sign and dot, which to be added on each columns?
    Regards,

Maybe you are looking for

  • Installing Lightoom and PS on a different Laptop

    Hi, I purchased Lightroom and Photoshop in May 2012. I have since misplaced the CD and I now need to install both applications on a different MAC laptop. Is it possible to download both applications again via the adobe website, without paying again?

  • Uploading and sending a PDF document from document management

    Hello to all, does anybody know a function module which is able to upload a pdf document stored within the document managemenent system of ERP and then send it via e-mail? Thanks to all Jörg

  • Adding cells to a report row

    I've been tasked with this problem, and after looking around I haven't been able to find a working solution aywhere. I would like to know if it's possible using APEX/javascript/AJAX. I have a multi-column, multi-row report. One column of the report i

  • ERROR TRIGGERING DEFAULT METHOD FOR OBJECT (INCOMING INVOICE).

    When trying to open invoices in my ERP inbox to authorise I get the following message. ERROR TRIGGERING DEFAULT METHOD FOR OBJECT (INCOMING INVOICE). . There might be an authorisation issue. but i am not confirm. I have checked the authorisation in S

  • Implementing Data level Security ?

    I would like to Impelement Data level Security in Universe level itself. I have Set For users belonging to Branch (Mumbai, Delhi Etc) And One set of Users Belonging to Segment (CWG, IFA Etc) and  Set of users that are combination oif Branch and Segme