Skip to Main Content

Ask The Oracle Mentors

Recently Answered

Recently Answered 2.0

  • #SELECTION#
    Chris Saxon

    Materialized View USING TRUSTED CONSTRAINTS and staleness=UNKNOWN

    It appears USING TRUSTED CONSTRAINTS causes a materialized view to have staleness=UNKNOWN when it would otherwise be FRESH. Is it possible to have a materialized view with staleness=FRESH when USING TRUSTED CONSTRAINTS? If not, would the optimizer be less likely to consider a mat...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    Materialized View Staleness Changes to NEEDS_COMPILE after DML

    Why does DML on a materialized view's master table cause the materialized view staleness to change from FRESH to NEEDS_COMPILE? I would have thought it would have changed to STALE. My understanding about NEEDS_COMPILE is that it is supposed to reflect structural changes (DDL), so...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    Returning rows in the order they were inserted

    Hi Tom. Is it possible to return rows from a table in the order that they were inserted? I have an old query, pre 8.1.6, that always returned rows in the order they were inserted. Now, in version 8.1.7 & 9 they are returned in a seemingly random order. Thanks
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Chris Saxon

    Viewing table partition compression

    Hi tom, I have a table with compression, also have partitions and subpartitions. You can see The create DDL on the below. As you can see all of my objects are compressed or nocompressed. Bu i can't see this information on the all_tables table. Compression ad compress_for is turni...
    #MISC#
    #ACTIONS#
  • #SELECTION#
    Connor McDonald

    Rman backup setup

    Hello Tom, I am wondering what is the benefit of using a recovery catalog over a control file? What are some of the decisions one should consider before going either way? Please and thank you
    #MISC#
    #ACTIONS#

Upcoming Live Sessions

Upcoming Ask TOM Live report