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.
Similar Messages
-
What is the difference between logical ROWID and physical ROWID
hello
can u please explain the difference between logical ROWID and physical ROWID
regards,from the docs (a 30 sec search)
Physical rowids store the addresses of rows in ordinary tables (excluding index-organized tables), clustered tables, table partitions and subpartitions, indexes, and index partitions and subpartitions.
Logical rowids store the addresses of rows in index-organized tables. -
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 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 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,
shylaHi
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 explainA 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.
SyedHi 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 Informatiks TOOLBUS Interface for Oracle Designer and ALLFusion ERwin; and Meta Integration Technologys 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 Designers 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?
PeterUse DBVerify to check corruption in the datafiles.
Asif Momen
http://momendba.blogspot.com -
Hello BW Experts,
What is the difference between the logical and physical documents.
Thanks,
BWerhi 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..
ThnxHere 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 and Physical Standby Practice
Hello Gurus
I am now attempting to practice Oracle Data Guard and in this direction I understand since 10g we have logical standby server as well as a physical standby server. While I am gathering information and knowledge about the data guard as is and varisous modes and types possible with oracle 10g and 11g in specific, an attempt to upgrade my self and learn these set-ups and understand them in detail.. I come to you for some guidence..
I am referring to Oracle Documentation for these details. At the same time I also approach you to share your experiences .. may be a link apart from the documentation of oracle which you might want to refer me to use as a quick reference.. some thing that a person like me .. fairly new to this set-up understand it and then attempt to come up with one..
This is for my practise and learning purpose.
Sarat.Logical Standby was already introduced in 9i. It differs from physical standby in the way, the redo protocol, transmitted from the primary, gets used to actualize the standby. With logical standby, you have SQL APPLY - basically, we try to generate the same SQL that was done on the primary from the redo protocol that was written on behalf of that SQL on the primary. That SQL then is done on the OPEN instance at the logical standby.
In case of a physical standby, the redo protocol from the primary is used to do RECOVERY - called REDO APPLY - to actualize the standby.
Since 10g, the sames protection levels can be achieved with logical or physical standby.
Drawback of logical standby: Not all kinds of SQL and all datatypes are supported
Drawback of physical standby: It is mounted (versions before 11g) while being recoverd - or in 11g, REDO APPLY in READ ONLY status is possible but comes with an extra charge (ACTIVE DATA GUARD feature).
If you look on my Blog, I have some examples about creating physical & logical standby DBs
Kind regards
Uwe
http://uhesse.wordpress.com -
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
Kalyanihi
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
-
I keep getting this message towards the end of the new iTunes installation process even after deleting all apple components and programs. I just don't know what else I can do.
-
Speeding up LabVIEW scripts generated by IMAQ Vision Builder
Hi, I am an experienced c++ software developer, I have mainly used Microsoft's Visual Studio for development. Now, I am developing a real time application using LabView and IMAQ Vision Builder. The LabView application I developed calls a script that
-
How can I get my contacts back after the update to iOS5? I saved them at icloud.
-
Not getting the valid cookies form server
I am posting the data to the gmail login page. I have succeeded to post the data but in result, I am getting the error message that "Your browser's cookie functionality is turned off. Please turn it on" could someone please help me in this case thank
-
Uploading Videos in Final Cut Express 4 HD
Well i have just recently bought a canon vixia hv40 along with Final Cut Express 4. Before Final Cut Express 4, the only experience i've had with editing software is imovie 6 HD and imove 09'. So its been kinda of tough figuring out this program, but