I want to monitor Activity Logs on Oracle SQL Developer Tool, using F8 key i am getting SQL history.
I want user session-wise data like who (user) have executed which query or any operation from GUI.
To view sessions:
In SQL Developer, click Tools, then Monitor Sessions.
In the Select Connection dialog box, select a connection to SYSTEM (or another account with full DBA privileges)
A Sessions tab is displayed
Related
For history, I just recently wrote this question:
This has led to a follow up question. In the User Profile, "Roles" Tab (which I'm assuming is a table somewhere), is there a table I can report on that will get me what was changed and possibly by which user account (and maybe even the IP address of the user account)?
The path is:
Main Menu->PeopleTools->Security->User Profiles (and then the 'Roles' Tab).
Ultimately I need to figure out what change was made (when a role name was added) and by what user account and as of what date/time. If possible I need to link it to the IP address (which I think is found here: PSACCESSLOG).
what you need is audit on the PSROLEUSER table: you need to build an audit table for it and fill it either by a database trigger or through a PeopleSoft development: adding record audit to the PSROLEUSER table.
The PSROLEUSER table stores the roles a user is assigned. By default there is no history. To get that you would need to enable auditing, either record auditing through App Designer or setting up database trigger auditing. The database trigger audits can actually capture changes made either online or through the database so could be considered more complete, but can take some effort to get working properly. However, the database triggers also allow capturing some additional user information at the time of the transaction.
See http://peoplesoft.wikidot.com/auditing-user-profiles, particularly the section on using the the GET_PS_OPRID functions for Oracle or the SQL Server equivalent. Capturing the OSUSER and IP here would more reliable than trying to tie back to PSACCESSLOG.
Step:
Click Start, click All Programs, click Microsoft BizTalk Server 20xx, and then click BizTalk Server Administration.
In the console tree, expand BizTalk Server Administration, expand the BizTalk group, expand Applications, and then expand the application containing the orchestration for which you want to configure tracking.
Click Orchestrations, right-click the orchestration for which you want to configure tracking, and then click Properties.
Click the Tracking tab, select the tracking options you want, as described in the following table, and then click OK.
Track Events - Orchestration start and end --check box enable
Track Events - Message send and receive --check box enable
Track Events - Shape start and end --check box enable
Question:
I ran query completed instances through BizTalk admin console I haven't seen anything same time other few application I'm able to see completed orchestration. So, what make different to not track completed instances for such application ?
Is this issue related to SQL agent job for BizTalk?
Any specific details about how to run query using SQL management studio to find out tracking information for such application that being not track through BizTalk admin console?
i want to implement push notification from DB2.
I have two Database servers, Server#1 is DB2 and Server#2 is oracle 11g. I have a situation where, whenever some data is inserted in DB2 I need to insert that data in Oracle as well.
I want to inquire whether Push notification from DB2 is the right option available or is there any other suitable way to look forward to.
Or more simply I just need to know whether there is any event available in DB2 when a row is inserted in it like SQL Dependency feature in SQL Server.
Thanks
DB2 offers several options of getting data to another server. Here are some I can think of:
SQL Trigger to react on insert/update/delete and to possibly send out a notification
SQL Replication feature - this is based on triggers
Q Replication would capture the changes and send them over
Event Publishing would notify of change events, probably closed to what you are looking for
Start here in the Q Replication and SQL Replication overview to read about the features and differences.
I am currently testing signalr with sql server as my backplane. If I switch sql with redis, how would I be able to incorporate sql database in that design via programming not set up.
For example My stored procedure saves user profile properties like (height, interests), now when i need to grab that information into an object along with data in redis(how many likes a photo has within that user profile by providing the user profile as a key).
I initially had sql server doing the work where I edit the number of likes on the table and bam, it pops up automatically with signalr like it supposed to.
Now because of performance reasons I would like the same results, except having redis storing the likes of the user profile, and sql persisting the rest of the user profile object.
Sorry if I confused anyone, let me know and I will re-edit immediately.
I have run a query in teradata and sql assistant in (Not Responding)
I do not want to loose the query?
What can I do to stop it and keep the query
Open another instance of SQL Assistant and see if the query has been saved to the History.
Ask the DBA to abort your session on your behalf which should return control to SQL Assistant.
Ask the DBA if DBQL has been enabled and how you can retrieve the SQL from the query logs. (You may or may not have direct access to the logging tables.)