About lob object count on dba_objects view

Hi Everyone,
This is my oracle version,
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE     11.2.0.2.0     Production"
TNS for HPUX: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
I am having a doubt in number of lob object counts between the views dba_objects and dba_lobs., Find below the query output..,
select count(*) from dba_lobs where owner='ABC';
43
select count(*) from dba_objects where owner='ABC' and object_type='LOB';
148
Can anyone tell me the cause for this?
Regards,
Jai

Hm I have a sandbox database I dont have the same issue in any of the schemas.
SQL> select count(*),owner from dba_lobs group by owner order by 2;
       155 APEX_030200
         2 CTXSYS
         2 EXFSYS
         1 FLOWS_FILES
       214 MDSYS
         2 OLAPSYS
         9 ORDDATA
         1 OUTLN
         2 SBIP_AMAZON_BP
         4 SBIP_BET
         4 SBIP_BET_BP
        10 SBIP_MARKET
        10 SBIP_MARKET_BP
         5 SPORTING_BET
       174 SYS
        75 SYSMAN
        25 SYSTEM
         9 WMSYS
       586 XDB
19 rows selected.
SQL> select count(*),owner from dba_objects where object_type='LOB' group by owner order by 2;
       155 APEX_030200
         2 CTXSYS
         2 EXFSYS
         1 FLOWS_FILES
       214 MDSYS
         2 OLAPSYS
         9 ORDDATA
         1 OUTLN
         2 SBIP_AMAZON_BP
         4 SBIP_BET
         4 SBIP_BET_BP
        10 SBIP_MARKET
        10 SBIP_MARKET_BP
         5 SPORTING_BET
       174 SYS
        75 SYSMAN
        25 SYSTEM
         9 WMSYS
       586 XDB
19 rows selected.Edited by: Zoltan Kecskemethy on Jun 7, 2013 11:28 AM
my version is Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

Similar Messages

  • Oracle 8i array DML operations with LOB objects

    Hi all,
    I have a question about Oracle 8i array DML operations with LOB objects, both CLOB and BLOB. With the following statement in mind:
    INSERT INTO TABLEX (COL1, COL2) VALUES (:1, :2)
    where COL1 is a NUMBER and COL2 is a BLOB, I want to use OCIs array DML functionality to insert multiple records with a single statement execution. I have allocated an array of LOB locators, initialized them with OCIDescriptorAlloc(), and bound them to COL2 where mode is set to OCI_DATA_AT_EXEC and dty (IN) is set to SQLT_BLOB. It is after this where I am getting confused.
    To send the LOB data, I have tried using the user-defined callback method, registering the callback function via OCIBindDynamic(). I initialize icbfps arguments as I would if I were dealing with RAW/LONG RAW data. When execution passes from the callback function, I encounter a memory exception within an Oracle dll. Where dvoid **indpp equals 0 and the object is of type RAW/LONG RAW, the function works fine. Is this not a valid methodology for CLOB/BLOB objects?
    Next, I tried performing piecewise INSERTs using OCIStmtGetPieceInfo() and OCIStmtSetPieceInfo(). When using this method, I use OCILobWrite() along with a user-defined callback designed for LOBs to send LOB data to the database. Here everything works fine until I exit the user-defined LOB write callback function where an OCI_INVALID_HANDLE error is encountered. I understand that both OCILobWrite() and OCIStmtExecute() return OCI_NEED_DATA. And it does seem to me that the two statements work separately rather than in conjunction with each other. So I rather doubt this is the proper methodology.
    As you can see, the correct method has evaded me. I have looked through the OCI LOB samples, but have not found any code that helps answer my question. Oracles OCI documentation has not been of much help either. So if anyone could offer some insight I would greatly appreciate it.
    Chris Simms
    [email protected]
    null

    Before 9i, you will have to first insert empty locators using EMPTY_CLOB() inlined in the SQL and using RETURNING clause to return the locator. Then use OCILobWrite to write to the locators in a streamed fashion.
    From 9i, you can actually bind a long buffer to each lob position without first inserting an empty locator, retrieving it and then writing to it.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by CSimms:
    Hi all,
    I have a question about Oracle 8i array DML operations with LOB objects, both CLOB and BLOB. With the following statement in mind:
    INSERT INTO TABLEX (COL1, COL2) VALUES (:1, :2)
    where COL1 is a NUMBER and COL2 is a BLOB, I want to use OCIs array DML functionality to insert multiple records with a single statement execution. I have allocated an array of LOB locators, initialized them with OCIDescriptorAlloc(), and bound them to COL2 where mode is set to OCI_DATA_AT_EXEC and dty (IN) is set to SQLT_BLOB. It is after this where I am getting confused.
    To send the LOB data, I have tried using the user-defined callback method, registering the callback function via OCIBindDynamic(). I initialize icbfps arguments as I would if I were dealing with RAW/LONG RAW data. When execution passes from the callback function, I encounter a memory exception within an Oracle dll. Where dvoid **indpp equals 0 and the object is of type RAW/LONG RAW, the function works fine. Is this not a valid methodology for CLOB/BLOB objects?
    Next, I tried performing piecewise INSERTs using OCIStmtGetPieceInfo() and OCIStmtSetPieceInfo(). When using this method, I use OCILobWrite() along with a user-defined callback designed for LOBs to send LOB data to the database. Here everything works fine until I exit the user-defined LOB write callback function where an OCI_INVALID_HANDLE error is encountered. I understand that both OCILobWrite() and OCIStmtExecute() return OCI_NEED_DATA. And it does seem to me that the two statements work separately rather than in conjunction with each other. So I rather doubt this is the proper methodology.
    As you can see, the correct method has evaded me. I have looked through the OCI LOB samples, but have not found any code that helps answer my question. Oracles OCI documentation has not been of much help either. So if anyone could offer some insight I would greatly appreciate it.
    Chris Simms
    [email protected]
    <HR></BLOCKQUOTE>
    null

  • Help for "Invalid Object Count"

    Hi
    I got a Schema in my Database, i added a couple of tables with a script, dropped them again and did so 3 times because of some errors. Now i get the Error "Owner's Invalid Object Count" in the Category "Invalid Objects by Schema" and Oracle Enterprise Manager says i have invalid objects in my schema. How can i clean the schema and delete those invalid objects? i can't seen them in my tables, views or synonyms.
    greets

    May be some script error
    u should drop old table
    then create new table.
    ok
    good luck

  • Connector Space Object don't match Full Import Object Count

    Just want to clear up something
    I have an HR system that removed about a 100 users. My anchor attribute is
    Employee_Person_ID (e.g. 12345). My join rule is
    EmployeeID (e.g. 123456789) 
    So HR removed the records and if I do a Full Import I see the correct amount of objects e.g. 1000. I confirm this my doing a database query and I cannot find the delete objects. If I do a search on the connected space objects I get 1100 user
    records.
    Problem 1: I still see the old objects in the connected space and they still have a connector to the MV object.
    Problem 2: 
    HR re-added them with new records. The EmployeeID stays the same (e.g. 123456789) but the Employee_Person_ID changed to (e.g. 54321).
    Now I get ambiguous-import-flow-from-multiple-connectors errors caused by problem 1.

    I agree with your statements and this is what I also seen on other environments. 
    The object must show up as connector (after an import) - Yes, there is a connector
    When you run a sync, the object is removed. No, this is not happening. CS object count does not go down. No deletion shown.
    When the object is removed, the link to the metaverse object is removed.
    No this is not happening. Object still present in the CS and has a connector in the MV object.
    The removal of the link triggers the object deletion rule on the metaverse object.
    No, I cannot see this happening
    Just making sure, are you saying that the "deleted object" still shows up as connector AFTER running a sync? Yes!
    Summary
    RecordNo
    EmployeeNo Details
    ABC
    1234567
    Original Record with a connector to the MV object. This records gets deleted and confirm with direct DB query. FIFS does
    not show a object delete on the MA. CS search still shows object.
    DEF 1234567
    New record arrives with ambiguous-import-flow-from-multiple-connectors error. The only why I can get rid of
    the error for now is to make the old record a explicit disconnector. Even after this the old record still shows up in the CS search.

  • Invalid object /produres/funtions/triggers/Views/synonyms/

    Can any body forward me the SQL/PLSQL command to check Invalid object /produres/funtions/triggers/Views/synonyms/ and any other invalid object in the db, & what is recommended to deal with that invalid objects. Either i should recompile /Rebuild / Or delete it .
    & How i can do all this work in EM DB control?
    Need help.

    I would not worry much about invalid objects since Oracle will take care of it on next invocation.Up to a point. Oracle will recompile them if they are inmvoked locally. This does not work if they are invoked remotely (say from a distributed transaction or a clinet/server application).
    Also I think it pays to be curious. Why are these objects invalid? At the vey least it suggests to me that soembody has done a release without checking that the database is in a valid state. There is also the possiblility that the objects are in an invalid state because they won't compile. Now that's something we want to know now rather than when some user calls to complain that the application won't work.
    In short, accepting the presence of invalid objects in the database because Oracle will compile them when it next needs them is just living with broken windows, and that's bad practice.
    Cheers, APC

  • How to shrink LOB objects storage

    Hello,
    I am wondering if some one can answer my question about: In Oracle 9i after deleting LOB objects still the size of file remains same and it does not shrink/delete when those LOB objects are deleted.
    Is there any command which can delete or shrink the size of the storage which was used my deleted LOB object?
    Thanks

    Check this link..
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7246820117571
    >
    once an extent is allocated to a table -- it will belong to that table until you drop
    the table, truncate the table, or explicitly deallocate the extent (which only works if
    the extent NEVER contained any data whatsoever)
    This is totally expected. the space is there, the space is available, the space is free
    for use but ONLY by this segment. The tablespace will not change in regards to free/used
    space -- the extent belongs to that table and will stay with that table. It is however
    FREE SPACE in the table.
    >
    From Oracle 10g and above, you can use the "Alter table Shrink" command to manually shrink the object.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#i2192658
    Other references:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#ADMIN01401

  • How to get hold of the XPRequest object in the Login View

    Hi all,
    I need to customize the Login View to pre-populate the loginname field when a user hits the page. The difficult part is that the user is using PKI Cards, and I need to use the following server-side code fragment to retreive the Login Name.
    String loginName = "";Object o = request.getAttribute("javax.servlet.request.X509Certificate");
    // Got certificate => Windows XP PKI Card Userif (o != null) { String dnstring = ""; int startIndex = 0, endIndex = 0; java.security.cert.X509Certificate clientcert[] = (java.security.cert.X509Certificate[]) o; dnstring = clientcert[0].getSubjectDN().toString().toUpperCase(); // Gets the Login name // This is obtained by getting the portion of the string after "UID=" and befroe the next comma. startIndex = dnstring.indexOf("UID=") + 4; endIndex = dnstring.indexOf(",", startIndex+1); loginName = dnstring.substring(startIndex, endIndex);}
    The problem is that I can't seem to get hold of a XPRequest object (the Plumtree object used to wrap the JSP request object) in the Login View. I need this to call the request.GetAttribute method to retrieve the client certificate.
    Anyone knows how to do this? Or maybe I should be customizing another component instead?
    Thanks in advance for any suggestions!
    Weng Kong Lee

    From the 5.0.4 JavaDocs for AActivitySpace:
    com.plumtree.uiinfrastructure.activityspace.IXPRequest[b]GetCurrentHTTPRequest() Return the HTTP Request for the current request. com.plumtree.uiinfrastructure.activityspace.IXPResponse[b]GetCurrentHTTPResponse() Return the HTTP Response for the current request.
    Hope this helps clear things up.
    -- Don

  • Is it possible to view information such as play count on Artist view in itunes 11?

    is it possible to view information such as play count on Artist view in itunes 11?

    There is no column view for the artist tab in iTunes 11. The songs are chunked up by album, no option for list view, let alone column chooser. Also, everything under view > column browser is grayed out.

  • Row count in Pivotal View (10 rows per page)

    Hi
    I tried following options to restrict row count in Pivotal view of a report, however the out put is inconsistent in pivotal view.
    1. CEILING((RCOUNT(1))/10.0)
    2. TRUNCATE((RCOUNT(1)-1)/10, 0) +1
    3. Even Case statement also
    Appreciate the help extended

    just a note now its ok..i think its a transactional database ....some how the data has changed it modified the query and ur getting correct results am i correct ?
    think of a solution to get a bug free report ;)
    thanks,
    Saichand.v

  • Getting information about an object from JList

    Hi
    I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
    I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
    Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
    Can someone help me out here? :)

    I get a big fat exception when trying to cast the returned object to a Movie object which im using.
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to Movie
    ...sure that this is the way to do it? If so, what am i doing wrong..

  • How to create an Interactive Moving Background or Object that Reacts to Viewer's Cursor?

    Hi,
    i started creating a website in muse and i try to create an object who react to viewer's cursor.
    I have an image in center fix, and around and other which had to move with cursor movement like in this tutorial : Create an Interactive Moving Background/Object that Reacts to Viewer's Cursor
    i'd like to do it in muse and don't know how to proceed,
    thanks

    Hi,
    There is no native feature in Muse to achieve it. If you can get the code for this, you can add it to your site using Insert HTML feature.
    Regards,
    Aish

  • Big Troubles on designing Query about special customers' counting

    Hello buddies:
    I meet a problem on designing Query about special customers' counting. Let me describe the requirment first.  I want to create a query with BEX , and there is a key figure with very special logic.
    That is: to list the counts of the customers which has more than one sales records in a time period from sales data. 
    For example :
    when the user excute the query , he or she must input a time period ( 2007.01~2007.03 e.g)
    then the query output as follow:
    District          Cust-sount
    North-Zone       100
    South-Zone      120
    The Main trouble are :
    1. Threr are no document number in the detail of sales data document records. so I could not count the sales times with document number.
    2. The time period is not fixed value, it depends on the user's input, so I can not define the counting logic in the update rule or in the query with fixed time period.
    Anybody who met similar requirement pls show me your hand and give your solutions, thanks very much.
    Jason

    Hi,
        Your solution sounds a good way to count the distinct customers. but in my case, one salse line item must not be recognize as one sales record, instead,  one customer's all sales line items occurs in one day must be  recognize as one sales record ( or we say that one sales behavior).
    for example:
    customer     product    quantity   date
    cust001       prod001        10       2007.06.06
    cust001       prod002        20       2007.06.06
    the two line items above means one sales record for the customer "cust001".
    so I could not simply use the CKF : (( Counter ) *FV2 ) > 1 .
    Best Regards,
    Jason

  • ERROR - JBO-25005: Object name  for type View Object is invalid

    Hi All,
    I am getting this error "JBO-25005: Object name for type View Object is invalid" while executing my VO query in Controller code. Can any one please tell me the reason behind this error?
    I am creating a VO dynamically and .xml file of a VO is placed in a proper directly. Please let me know some inputs to resolve this.
    Thanks & Regards,
    -Abm

    I found the below explanation for the error mentioned. Check if your package name, Object names confirm to the standard specified
    JBO-25005: InvalidObjNameException
    Cause: An attempt has been made to associate a business component name with an object for which it is not valid.
    Action: The name should be a valid Java identifier with no spaces or punctuation. Names are of the format myProjectPackage.BusinessPackage.BusinessComponent

  • About ABAP Object

    Hello All,
    i have some question about ABAP Object.
    What is the meaning of friend class and singleton?
    Regards,
    Luke

    Hi,
    The addition Friends makes class class a friend of classes classi and or interfaces ifaci.At the sam time, all subclasses of classes classi, all classes that implement one of the interfaces ifaci and all interfaces that have one of the interfaces ifaci as a component interface become friends of class. you have to specify at least one class or interface.
    The friends of a class have unrestricted access to the protected and private components of that class, and can generate unrestricted instances of the class.
    The friends of class are not automatically friends of subclasses of class. the addition Friends does not make class a friend of its friends.
    Thea ddition global is allowed only when you use the addition public for the global class of a class pool at the same time.You can list other global classes and interfaces from the class library after global friends.This addition is generated when the Class Builder creates a global class and you specified friends at the corresponding tab page of the class Builder.
    `
    In the example , classs c2 is a friend of interface i1, and therefore also of the implementing class c1. It can instantiate these objects and access their private component a1.
    interface i1.
    endinterface.
    class c1 definition create private friends i1.
    private section.
    data a1(10) type c value 'Class 1'.
    endclass.
    class c2 definition.
    public section.
    interfaces i1.
    methods m2.
    endclass.
    class c2 implementation.
    method m2.
    data oref type ref to c1.
    create object oref.
    write oref->a1.
    endmethod.
    enclass.
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • Ora-23454 when add an objects to the materialized view group

    Hi, All,
    I tend to create a distributed MV, when add an objects to the materialized view group using:
    BEGIN
    DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
    gname => 'hr_repg',
    sname => 'hr',
    oname => 'departments_mv1',
    type => 'SNAPSHOT',
    min_communication => TRUE);
    END;
    I got the follwoing errors:
    ORA-23454: flavor not defined for object group "PUBLIC"."HR_REPG"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 452
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 468
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5599
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 2
    Does anybody know what is the problem?
    Thanks in advance for any advice.
    Sharon.Ni

    Are you trying to replicate an existing materialized view called "departments_mv1" ? That is what the implication of the arguments you are supplying.
    If it is an MV, you have to supply the DDL (in the DDL_TEXT) as well.
    Hemant K Chitale

Maybe you are looking for

  • Missing themes and titles in Premiere Elements 4

    I have recently downloaded a full version of this product and registered it. When I went through the tutorial to learn how to use it when I came to the adding titles and themes sections it would appear all the drop downs are empty. The effects and tr

  • Unable to update apps in iPhone4s

    Recently I am having this update issue. The "Update All" Button on the top left of my App Store is grayed. Whenever I try to update any app, I click the Update button, right next to that app, and it directs me to the app (as in, "Update" button is wo

  • Java SSF library

    We are trying to use SSF ( digital signatures ) as authentication mechanism for Archive Link through HTTP Interface.ABAP code is generating PKCS#7 signed URL and we want to verify it using Java SSF library in an external system.SAP documentation talk

  • ISE admin , PSN and monitoring node fail-over and fall back scenario

    Hi Experts, I have question about ISE failover . I have two ISE appliaces in two different location . I am trying to understand the fail-over scenario and fall-back scenario I have gone through document as well however still not clear. my Primary ISE

  • Raw file settings missing from smart objects in tiff files after upgrade to CS6

    Yesterday I was using Photoshop CS5 and RAW 6.4 (?) in a Windows environment. When editing photographs, I  generally open the photo in Camera Raw, make development changes (ie exposure, contrast, etc) and then open the developed image as Smart Object