Refresh on Database Event

Hi Experts
I want to refresh my dashboard every time an insert or update statement is executed in the database.
The only way I found is that i refresh the site periodically ervery minute.
Is there a chance to refresh the dashboard with a trigger that fires when an insert or update is executed?
Or do you have any other idea?
Regards Norbert

I'm pretty certain event poling isn't going to help. Event poling also runs on a set schedule - it's no different than having a dashboard page automatically refresh on the same interval (assuming no caching is being used). Not sure there's a really good solution for this.
From a curiosity standpoint - what type of dashboard are you building? Curious to see what the need is for having dashboards update every time a transaction comes through. If you tell us the "why" you want to do this, maybe we could suggest a better alternative (Agents come to mind)
Thx,
Scott

Similar Messages

  • (SOLVED)Problems during installation, can not refresh package database

    I have been using Arch for a year (dual boot) but for some reasons I had to do a reinstall. It worked fine, but I did some things wrong and I had too reinstall (again, befor even entering the system).  This time (and all the other times i've tried today) I can not complete the "select packages" step, it either freezes at "Refreshing package database" or gives me a message that it just can not be done (sorry, I do not have the exact words atm). I have internet and I've been trying a million different mirrors (including the one I used when it worked). What to do, what to do?
    Worth noting is that I had the same problems a year a go, but it solved it self, no idea what I did then.
    I would really appreciate if some one knew what was going on - it is driving me crazy beyond comprehension!
    EDIT: maby this should have been pasted in the installation section?
    EDIT2: Title
    Last edited by elprofundo (2011-12-18 16:15:29)

    I am sorry, it is during the installation and no command is in use (correct me if I'm wrong) - the tty7 is just reading "Synchronizing package database", the last times i've tried it didbn't 't continue for hours, other times it gives me an error message (which I haven't written down, sadly). I'm trying again atm.
    EDIT: The error message I get is just
    "error: failed retrieving file 'core.db' from mirror.optus.net
                 //                                           mirrors.kernel.org : Connection timed out
    Last edited by elprofundo (2011-12-15 21:47:59)

  • How to generate an email on a database event?

    Dear gurus...I've heard about diferent ways of generating email in response to a database event e.g
    1 - Using UTL_MAIL package
    or
    2 - Event Driven Reporting feature of 10g Database and using SRW.Run_Report package to generate and mail a report.
    Now I'm confused that how should I accomplish the following tasks:
    (i) - How to generate an email after Insert/Update/Delete on a table and acknowledge the concerned users about that event?
    (ii) - How to attach a text file with that email?

    Dear Ivan...I've tried both UTL_SMTP and UTL_MAIL, UTL_SMTP is working well and sending mails but following code of UTL_MAIL is giving the error which I can't guess, why?
    DECLARE
    CRLF CHAR(2) := CHR(10) || CHR(13);
    BEGIN
    UTL_MAIL.SEND(sender => '[email protected]',
    recipients => '[email protected]',
    cc => NULL,
    bcc => NULL,
    subject => 'Test Email',
    message => 'Test line1' || CRLF || CRLF || 'Test line2',
    mime_type => 'text/plain; charset=us-ascii',
    priority => 1);
    END;
    and the error is:
    ORA-29279: SMTP permanent error: 554 Message is not RFC compliant
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 345
    ORA-06512: at "SYS.UTL_MAIL", line 577
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 4
    could u guess why this error is generating???
    P.S...I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production on MS-Windows Server-2003.

  • Shows follwing error when trying to refresh the database?

    Hi All,
    When i try to refresh the database its showing the following error.
    com.hyperion.planning.HspCubeRefreshInProgressException: Cannot complete your request because the database is being refreshed.
    Please let me know ASAP how to reslove the issue.
    Cheers,
    Kittu.

    Looks there is an other process running on the database, you can check from EAS sessions or check logs for other activity running on the application.
    If you think that nothing is running & no users logged in, you can try unlock application from planning/essbase outline and try refresh.
    But pretty sure that some other activity is running on application, like sec refresh or data load or users trying to retrieve/load...etc...hope this helps.

  • Ingres to Oracle Migration (Database Events)

    I am currently working on an Ingres II to Oracle 8.1.6 migration
    project. The client OpenROAD 3.5/03 application makes extensive
    use of Ingres database events.
    Put simply we have a single master process which services
    requests for orders from a number of child processes. There is a
    desire to minimise the degree of code changes when migrating the
    application. OpenROAD provides the
    DBSessionObject.RegisterDBEvent and RaiseDBEvent methods which
    make underlying calls to the Oracle DBMS_ALERT package.
    The problem we have stems from the fact that Ingres database
    events are broadcast to all sessions registered as having an
    interest, much like the Oracle alerts. However, Ingres events
    are retained in a queue whereas the Oracle alert messages, if
    unread, are simply overwritten.
    I feel the best solution would probably be to use the Oracle
    DBMS_PIPE package and build dedicated pipes between each
    master/child session. However, OpenROAD does not appear to
    provide an interface to this package.
    Does anyone have experience of this problem or have any
    suggestions? I'm looking for information on how other sites have
    successfully migrated between the two products. I did find a
    migration toolkit but it seems to avoid the issue of database
    events.
    Many thanks,
    Max

    hello,
    I am interested on the architecture which you set up to see how
    you reach a base ORACLE from OPENROAD or ABF applications. Have
    you planned to pass in OPENROAD 4.1? do you know the GATEWAY CA?
    Thanks in advance,
    Didier

  • Need a good guide on Refreshing a Database

    Hi guys.. i am looking for a good guide which can help me get thru the best practices for refreshing a database step by step.
    Regards
    Monu Koshy

    Hi guys.. i am looking for a good guide which can
    help me get thru the best practices for refreshing a
    database step by step.what do you mean by refreshing a database?
    Do you want to reorg the segments in your database or sync the database with some other database?

  • DEactivate refresh or Database

    Hello,
    i try to open a report with saved Data, but the report allways would refresh the database connection. Can i deactivate this Check/ Refresh ?
    I only need the saved Data in the Report.
    If i open the Report with the designer , i will also get the question to logon.
    I have nearly 10000 Files to open and export with this program.
    The Reports designed with CR 8.5 The program is written in VS 2003.
    I use the cr-dll Versions : 11.0.3300.0
    Every Answer is kindly.
    Thanx
    Hendrik

    Are the CR 8.5 and CR XI installs on the same computer, or on two different computers? E.G.; if CR 8.5 is on computer A and that computer contains the datasource it may be connecting to the database. And if CR XI is on a different computer, the datasource may not be defined there, so the database logon(?).
    Also, In the original post you mention this:
    "I only need the saved Data in the Report."
    But in the last post you say:
    "Is it possible to convert automatically or do this flags in the code?"
    This brings up the question; Are you trying to upgrade the reports to CR XI, or simply read saved data in these reports?
    Also, ensure that you have the latest Service pack for CR XI. this can be downloaded from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006008952008E/crXIwin_sp4.zip
    Ludek

  • Refresh 11g database from existing 10g

    hi
    we are doing upgradation of 10g db to 11g and i have already cloned the 10g db to 11g using full datapump and since then we are working on 11g for additional application software .
    now we need to studown 10g db and make 11g db in use. so i just need to refresh the 11g db with the changes we made to existing db sinse last time i cloned the db.
    is full datapump is gonna work as it will drop everything and overrites it but we have created new tables and tablespaces for applications on 11g db ,so this will drop them too.
    what is the effecting method to refresh the database.
    thanks
    gagan

    Yes datapump will work here. In a clean way you can just drop all the objects and import the new copy in to it or else you can use import including table_exists_action with truncate option
    Thanks
    Sravya

  • Job on database event

    Hi all,
    I want to create a job based on a database event.
    I want to delete records in a table that are older then for example 4 years old. Tha tabel has a create_date attribute.
    Is this possible?
    Ps.
    Currently I would create a procedure that would check for records older than 4 years and delete them. I would then create a job that runs this procedure every year.
    And then I read about jobs based on events. they work with the concept of oracle messaging and queues. This seemd a better idea.

    Hi,
    I don't think events would work well for your case. Database events are really AQ messages. The database really doesn't send messages, you need to create the infrastructure to enqueue messages or raise alerts yourself.
    In my opinion, building the infrastructure to do this is less efficient and more complex than simply scheduling a job that runs once every so often.
    -Ravi

  • Error refreshing Planning Database

    Hi Friends,
    I am not able to refresh the database in Planning.
    I am getting following error at step2(Setting Locaiton Aliases) "java.lang.UnsatisfiedLinkError: no HspEssbaseOutlineAPI in java.library.path"
    Anyone please guide me.

    It worked well before.
    But after we copied the schema from Prod to dev . Then I tried to login dev environment and refresh. From that time onwards I am facing the isssue.
    Thanks,
    Vishnu.L

  • Need query for refresh test database.

    Hi,
    I want refresh production database to test database refresh using expdp dumpfile. Please provide steps this is the requirement
    This request is to refresh the Tecnomatix test database MFEM which is
    on the NATEST server wnmcdwtk.natest.gm.com. This database needs to
    be refreshed using an Oracle full backup dump file from the Tecnomatix
    production database MFEP which runs on the production NAENG server
    wnmcdds8.naeng.gm.com. The MFEM and MFEP databases are both at Oracle
    v10.2.0.4.

    Hi,
    You have posted to the wrong section of the forum. This forum us for Berkeley DB.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • On Browsers refresh/ back button event   terminate user session

    I have a problem pls help me to solve this.
    Requirement is :
    I need to catch browser's [b]refresh back button event.
    Actually I need to terminate his session/login
    when user clicks on browser's refresh button
    and send user on Login page something like banking application(e.g. ICICI Bank) when u logged in ICICI bank side in between if u click on browser's refresh it shows message "Your session terminated " something like that.
    So i want same functinality after user click on Refresh terminate his session

    in my page i am inserting new data and updating existing data
    so for inserting data againe page get submitted so for inserrion time alos these onload & Onunload events get fired
    i tried this but still proble is unsolved..
    give some more ways to solve this

  • Second opinion : Database events

    I'm probably a bit late but I found Database events and that seems to me something I have to use... Together with SQLlite / applescript...
    But I want a second opinion. Is this is the best way to store my data for free?
    Because when I start using database events I will get big databases with many records and fields,...
    Of course if you have a better suggestion I would like to know it..
    I prefer free / open source solutions. My software budget is zero this year.
    Many thanks.

    What is your primary goal here - to store lots of data, or to AppleScript your data?
    The reason I ask is that Database Events is your simplest path to using a database within AppleScript, however it has a few caveats.
    First is that I don't know anyone that's using it at scale. I've used it myself for small data sets but I don't know anyone storing gigabytes (or terabytes) of data with it. It might be fine - I just don't hear of it happening.
    The second is that, IIRC, Apple have changed their underlying database in the past, so you may need to consider what to do if they repeat that (and whether they'll provide seamless migration tools).
    So if your primary goal is to store lots of data, then there are other, free, solutions out there including MySQL, PostgreSQL and more. Of course, the downside to these is that there is little or no AppleScript integration, so you're limited to interacting with then via shell commands. AFAIK all the other databases that support AppleScript (either directly or via ODBC) are commercial.

  • Database events

    Hi I am connecting to Oracle 9 database using OracleInProcServer library from my .NET 1.1 project.
    I want to use database events so Oracle can notify me of a change in database.
    My code:
    Dim gOraSession As Object
    Dim gOraSubscriptions As OracleInProcServer.OraSubscriptions
    Dim gOraDatabase As OracleInProcServer.OraDatabase
    gOraSession = CreateObject("OracleInProcServer.XOraSession")
    gOraDatabase = gOraSession.DbOpenDatabase("<database_instance>", "<username>/<password>", OracleInProcServer.dbOption.ORADB_ENLIST_FOR_CALLBACK)
    gOraSubscriptions = gOraDatabase.Subscriptions
    gOraSubscriptions.Add("<queue_name>:<subscriber>", DBEventsHdlr, A) --------ERROR
    gOraSubscriptions(0).Register()
    I get the Type Mismatch error on the line before the last one. What could be the problem?

    Hi I am connecting to Oracle 9 database using OracleInProcServer library from my .NET 1.1 project.
    I want to use database events so Oracle can notify me of a change in database.
    My code:
    Dim gOraSession As Object
    Dim gOraSubscriptions As OracleInProcServer.OraSubscriptions
    Dim gOraDatabase As OracleInProcServer.OraDatabase
    gOraSession = CreateObject("OracleInProcServer.XOraSession")
    gOraDatabase = gOraSession.DbOpenDatabase("<database_instance>", "<username>/<password>", OracleInProcServer.dbOption.ORADB_ENLIST_FOR_CALLBACK)
    gOraSubscriptions = gOraDatabase.Subscriptions
    gOraSubscriptions.Add("<queue_name>:<subscriber>", DBEventsHdlr, A) --------ERROR
    gOraSubscriptions(0).Register()
    I get the Type Mismatch error on the line before the last one. What could be the problem?

  • Difference between r/3 refresh and database refresh

    Dear guru's
                   what is the difference between system refresh and database refresh.........And what is the process of both....... please give me end to end nogotiate............
    Regard's
    rajkumar

    Hi Raj,
    Database refresh, I believe is one of the ways you could refresh your SAP systems.
    E.g Oracle database specific refresh is one of the ways. In this, I think you would export, move and then import cold backup of the database.
    Easiest way to get more information is to search for the System refresh (or System copy) master guide from Market place or help.sap.com.
    Regards,
    N.

Maybe you are looking for