DMV Query -- all Catalogs and last processed time

Hi 
I want to get a list of all catalogs & there last processed time, can you join the two DMV queries ?
SELECT * FROM $System.DBSCHEMA_CATALOGS
SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES

I just used the one query , I was trying to list out all the catalogs and illustrate in an excel pivot table, unfortunately the last processed date is not available in the DBSCHEMA_CATALOGS
c
In order to get the last processed date I would have to connect to each Catalog to retrieve the data making it useless for excel, as the Last processed date in only available in the $System.MDSCHEMA_CUBES
schema
SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES
Hi Carlo,
In your scenario, you list out the catalogs using the query below
SELECT * FROM $System.DBSCHEMA_CATALOGS
And get the last processed date using the query below.
SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES
Now what you want to know if we can use the Join function to join those two queries, right?
The query engine for DMVs is the Data Mining parser. The DMV query syntax is based on the SELECT (DMX) statement. Although DMV query syntax is based on a SQL SELECT statement, it does not support the full syntax of a SELECT statement. Notably, JOIN, GROUP
BY, LIKE, CAST, and CONVERT are not supported.
So your requirement cannot be achieve currently.
Thank you for your understanding.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • HT201274 How do you cancel the "erase all content and settings" process?

    I started the "erase all content and settings" process and its seems to be taking forever, please how do i cancel the "erase all content and settings" process?

    Welcome to Apple Communities
    Try to turn off your device holding the Sleep button. Then, turn on, connect it to your computer and restore with iTunes

  • What exactly is the "last scan time" and "last update" time

    There was a topic last year about this confusion. Here shows the topic and the answers that you might be looking for :)
    Have a great day!
    -Isaac

    It is my understanding that the 'discovery scan' is just for the initial scan and then there is also an update scan that just checks for differences. 
    I have my remote collectors to search specific subnets and scan once a week. Ever since the initial scan they all show up during in the inventory. I see most of them being 'updated' in inventory according to the schedule and the timestamp but the "Last Scan Time" never changes. As such my not scanned in 30 days just continues to build up. The "Last Updated Time" gets updated correctly but nothing else.
    Is this normal behavior? It doesn't seem like it is considering the Not Scanned in 30 days group exists. It wouldn't make sense for that group to exist if there was no need for a "scan" if "updates" worked just fine.
    This topic first appeared in the Spiceworks Community

  • Retrieving all users and last successful login

    Hi. I"m trying to return a list of all users and thier last successful login to a particular database. Oracle version is 10.2.0.4 on RHEL 5.3. I am attempting to join to the sys.aud$ table or use the audit_trail views but I didn't know if there was something more obvious to do. We don't have Audit vault yet nor do we have actual logon triggers that write to an audit table - just have auditing turned on. audit_trail=db_extended.
    I appreciate any help in advance.

    Thanks....I have that on. I am now trying to get this information out of the sys.aud$ table to a report in a format similar to
    username, last successful logon
    by joining the all_users and sys.aud$ tables to get the max timestamp for action 100
    where user is in a list of users from all_users.
    This is taking a long time to return any information.
    I am wondering if there are other ways to get this information out of the database in a quicker fashion.

  • Can i stop the Erase all data and settings process for Iphone 3gs? It has been 4 hours and still not finished!

    Hi, i just want to know if theres any way to just stop the erase all data and settings for my iphone 3gs it has been 4 hours and it still havent finished yet, still showing the black screen with an apple icon. Im getting so frustrated, is there any way to just stop the process and roll back the changes made? Would it do any harm if i press on my home key and power button the same time? Thanks!

    Something has gone wrong, on an iPhone 3Gs the erase all operation should be instantaneous. Disconnect your phone & force it into recovery mode:
    Turn your phone off. Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new. In your case, select "new".

  • Session List and Last Access Time

    I want to get a list of WebLogic's current/active sessions and find out
    the user's last access time for each session. How can I do this? I'm
    using WebLogic 4.5.
    Thanks in advance.
    Sincerely,
    William H. Stone
    X U M A <build-to-order e-business>
    William H. Stone
    160 Pine St., 2nd Floor
    San Francisco, CA 94111
    Phone:(415)777-9988
    Fax: (415)777-2704
    http://www.xuma.com

    I am trying to maintain simultaneous sessions with WebLogic and another
    app server. I am writing a daemon that will read thru the active
    session list and check to the last activity time. Based on this and a
    similar list I get from the other app server, I will "ping" the oldest
    session to keep it up to date. The result is that the sessions will not
    time out prematurely.
    Clear as mud?
    -WHS
    Mauricio Del Moral wrote:
    Many information about your WLS it could be viewed with the Weblogic
    Console....but exactly what are you trying to get???--
    X U M A <build-to-order e-business>
    William H. Stone
    160 Pine St., 2nd Floor
    San Francisco, CA 94111
    Phone:(415)777-9988
    Fax: (415)777-2704
    http://www.xuma.com

  • Last Access and Last Update Times for objects in Cache

    Hi,
         We are looking to implement Tangosol cache for our one of our critical J2EE systems and I am pretty new to it. One of the requirements is to know the following timings
         -Time when an object was put in a cache X (Last update of the object)
         -Time when an object was last accessed in the cache X (Last access time of an object)
         Is it possible to get these values through the Tangosol J2EE API?
         Thanks,
         ravi

    Hi Ravi,
         You can use InvocationService to access this information - an example is attached.
         Regards,
         Dimitri<br><br> <b> Attachment: </b><br>DumpCache.java <br> (*To use this attachment you will need to rename 529.bin to DumpCache.java after the download is complete.)

  • Smart playlists and last played time

    If I have a smart playlist, I noticed the last played time of an item does not update if I have launched and played the item from the main area it appears in (like podcasts).
    Any solution for this?
    Thanks.

    Normally the Last Played time updates when the song reaches the end. That should be true no matter where it is launched from. Are you seeing something different?

  • Log page start and end process time.

    Hi:
    I want to trace my JSP/Servlet process time,who know how to set up
    weblogic to log when the page start process and when it finish.
    Thanks.
    Jason
    Shi([email protected])
    2000/11/3

    Jason Shi <[email protected]> wrote:
    Hi:
    I want to trace my JSP/Servlet process time,who know how to set up
    weblogic to log when the page start process and when it finish.You can implement a common JSP superclass and specify it either using
    <%@ page extends="foo.Super" %> directive, or -superclass jspc command-line
    option. For example:
    package foo;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public abstract class Super implements HttpJspPage {
    private ServletConfig config;
    final public void init(ServletConfig config) throws ServletException {
    this.config = config;
    jspInit();
    final public ServletConfig getServletConfig() {
    return config;
    public String getServletInfo() {
    return "blah blah";
    final public void destroy() {
    jspDestroy();
    final public void service(ServletRequest req, ServletResponse res)
    throws ServletException, IOException {
    long timeStarted = System.currentTimeMillis();
    _jspService((HttpServletRequest)req, (HttpServletResponse)res);
    System.out.println(((HttpServletRequest)req).getRequestURI() +
    " took "
    + (System.currentTimeMillis()-timeStarted)
    + " milliseconds to execute");
    abstract public void _jspService(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException;
    public void jspDestroy() {}
    public void jspInit() {}
    Dimitri

  • Dealing with ExtendScript hangs and long processing times?

    Just curious if an ExtendScript for some reason hangs (or takes really long time to run), you just have to kill it externally right? Or is there some other Adobe scripting feature I'm not aware of that deals with that scenario?
    So I'm guessing the best option to deal with hangs or long processing time is to:
    have an external monitoring tool/service to check up on the ExtendScript execution and handle appropriately as needed (kill it, log info)
    use the COM API (e.g. VBScript, though other COM compatible languages ok) or Applescript API (called directly or called by other programming languages) instead of ExtendScript for their additional programming and/or multi-threading capabilities

    Using whose in Snow Leopard is a lot slower for some reason. SInce you are already using a shell script, you might try using find. Various shell scripts to copy, find, move, etc, can also use wildcard characters.

  • Power Failure caused all Catalogs and Folders to go Missing,  LR3.4

    Running LR 3.4 on a  PC with Vista 32 bit when there was a power failure in the area. I switched off the 'power' to the PC.
    When the power was restored I restarted the PC and LR and all the catalogs, folders and files have all gone missing
    and LR wants to start importing like it has just been installed. The last time the lrcat was backed up was on 20th June.
    Wondering whether there is a more up to date lrcat hidden somewhere in the PC as it is running fine or is there any other
    way to recover my last two days' work and restore back to the point just before the power failure?
    Appreciate any suggestion before I recover from the 20th June back up.

    Jasonized, you are my saviour. I cannot thank you enough for getting me back to where I was just before the power failure. Everything that had gone missing have now been recovered except the enhancements to the last photo that I was working on at during the power failure.  The lrcat file plus the lock and journal files were not in the recycle bin but was somehow saved into my LR V2 backup folder in E: drive !  I systematically searched all my drives and found it there.
    This forum rocks !  I am smiling again.
    Thank you ! Thank You ! Thank YOU !
    ben

  • UPDATE SQL query using WHERE and a date/time data type... Multiple changes...

    I'm using the LabView Database Connectivity Toolset and am using the following query...
    UPDATE IndexStation
    SET Signal_Size=200
    WHERE 'StartTime=12:05:23'
    Now the problem is that this command seems to update all rows in the table IndexStation... Not just specifically the row where StartTime=12:05:23
    I have tries all sorts of {} [] / ' " around certain characters and column names but it always seems to update all rows...
    I've begun to use the SQL query tab in Access to try and narrow down as to why this happens, but no luck!
    Any ideas!?
    Thanks,
    Chris.

    Chris Walter wrote:
    I completely agree about the Microsoft issue.
    But it seems no SQL based manual states that { } will provide a Date/Time constant.
    Is this an NI only implementation? Because I can't seem to get it to function correctly within LabView or in any SQL query.
    Chris.
    There is nothing about the database toolkit in terms of SQL syntax that would be NI specific. The database Toolkit simply interfaces to MS ADO/DAO and the actual SQL syntax is usually implemented in the database driver or database itself although I wouldn't be surprised if ADO/DAO does at times munch a bit with that too.
    The Database Toolkit definitely does not. So this might be a documentation error indeed. My understanding of SQL syntax is in fact rather limited so not sure which databases might use what delimiters to format date/time values. I know that SQL Server is rather tricky thanks to MS catering for the local date/time format in all their tools and the so called universal date/time format has borked on me on several occasions.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Need to know last ran by and last ran time of a SSAS cube

    Hi All,
    I'm just wondering if there is a way so that I can see who ran the olap cube recently with the ran time? any help is appreciated.
    Thanks.
    - please mark correct answers

    Here's the view definition I used to create my RefreshInfo table:
    USE <database>
    GO
    IF OBJECT_ID ('dbo.vwRefreshInfo', 'V') IS NOT NULL
    DROP VIEW dbo.vwRefreshInfo;
    GO
    -- Used to display refresh info in workbook
    CREATE VIEW dbo.vwRefreshInfo AS
    SELECT
    CASE WHEN ( SELECT TOP 1 firstName + ' ' + lastName FROM <user table> WHERE userID = RIGHT(CURRENT_USER, LEN(CURRENT_USER) - CHARINDEX('\',CURRENT_USER) ) ) IS NOT NULL THEN
    ( SELECT TOP 1 firstName + ' ' + lastName FROM <user table> WHERE userID = RIGHT(CURRENT_USER, LEN(CURRENT_USER) - CHARINDEX('\',CURRENT_USER) ) )
    ELSE CURRENT_USER
    END
    AS RefreshUser
    ,GETDATE() AS RefreshTime
    ,MAX( f.TxDateTime ) AS LastDate
    FROM
    <fact table> f
    The user table did not have the domain prefix <domain>\, so that's what the string operations are dealing with in this definition.
    As for how I implemented in Power Pivot, I just created a table that wasn't related to anything else, and it was fed by this view. Then I threw a pivot table on the first sheet of the workbook with these items on the rows.
    It should be pretty trivial for you to implement something similar.

  • How to query First Name and Last name of a EBS 11i?

    I am newbie to EBS. I have a need to get First Name, Last name of any active EBS account. Is there any table that I can query or report that I can run to get these?
    Greatly appreciate it.

    Also, I run the active user report and it only shows the username information. It does not show First name, Last name information. Plus, when I add a user, it does not ask for First Name, Last name. However, when you search for a user, it provides First Name, Last name as search field.
    Any body can help?
    Thanks

  • Address book loses all data and DUPLICATES numerous times

    Address book is broke. After installing 10.4.3 I lost ALL my 600 addresses, they just disappeared. I restored from backup database no problem. BUT, now my address book is all confused!!!! I has duplicated the addresses. I resest and zeroed .mac, I reset my iPod addresses and also my bluetooth phone. However, THREE times I have opened address book to find my addresses have been duplicated again! I "merge" and look for duplicate adresses but that does not catch them all. I hope Apple releases new design. Address book is not working very well right now on my 12 inch powerbook G4 with 700meg RAM. Maybe someone can review with me how I should wipe out all previous info on Address book and restore a clean database of addresses. I have gone in an looked in library/Application Support/Address Book and replaced that folder already.

    Hello Mark, welcome to the discussions. I think the confusion lies with the syncing software rather than AB itself. Try turning of syncing, then delete and restore your AB on the powerbook. Observe it for a couple of days without doing any syncing and I think you will find it is stable.
    AK

Maybe you are looking for

  • Unable to find known Solaris bug (1084772)?

    Hi all, I'm currently facing an issue with my connectivity between SunOS 5.8 with Oracle. However I've stumbled upon sites (referenced below) that quoted this "known" Solaris Bug which ties in strongly with the problem I am having. <Solaris only> Pro

  • Lightbox 2 problem

    Hi Just trying to get lightbox to work. I'm using CS3. I did a trial page and got lightbox working easily. It was just a blank page with one thumbnail on and a larger image to display. . But I tried using lightbox on an existing more complex page and

  • How do I download Adobe Story Plus to my desktop?

    @How do I download the Adobe Story Plus to my desktop.  I'm not getting the right page that has the things I need to click.

  • Viewing active sessions (cfid/cftoken or J2EE sessionid)?

    Hello... is it possible to view the active sessions, whether cfid/cftoken or the J2EE sessionid for any given site on my server? I believe you can store client variables in a datasource, but I don't believe you can do this with the cfid/cftoken or J2

  • HTTP Mail Support

    If any of you use MSN Hotmail, I'm sure you know that they got rid of the POP service some time ago and transferred over to a HTTP mail service. While this is good for the fact that you can sync between multiple devices (phone and laptop, etc), it ma