Differences between SYS.ALL_OBJECTS and SYS.DBA_OBJECTS
Hi All
I'm a beginner to ORACLE :)
when I login as sysdba, and issue below sql:
select count(*) from sys.dba_objects;
COUNT(*)
71596
select count(*) from sys.all_objects;
COUNT(*)
70772
Shouldn't it be equal? what is the objects that sys.all_objects can not see?
Thanks
Emily
On my XE databases, related objects are LOBs, database links and queue:
SQL> select owner, object_type from (select * from dba_objects minus select * from all_objects) group by owner, object_type;
OWNER OBJECT_TYPE
TSMSYS LOB
CTXSYS LOB
PUBLIC DATABASE LINK
MDSYS LOB
XDB LOB
CTXTEST LOB
OUTLN LOB
FLOWS_020100 LOB
FLOWS_FILES LOB
SYSTEM QUEUE
SYSTEM LOB
OWNER OBJECT_TYPE
TEST LOB
12 ligne(s) sélectionnée(s).It is possible that this difference exists because you cannot grant object privilege for these object types. For example, a LOB belongs to another database object generally a table: you cannot run "CREATE LOB" or "GRANT ... ON <LOB> TO ...".
Edited by: P. Forstmann on Jun 12, 2009 9:52 AM
Similar Messages
-
What is the Difference Between Sys Date and Effective Date ??
Hi Gurus,
Can any one pls let me know What is the Difference Between Sys Date and Effective Date ??
with regards
User600722EFFECTIVE DATE usually refers to a date-tracked record (although not exclusively).
Date-tracked records in Oracle HR have an EFFECTIVE START DATE and an EFFECTIVE END DATE. The record is 'EFFECTIVE' between these dates. In reports, you often use SYSDATE to compare to these two dates to find the CURRENT effective record, e.g. SYSDATE BETWEEN EFFECTIVE START DATE AND EFFECTIVE END DATE.
When you make changes to a HR record, you can choose between DATE TRACKING options, such as CORRECT or UPDATE (there are others too). CORRECT will overwrite the record and replace the data with your changes. This is normally used when you need to correct something that is wrong. UPDATE will create a new version of the record from the EFFECTIVE START DATE you choose. It will also set the EFFECTIVE END DATE of the previous record to the day before your new record's EFFECTIVE START DATE. That enables a history of records to be maintained so you can see what your data looked like at ay one point in time.
Regards
Tim
Edited by: TimW on Sep 23, 2008 2:37 PM -
Difference between SYS and SYSTEM user
Hi,
Well, one of my colleagues have asked me the difference between SYS and SYSTEM user .. Normally these are the users which will be under the monitoring of the DBA .. So, how could I know the difference between these two users ..
Please assist me
RegardsSYS is the owner of the database and the owner of the data dictionary.
The objects belonging to SYS cannot be exported. But SYS has the SYSDBA privilege which SYSTEM doesn't.
SYSTEM is a privileged administration user, and typically owns Oracle provided tables other than the dictionary.
SYSDBA is not a role, it is a privilege. You'll find it in system_privilege_map, not in dba_roles. -
Difference between /as sysdba and sys /as sysdba
Hi,
What is the difference between logging to an oracle dba as
1. sys /as sysdba ->asking for password of sys user
2. /as sysdba -> Logging into the database without asking password.
Also pl explain me the difference between OS authentication and Password Authentication.
Regards,
JibuDear Jibu,
An administrative users belongs to the "dba" group on Unix, or the "ORA_DBA" (ORA_sid_DBA) group on Windows, he/she has the Admin OS writes, so its allows to connect without password.
connect / as sysdba ('/') is treated as root user and he will login without asking for password.
Its simple as, when you logged in as Root user and you want to log to some another user, simply you have to give su abc command, it will get login as abc without asking for password.
Remove root user from DBA group, then try to connect by passing connect / as sysdba, this time it will ask for password.
Edited by: Akram on Oct 12, 2011 4:57 AM -
What is the difference between full checkpoint and incremental checkpoint?
What is the difference between full checkpoint and incremental checkpoint?
And what is checkpoint queue?
Can someone clarify these concepts?
Thanks!Hi,
there are different types of checkpoints:
- Full checkpoint:
=> DBWR writes all dirty buffers from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
-- can be triggered by different events, like a logswitch, a manual checkpoint (alter system ..), a shutdown and so on
This is the setup point for SMON for a crash recovery.
- Partial checkpoint:
=> DBWR writes all dirty buffers of a singel tablespace from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
-- can e triggered by an ALTER TABLESPACE OFFLINE, ALTER TABLESPACE READ ONLY, ALTER TABLESPACE BEGIN BACKUP statement.
Incremental checkpoint:
number to all file headers and the controlfile.
-- can be triggered by different events, like a logswitch, a manual checkpoint (alter system ..), a shutdown and so on
- Partial checkpoint:
=> DBWR writes all dirty buffers of a single tablespace from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
-- frequency is determined by FAST_START_MTTR_TARGET parameter (new feature to Oracle 9i), with wich you can specify a time in seconds which SMON is allowed to take maximal for a Crash Recovery until the database must be open again.
Dapending on the system you have SMON must calculate the maximum number of Redolog-blocks which it can manage to recover in the specified number of seconds. It will then create so called incremental checkpoints which will be tracked in the so called checkpoint queue in memory.
FAST_START_MTTR_TARGET is auto-tuned in Oracle 10g and Oracle tries to manage (incremental) checkpoint in a fashion that a minimum of I/Os are caused and a minimum time for crash recovery is needed.
If you set LOG_CHECKPOINTS_TO_ALERT to TRUE you will find checkpoint information in the alertSID.log file. You will see FULL and INCREMENTAL checkpoints then.
Hope this clarifies your question,
Lutz Hartmann -
Difference between extent management and segment space management
Hello,
Could you tell me the difference between extent management and segment space management interms of datablocks?After 10g, default tablespace is locally managed and with this creation, your segment's spaces are managed "automatically".
Automatic segment space management is onlyt avaliable to locally managed tablespaces.
The logic of the automatic segment space management is;
For instance, we have a rectangle cube which is totally empty (1 extent - 8 segments - 64 block in default). If we enter a new data to our table, data is stored inside this cube with it's information. (default 8k). If our data must be splitted, check row chaining for further information.
At this point, oracle decides which block is filled with the entered data. It automatically fills the emty blocks. You can use this only if your tablespace is locally managed and your segment space managemet is auto.
On the other hand,
If we create dictionary managed tablespace,
Data is stored in "dictionary" (tables in SYS schema). This is a bit slower than locally managed tablespaces. So filling the extents, segments and blocks will be slow too. You need to specify the PCTUSED, FREELISTS, FREELISTS GROUPS for the storage of the data. If segment space managent is auto, you don't need to define those values.
In summary, locally managed tablespaces with automatic segment space management is Oracle's maybe the most important feature. I am not using dictionary managed tablespaces and i advice don't use it either. In the end, this is an upgrade of using segment spaces much more faster, easier and reliable, trustable.
PS: You will need to check "High Water Mark" for automatic segment space management. -
What is difference between sy-tabix and sy-index.
SAP Seniors,
Can you please let me know what is difference between sy-index and sy-tabix.
I read the SAP help, it is confusing for me. it looks like both are same from help. please help me.
Thank you
Anitha.HI,
Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
SY-TABIX
Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
SY-INDEX
In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
Hope this helps.
Thank you,
Pavan. -
Difference between sy-tabix and sy-index?
tell me about sy-tabix and sy-index?what is the difference between sy-tabix and sy-index?
Moderator Message: Please search before posting. Read the [Forum Rules Of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further details.
Edited by: Suhas Saha on Jun 18, 2011 5:33 PMHI,
Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
SY-TABIX
Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
SY-INDEX
In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
Hope this helps.
Thank you,
Pavan. -
What is difference between sy-index and sy-tabix and where both are using ?
what is difference between sy-index and sy-tabix and where both are using ?
hi nagaraju
sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
SY-INDEX is a counter for following loops: do...enddo, while..endwhile
SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
Here is an example from which you can understand the difference between sy-tabix and sy-index.
Itab is an internal table with the following data in it.
id Name
198 XYZ
475 ABC
545 PQR.
loop at itab where id > 300.
write :/ itab-id, itab-name , sy-tabix, sy-index.
endloop.
My output will be :
475 ABC 2 1
545 PQR 3 2
Sy-tabix is the index of the record in internal table.
sy-index gives the no of times of loop passes.
So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
Regards,
navjot
award points -
The difference between chapter markers and dvd studio pro markers
Does anyone know what is the difference between chapter markers and dvd studio pro markers? I can not find anywhere on Google. Also in the tutorials I have seen, suggesting DVD Studio Pro markers, but it did not mention the chapter markers.
Thanks,"Adding Chapter and Compression Markers to Your Sequence
Once you have your edited sequence or program finished, you can add markers to the sequence for use on DVD. Markers are reference points you can place within clips or sequences that identify specific frames. There are two kinds of markers you can add that directly relate to authoring a DVD—chapter markers and compression markers.
• Chapter markers allow DVD authoring applications to create a navigable chapter list for your exported QuickTime movie. Chapter markers force MPEG keyframes (known as I-frames) at their location, since the DVD specification requires an I-frame at each chapter point.
• Compression markers identify areas of abrupt change and include two types: those that are automatically inserted by Final Cut Pro at all edit points, and those you manually place in the clip or sequence. Like chapter markers, compression markers force I-frames at their location, although in this case it is for better quality encoding, and they are not used to create a chapter list.
Note: When you export a QuickTime movie, you have an option to export various kinds of markers, including compression, chapter, or DVD Studio Pro markers. *When you choose to export DVD Studio Pro markers, Final Cut Pro actually exports chapter markers and all compression markers.* This includes compression markers you set manually, as well as ones created automatically by Final Cut Pro at edit and transition points."
From the Final Cut Pro User Manual.
So, JS was right the first time -
The difference between an iphone and an ipod touch?
i want to know if the difference between an iphone and an ipod touch is just that the iphone is like a phone that has internet and is a phone. or what else is it?
The iPhone includes the same as an iPod Touch but also includes a phone, a camera, and a GPS radio.
In addition to having internet access via wi-fi, the iPhone also has internet access via the cellular network, so as long as you have cellular reception with the iPhone, you have access to the internet in addition to having access via an available wi-fi network. -
The difference between system restore and last good known configuration
hi,
what is the difference between system restore and last good known configuration.
in which situation you use system restore ,and in which situation you use last good known configuration.
very short answer wil be enough.
thanks
johan
h.davidLast Known Good Configuration deals only with Starting Windows eg. a bad registry or incorrect driver is preventing Windows to start.It recovers the registry settings of HKEY_LOCAL_MACHINE\System\CurrentControlSet
While System Restore uses restore points to return your system files and settings to an earlier point in time without affecting personal files. Restore points are created automatically every week, and just before significant system events, such as the installation
of a program or device driver. You can also create a restore point manually.You can undone system restore but there is no such option in Last Known Good Configuration.
Last Known Good Configuration is disabled in Windows 8 or,Windows 8.1 by default.
Try using Last Known Good Configuration if you can't start Windows, but it started correctly the last time you turned on the computer.
Try using System Restore to return the system to an earlier point in time when things worked correctly.
S.Sengupta, Windows Entertainment and Connected Home MVP -
Difference between sy-datum and any given date
Dear Friends;
I have one query regarding DATE I wanna calculate the difference between
SY-DATUM and ANY GIVEN DATE . Is there any function or code available that take one parameter as sy-datum and another parameter as any given date and give result as no. of days between them
Regards;
ParagDATA: DATEDIFF TYPE P.
CALL FUNCTION 'SD_DATETIME_DIFFERENCE'
EXPORTING
date1 = '20071122'
time1 = '000001'
date2 = '20070905'
time2 = '000001'
IMPORTING
DATEDIFF = DATEDIFF
EXCEPTIONS
INVALID_DATETIME = 1
OTHERS = 2.
Greetings,
Blag. -
Difference between sy-uline and uline
Hi All,
Any one of you please update me what is the difference between sy-uline and uline. Also when i give sy-uline in top-of-page event it gives error.
Thanks
sankarwith ULINE u can specify the position from where the ULINE should start
corresponds to WRITE AT 3(10) SY-ULINE.
ULINE AT 3(10) NO-GAP will supress the spacess after the under line
ex : 1
uline at 4(10).
write : / 'My Program'.
uline at 4(10).
ex : 2
write : 'My Program' , sy-uline. -
Difference between sy-datum and sy-datlo
difference between sy-datum and sy-datlo
hi,
The GET TIME statement synchronizes the time on the application server with the time on the database server and writes it to the field SY-UZEIT. SY-DATUM and the system fields for the local timezone (SY-TIMLO, SY-DATLO, and SY-ZONLO) are also reset.
SY-DATLO
Users local date, for example 19981129, 19990628,
SY-DATUM
Current application server date, for example 19981130, 19990627,
SY-DAYST
X during summertime, otherwise space.
SY-FDAYW
Factory calendar day of the week: Monday = 1 Friday = 5.
SY-TIMLO
Users local time, for example 154353, 225312,
SY-TZONE
Time difference in seconds between local time and Greenwich Mean Time (UTC), for example,
360, 10800.
SY-UZEIT
Current application server time. for example 164353, 215312,
SY-ZONLO
Users time zone, for example, EST, UTC,
reward points if useful -
What is the difference between Topic Keywords and Index File Keywords?
What is the difference between Topic Keywords and Index File Keywords? Any advantages to using one over the other? Do they appear differently in the generated index?
RH9.0.2.271
I'm using WebhelpHi there
When you create a RoboHelp project you end up with many different ancillary files that are used to store different bits of information. Many of these files bear the name you assigned to the project at the time you created it. The index file has the project name and it ends with a .HHK file extension. (HHK meaning HTML Help Keywords)
Generally, unless you change RoboHelp's settings, you add keywords to this file and associate topics to the keywords via the Index pod. At the time you compile a CHM or generate other types of output, the file is consulted and the index is built.
As I said earlier, the default is to add keywords to the Index file until you configure RoboHelp to add the keywords to the topics themselves. Once you change this, any keyword added will become a META tag in the topic code. If your keyword is BOFFO, the META tag would look like this:
<meta name="MS-HKWD" content="BOFFO" />
When the help is compiled or generated, the Index (.HHK) file is consulted as normal, but any topics containing keywords added in this manner are also added to the Index you end up with. From the appearance perspective, the end user woudn't know the difference or be able to tell. Heck, if all you ever did was interact with the Index pod, you, as an author wouldn't know either. Well, other than the fact that the icons appear differently.
Operationally, keywords added to the topics themselves may hold an advantage in that if you were to import these topics into other projects, the Index keywords would already be present.
Hopefully this helps... Rick
Maybe you are looking for
-
What are the advanteges and disadvanteges of using pl/sql over hibernate
i knwo that pl/sql are well structure and provide a lot of functionalities with oracle databse , but my question is the hibernate might give some advnateges of scalability over pl/sql. so what are the advanteges and disadvanteges of using pl/sql over
-
"The server responded with an error. Access to "Don Weist/Winhall" in "Work" in account "iCloud" is not permitted. The server responded: "403" to operation CalDAVWriteEntityQueueableOperation." Does anyone know how to repair this problem. It just b
-
Searching for string in text files on XP
Hi, At the moment I'm working on a Struts program. The output I get is: The requested resource (Invalid path /displayAddProductForum was requested) is not available.Somewhere in my files, I have a line containing /displayAddProductForum that should b
-
Balance sheet profit - is there a possibility to book it
Hi experts, i hope my question is to understand. SAP is calculating the balance sheet profit in the year and at the first of the next year he makes a account brought forward to profit brought forward. but he makes no posting, he is only calculating
-
When I open a PDF in Safari, the down arrow is covered by the window resizing area which basically means I can't scroll down. When I open up the same PDFs in Chrome, this doesn't happen. I've tried uninstalling Reader and re-installing and I still ha