Dba_segments view is gone

I'm not sure how or when this occured. This is our test server and it is a "Bi-continuous Volumne" (bcv) of the production server. (EMC Clustered environment) The bcv is a disk-level copy of the production server. Basically it copies all clustered files at the disk level and you just plug the bcv into another server and create a copy of your production server. We've had alot of issues pop up over time (and two bcv's).
The dba_segments view does not exist at all. I can do a describe on a number of other dba_ views but for some reason this view doesn't exist. How do I recreate this view and how would I check for any other missing views/tables that we may have not noticed? Thanks for any help.

SQL> select owner,object_type from dba_objects
  2  where object_name = 'DBA_SEGMENTS';
OWNER                          OBJECT_TYPE
SYS                            VIEW
PUBLIC                         SYNONYM
SQL> DESC SYS.DBA_SEGMENTS
Name                                      Null?    Type
OWNER                                              VARCHAR2(30)
SEGMENT_NAME                                       VARCHAR2(81)
PARTITION_NAME                                     VARCHAR2(30)
SEGMENT_TYPE                                       VARCHAR2(18)
TABLESPACE_NAME                                    VARCHAR2(30)
HEADER_FILE                                        NUMBER
HEADER_BLOCK                                       NUMBER
BYTES                                              NUMBER
BLOCKS                                             NUMBER
EXTENTS                                            NUMBER
INITIAL_EXTENT                                     NUMBER
NEXT_EXTENT                                        NUMBER
MIN_EXTENTS                                        NUMBER
MAX_EXTENTS                                        NUMBER
PCT_INCREASE                                       NUMBER
FREELISTS                                          NUMBER
FREELIST_GROUPS                                    NUMBER
RELATIVE_FNO                                       NUMBER
BUFFER_POOL                                        VARCHAR2(7)Did some one drop a public synonym?

Similar Messages

  • New tables & indexes created do not show up in dba_segments view

    Dear all,
    I have created 3 tables and some indexes, but these objects do not show up in dba_segments view. Is this a normal behaviour? Previously, with dictionary managed tablespace, I can specify the minimum extent to create, when the table/index is created. But I'm not sure how the locally managed tablespace work. Please do advice. Thank you very much in advance.
    I'm using Oracle 11g R2 (11.2.0.1.0) for Microsoft Windows (x64), running on Windows 7.
    For the purpose of reproducing this issue, I have created the tablespaces as follow:
    CREATE TABLESPACE CUST_DATA
    DATAFILE 'd:\app\asus\oradata\orcl11gr2\CUST_DATA01.DBF' SIZE 512K
    AUTOEXTEND ON NEXT 256K MAXSIZE 2000K
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K
    SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE CUST_INDX
    DATAFILE 'd:\app\asus\oradata\orcl11gr2\CUST_INDX.DBF' SIZE 256K
    AUTOEXTEND ON NEXT 128K MAXSIZE 2000K
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K
    SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLE CUSTOMER_MASTER (CUST_ID VARCHAR2 (10),
    CUST_NAME VARCHAR2 (30),
    EMAIL VARCHAR2 (30),
    DOB DATE,
    ADD_TYPE CHAR (2) CONSTRAINT CK_ADD_TYPE CHECK (ADD_TYPE IN ('B1','B2','H1','H2')),
    CRE_USER VARCHAR2 (5) DEFAULT USER,
    CRE_TIME TIMESTAMP (3) DEFAULT SYSTIMESTAMP,
    MOD_USER VARCHAR2 (5),
    MOD_TIME TIMESTAMP (3),
    CONSTRAINT PK_CUSTOMER_MASTER PRIMARY KEY (CUST_ID) USING INDEX TABLESPACE CUST_INDX)
    TABLESPACE CUST_DATA;
    SQL> SELECT TABLE_NAME, TABLESPACE_NAME
    2 FROM USER_TABLES
    3 WHERE TABLE_NAME LIKE 'CUST%';
    TABLE_NAME TABLESPACE_NAME
    CUSTOMER_MASTER CUST_DATA
    SQL> SELECT INDEX_NAME, TABLESPACE_NAME
    2 FROM USER_INDEXES
    3 WHERE TABLE_NAME LIKE '%CUST%';
    INDEX_NAME TABLESPACE_NAME
    PK_CUSTOMER_MASTER CUST_INDX
    SQL> SELECT SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME, BYTES
    2 FROM USER_SEGMENTS;
    no rows selected

    Prior to 11g, when you created a table or whatever, you automatically allocated one extent.
    This is now no longer true and depends on a parameter I don't remember.
    dba_segments is a summary of dba_extents.
    Obviously, if there is no extent allocated, the table (view is defined with inner join) will not show up.
    You could qualify this is as a bug and submit a SR to Oracle. But then the performance impact may be huge.
    Sybrand Bakker
    Senior Oracle DBA

  • DBUA fails due to broken DBA_SEGMENTS view during 10.1.0.4 - 10.2.0.2 upgr

    Hi,
    I'm upgrading 10.1.0.4 to 10.2.0.2 by cloning a 10.2.0.2 ORACLE_HOME
    (runInstaller -clone), running the pre-upgrade info tool (utl102i.sql) and finally
    running the dbua.
    Once I select the database to upgrade and then Next>, the dbua GUI reports
    "ORA-00942: table or view does not exist
    ORA-06512: at line 2509 "
    I tracked this down to the file utl102x.sql, 2509 lines down from DECLARE
    which reads
    " -- Get number of kbytes used
    SELECT SUM(bytes) INTO sum_bytes
    FROM dba_segments seg
    WHERE seg.tablespace_name = ts.tablespace_name;
    Within 10.1.0.4 'select sum(bytes) from dba_segments;' works but within
    10.2.0.2 the same statement returns the ORA-00942 error and a message to
    the effect that there is an error in the recursive SQL. Within the instance
    being upgraded 'select count(1) from dba_segments;' returns the number
    of rows.
    Has anyone seen this or does anyone have any ideas how to resolve this?
    Thanks,
    Darren

    The manual upgrade procedure works and the DBA_SEGMENTS view is fine
    following @catupgd and before SHUTDOWN IMMEDIATE.

  • DBA_SEGMENTS view not showing the current size of the tables

    we are querying the dba_segments view for checking the size of some table in our DB, but even though the no. of rows are increasing the size of the tables (acc to dba_segments) is same. we also checked with the last analyzed attribute but even after the analysis the size is same.

    To check detailed block allocation in extents you have to use DBMS_SPACE package: please read Re: how much a data block is full
    If a table has LOB columns (CLOB/BLOB) Oracle will allocate by default 2 different segments for each column. You can retrieve these segments with DBA_LOBS view. To get size of these segments please have a look to Re: LOB SEGMENTS
    Edited by: P. Forstmann on 2 nov. 2011 14:08
    Edited by: P. Forstmann on 2 nov. 2011 14:10

  • Mail Viewing Options Gone.  I need to DISABLE automatically marking a message as read!

    In Lion, the Mail Viewing options to disable automatically marking a viewed message as read are gone!  I absolutely NEED to disable automatically marking a viewed message as read!  How can I disable this if the option isn't present?  Is there a workaround?

    Ok...I take part of what I said back. It was MailActOn by InDev which allowed me to not automatically have a message marked as read.  See http://indev.ca/MailActOn.html for more info.
    Apparently the version I had loaded wasn't compatible with Lion Mail.app.  Since updating it, I know have this feature again.

  • Dreamweaver CS3 Design view is gone

    I did a full page layout and everything looked great.  I uploaded the site and it looks fine but there are a few things I need to change.  I went back to Dreamweaver and the design view image is gone.  All that shows is a gray image witha small box in the upper left corner that shows a small box that looks like a missing image icon?  Anyway, nothing else.  The code is still there and when I go to preview in browser, it still shows the site.  I do most of my work in both design view and code so would really like to find a resolve to this.  Thanks!
    Link:  http://www.jfusekdesign.com/index2.html

    You have a problem with the markup of your page.. viewing the page in FFox I could see a line of stray 'text' at the very top of the page...
    You  need to fix the syntax here:
    <body class="twoColFixRtHdr" onload="MM_preloadImages('images/print_button_f2.jpg','images/web_button_f2.jpg','images/emarketing_button_f2.jpg','images/portfolio_button_f2.jpg','images/contactButton_f2.jpg','images/printOffer2.jpg','images/webOffer2.jpg','images/flash_images/print.gif','images/flash_images/Web.gif','images/flash_images/emarketing.gif')" tracingsrc="Firewo<meta name="description" content="J Fusek Design offering customized, quality print and web design at very affordable prices." />
    rks/JFD_Web_FINAL_2009.png" tracingopacity="0">
    See the line before: <div id="container">
    rks/JFD_Web_FINAL_2009.png" tracingopacity="0">   <------this is the line that is not closed correctly and is seen in the browser.  Looks like it belongs to another line and somehow, maybe deleting something or other and this has been left behind.
    Once you fix that section of the code, then put the page through the validator and check to see if there are other problems:
    HTML Validator - http://validator.w3.org   
    CSS Validator - http://jigsaw.w3.org/css-validator/
    You have a few errors in the lightbox stylesheet that need correcting
    http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww. jfusekdesign.com%2Findex2.html
    Hopefully once all the errors are eliminated the page will show correctly in DW.  It only takes an unclosed tag for example, for the page to fail to show up in design view  :-)

  • JSP Design View is gone

    I created a project and made some JSP pages successfully. Everything is working.
    When I started the Creator the second time, the design view of some of my JSP pages are gone. Theere's a grey panel for the design view.
    I checked the source view and it looks like the source is good and untouched.
    What's going on here? How can I recover the design view?
    thanks

    The dead designer is usually caused by problems (bugs) in the underlying subsystem that parses and models the source code. Take a look at the log file and if you have any interesting exceptions there, you can provide them here and we can take a look.
    One of the problems that was recently fixed for an EA update had to do with parsing arrays and array initializers. I am not sure when that update will be available, but, in the mean time, if you have arrays in your source, try commenting them out.
    Another problem that exists has to do with referencing types defined in your other sources. Try using fully-qualified classnames for those.
    I hope this helps.

  • Where have the Save and View button gone in Lion Mail?

    Where have the View and Save buttons gon in Lion Mail?

    genk wrote:
    Does someone know why  'Today' 'Yesterday' 'Last week' has gone from the Finder window?
    Greetings.
    Try this...
    http://christianboyce.blogspot.com/2011/08/bring-back-for-in-lion-finder-sidebar .html
    I've tried it and it works to bring back today, yesterday and last week...

  • Where have the view icons gone! and why cant i scroll my album artwork anymore, instead i have an ugly grid!!

    im trying to set up itunes on my new laptop, and all the library view icons have now gone, so easy switching from the ugly grid, to list or scrolling artwork seems to no longer be an option.
    have apple stopped this on a down grade? or am i missing a vital clue to where its hiding, had a look on the help page and there seems no mention of it any more.

    The main differences between iTunes 11 and earlier versions are the loss of coverflow and ability to have multiple windows open.
    In Windows, you can restore much of the look & feel of iTunes 10.7 with these shortcuts:
    ALT to temporarily display the menu bar
    CTRL+B to show or hide the menu bar
    CTRL+S to show or hide the sidebar
    CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
    If you don't like having different coloured background & text in the Album (Grid) view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
    With iTunes 11.0.3 you can enable artwork in the Songs view from View > Show View Options (CTRL+J) making it more like the old Album List view.
    If you feel the need to roll back to iTunes 10.7 first download a copy of the 32 bit installer or 64 bit installer as appropriate, uninstall iTunes and supporting software, i.e. Apple Application Support & Apple Mobile Device Support. Reboot. Restore the pre-upgrade version of your library database as per the diagram below, then install iTunes 10.7.
    See iTunes Folder Watch for a tool to scan the media folder and catch up with any changes made since the backup file was created.
    tt2

  • I used to be able to click on View to change type size. View is gone from Firefox4. How can I get it back?

    When I downloaded the latest version of Firefox, I was told that it was not compatible with my Yahoo toolbar. I downloaded Firefox4 anyway. As a result I lost View on the toolbar, which allowed me to enlarge the type size of anything I saw on the screen. I very much appreciated that feature and would like to have it back. Is it hiding somewhere? How can I restore it--or find an equivalent function?

    The Menu bar is hidden when the Firefox button is showing. Hit the '''Alt''' key to temporarily show the Menu bar, and then hit '''V''' to open the View menu.

  • CrystalDecisions.Enterprise.Viewing PSReportFactoryClass gone in BO BI 4.0?

    The CrystalDecisions.Enterprise.Viewing namespace and PSReportFactoryClass was available in BusinessObjects Enterprise XI 3.1 and as far back as Crystal Enterprise 10 .NET according to the BOE XI 3.1 .NET API guide.
    But it is no where to be found in the BO BI 4.0 .NET API guide. Is using the RAS .NET SDK and the ReportAppFactoryClass the only alternative?
    I've avoided using RAS due to previous stability and memory leak issues and since I don't need report design features, using the Page Server I thought was the natural approach that was also more stable.
    Is this something that will be reintroduced in 4.1 or is there another approach?

    See .NET SDK for BI/BOE 4.0
    - Ludek

  • My viewer has gone pink

    I'm a complete novice with this stuff - just grasping the basics, so please be gentle..
    I was messing around with text and backgrounds and seem to have dyed my viewer pink. When the film is playing in the viewer the colour is normal, but when I stop the film it goes pink. Can drag clips from the viewer fine and nothing else seems affected. What have I done?
    Message was edited by: quiet mind

    Welcome to the forum. As a total novice, I hope you've done some reading and research and taken some classes on the mechanics and theory of editing before you've delved into the use of an application.
    I've not heard of this issue before. What exactly where you messing around with? What is going on in your sequence and in your canvas?
    Also a matter of trivial pedantics, you are not now working on a "film" and "film" is not playing in the canvas or viewer; you are looking at digitized video.
    Message was edited by: Zebulun

  • System view is gone!

    Hi all,
    I want to create a view with a script as following,
    CREATE VIEW DP_STATISTIC AS
    SELECT 'S' STAT_TYPE, STATISTIC# STAT_NUM, NAME STAT_NAME FROM V$STATNAME
    UNION ALL
    SELECT 'E' STAT_TYPE, EVENT# STAT_NUM, NAME STAT_NAME FROM V$EVENT_NAME;
    It comes out with an error message,
    ERROR at line 2:
    ORA-00980: synonym translation is no longer valid
    And, I try to see the object and it is not there,
    SQL> desc V$STATNAME
    ERROR:
    ORA-04043: object SYSTEM.V_$STATNAME does not exist
    How can I brin it back?
    from $ORACLE_HOME/rdbms/admin , should I run sql script from this directory?
    and if so, what scripts should I run?
    thanks in advance!

    Hi,
    Since V$STATNAME and V$EVENT_NAME are synonyms, you need to give grant select on V_$STATNAME and V_$EVENT_NAME :
      1* select * from dba_synonyms where synonym_name in ('V$STATNAME', 'V$EVENT_NAME')
    SQL> /
    OWNER                          SYNONYM_NAME
    TABLE_OWNER                    TABLE_NAME
    DB_LINK
    PUBLIC                         V$STATNAME
    SYS                            V_$STATNAME
    PUBLIC                         V$EVENT_NAME
    SYS                            V_$EVENT_NAMEWith user H89UCBAC :
    SQL> CREATE VIEW DP_STATISTIC AS
      2  SELECT 'S' STAT_TYPE, STATISTIC# STAT_NUM, NAME STAT_NAME FROM V$STATNAME
      3  UNION ALL
      4  SELECT 'E' STAT_TYPE, EVENT# STAT_NUM, NAME STAT_NAME FROM V$EVENT_NAME;
    SELECT 'S' STAT_TYPE, STATISTIC# STAT_NUM, NAME STAT_NAME FROM V$STATNAME
    ERROR at line 2:
    ORA-01031: insufficient privilegesWith user sys :
      1* grant select on V_$STATNAME to H89UCBAC
    SQL> /
    Grant succeeded.
    SQL> grant select on V_$EVENT_NAME to H89UCBAC;
    Grant succeeded.With user H89UCBAC :
    SQL> CREATE VIEW DP_STATISTIC AS
      2  SELECT 'S' STAT_TYPE, STATISTIC# STAT_NUM, NAME STAT_NAME FROM V$STATNAME
      3  UNION ALL
      4  SELECT 'E' STAT_TYPE, EVENT# STAT_NUM, NAME STAT_NAME FROM V$EVENT_NAME;
    View created.
    SQL> select count(*) from DP_STATISTIC;
      COUNT(*)
           665
    SQL> desc DP_STATISTIC
    Name                                      Null?    Type
    STAT_TYPE                                          CHAR(1)
    STAT_NUM                                           NUMBER
    STAT_NAME                                          VARCHAR2(64)
    SQL> Nicolas.

  • Rotate view key gone sticky?

    I routinely use the r key while using the brush, to adjust the orientation of my canvas. However, since a few hours ago, the r key does switch to the Rotate View tool, instead of temporarily activating it and returning to my paint brush on release. So, after each rotate view, I must manually switch back to my paint brush, which is quite annoying.
    It is definitely not my keyboard, as assigning a different shortcut does not solve the problem, and other applications don't show sticky keys either. Also, other tools, like the Hand and the Eyedropper, work as usual, it is just the Rotate View which is malfunctioning.
    (setup: late 2008 MBP with Cintiq 12wx (problem occurs when using it or not))

    Well, I reduced this one to reproducible proportions, and I don't think this problem just occurred today: it has always been there.
    If I hit the R key and actually do a rotation, the switch to the Rotate View tool is temporarily, as it should be.
    If I hit the R key and release it without doing a rotation, the switch is permanent; I believe this is a bug.
    Could anyone reproduce this behaviour?

  • Toolbar not complete. Missing back/forward arrows, edit, tools icons, etc and view is gone

    The toolbar is missing imp components: File, Edit, View, History, Bookmarks, Tools, Help
    The back and forward arrows are also missing.
    Any help would be greatly appreciated.

    * In Firefox 3.6 versions on Windows and Firefox 4 on Windows and Linux it's possible to hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu of a toolbar.
    * Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

Maybe you are looking for

  • Doubt with Windows and Oracle Forms 10G and 11g

    Hi I have some doubts in installing Oracle Client on Windows. a)Can we install Oracle Forms 10g and Reports 10g client on Windows 7? b)Can we install Oracle Forms 11g and Reports 11g client on Windows XP? c)If we have an Oracle Forms 11g and Reports

  • Database performance tuning Question

    Please, The top wait event having all the time when tuning, oracle database is the following. enq: TX - row lock contention What could be the best way to pinpoint the cause of this?. I'm on Oracle 10g, windows server 2003. Thanks

  • Z tcode but not z program

    during upgrade from 4.6 to ECC i found one of my ztcode which contains program with very lenghty name and not starting with z. like one of my program named as     GPDOT3BSEM94SZEHD3V5S7177L9100 which type of the program they are????how they created s

  • Smarview problem with Outlook 2010 - 11.1.2.2

    Hi, Everytime I start up Outlook I get an error stating Outlook experienced serious problems with the Hyperion SmartView add-in, would you like to disable the add-in.   I select 'no' as I don't want it disabled in Excel.  I only want it to be disable

  • Has RoboHelp Server stability improved in recent versions?

    I'm just looking for general impressions here. Does the stability of RoboHelp Server seem to have improved since the Java rewrite (version 8)? When I evaluated version 7, RoboHelp Server crashed frequently, as others describe in this thread: http://f