How to find the last refresh of database?
Hi,
Can someone tell me how to find when was the last refresh of a database was done.
Now it is much better!!!
1. If the cloning was done using a cold backup of
database, how can we know when was the last cloning
on testing db done.If the cloned database has been opened with RESETLOGS option, you can try checking out V$DATABASE.RESETLOGS_TIME. if the V$DATABASE.CREATED is not equal to V$DATABASE.RESETLOGS_TIME...there is a possibility that it might be opened with resetlogs option. I don't have the required set up to check and confirm this myself....but this is something you can get it a shot.
2. If export/import utility is used for this purpose,
the how can we find out the last time the testing db
was 'refreshed'?If import was used, check the object creation timestamps of majority of them...may be it will help you find the required information.
HTH
Thanks
Chandra Pabba
Similar Messages
-
Sir,how to find the last DML operations
Hi,
Please tell me how to find the last DML Operations at least minimum 30 queries.
Thanks in advance,Shared Pool is a memory location in SGA that contains SQL Statement that are submitted to Oracle for execution. This area is common to the entire database. Its not specific to user.
So what ever Unique SQL statement that is submitted to the SQL Engine will be available here. Shared Pool has a size limit. That is defined by the parameters SHARED_POOL_SIZE and SHARED_POOL_RESERVED_SIZE. So when the Shared pool becomes full the data needs to be removed from it. That is done in FIFO basis.
Oracle provides a visibility to this area through dictionary view V$SQLAREA. So this view will not only contain the SQL executed by you but also by every one. Even the one executed by oracle itself.
So in my opinion what you are asking is not possible to get. You must have some logging mechanism in your application to get this information. -
How to find the Last modified date and time of a package
Hi,
We need a clarification on how to find the Last modified date and time of a package in Oracle. We used the example below to explain our scenario,
Lets consider the following example
Let A, B be two packages.
Package A calls the package B. So A is dependent on B.
When A is compiled the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated.
Now there a modification in package B so it is compiled. There is no modification in package A.
Now when the package A is executed the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated but we did not make any change in Package A. Now we need to find last modified date and time of the package A . So we can not rely on the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS . Can u please tell us any other solution to get last modified date and time of the package A .
Regards,
Vijayanand.CHere is an example:
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 10:57:32 2004-05-20:10:57:32 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 VALID
SQL> CREATE OR REPLACE PROCEDURE A AS
2 BEGIN
3 NULL;
4 NULL;
5 END;
6 /
Procedure created.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 INVALID
SQL> EXEC B
PL/SQL procedure successfully completed.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 11:01:53 2004-05-20:11:01:53 VALID
Note that the date under the column 'created' only changes when you really create or replace the procedure.
Hence you can use the column 'created' of 'user_objects'. -
How to find the last update date time and user of record field peoplecode
how to find the last update date time record field peoplecode?
Thank you.One can check the last update date time using the following query
SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME' -
How to find the last modified date of a workflow.
How to find the last modified date of a workflow.
thanks.Hi,
There is nothing as standard that does this - you could write some code to determine the latest begin_date from each of the workflow tables and assume that this was the last time that the definition changed.
What you need is something like this:
select max(wfa.begin_date)
from wf_process_activities wpa
, wf_activities wfa
, wf_item_types_tl wit
where wpa.activity_item_type = wfa.item_type
and wpa.activity_name = wfa.name
and wfa.version = (select max(version) from wf_activities wfa1 where wpa.activity_item_type = wfa1.item_type and wpa.activity_name = wfa1.name )
and wpa.process_item_type = 'your item type'
and wpa.process_item_type = wit.namewhich I think gives what you want.
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
How to find the size of a database?
I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
Is this possible using simple query?francislazaro wrote:
I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
Is this possible using simple query?There are many threads related to the same topic,
http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+find+the+size+of+a+database&objID=f61&dateRange=all&userID=&numResults=15&rankBy=10001
HTH
Aman.... -
How to find the last executed date of any program?
<<Frequently asked questions. So search>>
How to find the last executed date of any program?
is there any system variable or function module?
Edited by: Matt on Oct 5, 2010 12:48 PMcheck the transaction STAD.
Prabhudas -
How to find the Last report run date
Hello All,
I have one ALV report.
In that report i have to display the date on which the report was run last time.
The user can run report both in backgroud as well as in forground.
Cay anybody plz tell me how to find the date on which report was run last time.
Thanks and Regards
Sachin YadavHello Sachin,
I agree with Thomas on this. That would be the simplest & fool-proof solutn. Alternatively, you can try to use the stmts: EXPORT/IMPORT TO DATABASE.
Search in SDN you will find [similar posts|Get IP Address and Report Running Date and time;.
BR,
Suhas
Edited by: Suhas Saha on May 18, 2009 3:44 PM -
How to find the last login details of a Sharepoint SSRS user
How to /where to find the last login details of SSRS sharepoint user. Is there any table where we can check the last login details of user. This is because we are facing an issue of Subscription failure due to Sharepoint token expiration. If user logs in
before 24 hours of his last login time, he is able to get his report subscription. If not, below error is thrown.
The permission granted to user 'domainname\username' are insufficient to perform this operation.Hi,
According to your post, my understanding is that you want to monitor the last login user’s details.
There is no out of the box way to achieve it in SharePoint.
We can use cookie to be a flag for checking whether there is an user just log in. After the page loaded, if the cookie is null, it suggests that there is an user just log in our site, then we
can get this user’s information using JavaScript Object Model and add the information into a custom list. With this list, we can monitor user’s login details.
Refer to the following link:
https://social.technet.microsoft.com/Forums/en-US/0cd4d531-cb61-4d90-aa70-413267f4a735/how-to-know-login-and-logout-details-of-a-user-in-sharepoint-online-2013?forum=sharepointdevelopment
Besides, here are two similar posts for your reference:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/1a35283e-0f2a-49b8-b330-801a3cfcd890/programatically-get-all-current-logged-in-users-list-for-a-sharepoint-site?forum=sharepointdevelopmentprevious
https://social.technet.microsoft.com/Forums/en-US/10953be3-cb1c-40c7-9454-545c8338b551/how-to-know-login-users-count-and-their-details-in-sharepoint-2010-web-application?forum=sharepointgeneralprevious
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
How to find the last executed date ,time and user of the quaery
Hi,
How to find the following information of the Query
1. Where all the place these queries/web template used.
2. When was it last executed.
3. Who executed last.
Regards,
Harihi Hari,
you can try table /BI0/APERS_BOD00
for query, first go to table RSRREPDIR, give field COMPID
with query technical name and get GENUNIID, then go to table /BI0/APERS_BOD00, field TCTOBJNM = RSRREPDIR-GENUNIID, TCTUSERNM and TCTTIMSTMP -> user name and last executed.
for web template, give field TCTOBJNM in table /BI0/APERS_BOD00 with web template name.
hope this helps. -
How to find the last execute query
Hi, Is there a way to find the last executed query of report?
Thanks
Aali
Edited by: aali on 22-Feb-2010 06:39Hi,
if you hold the necessary privileges, you might find the SQL in the shared pool:
select last_active_time, parse_calls, disk_reads, buffer_gets, cpu_time, end_of_fetch_count, executions, plsql_exec_time, sql_text
from V$SQLSTATS
where sql_text like '% some distinctive string %'
order by last_active_time desc;if you insert some meaningful string in form of comment inside the query itself, say /* report #1 on page 3 */
you may be able to track it down more easily.
select last_active_time, parse_calls, disk_reads, buffer_gets, cpu_time, end_of_fetch_count, executions, plsql_exec_time, sql_text
from V$SQLSTATS
where sql_text like '% report #1 on page 3 %'
order by last_active_time desc;Bye
Flavio
http://oraclequirks.blogspot.com -
How to Finding the Last Row Value in Datagrid?
Hi Everyone,
Thanks in Advance.
I need your help, to find the last row data in Datagrid.
Actually i am using Datagrid to display my Data in flex. In my data i stored the gender value of employees. So if the last row in my datagrid is "female" i need to be highlight that particular row. So please help me to solve this issue.
Thanks,
Charles. Jdatagrid.selectedIndex = datagrid.dataprovider.length;
^ something like this will select the last row in the datagrid.
if you need to check it's value, you might need to cast an object here, based on the index value, and check it's gender value.
datagrid.selectedIndex = datagrid.dataprovider.length;
if (datagrid.selectedItem["gender"] == "female") {
//handle here -
How to find the last string value in dynamic object?
Hi All,
I am trying to find the last string value in dyanamic objects,Any one have solution for this.
Ex:
my data :12347-ebjdone-525-ecgfjf-25236-defdafgdeg
And i want to show the output is :defdafgdeg
Any ideas:
Thanks
SriniFor oracle try using oracle function.
e.g.
SELECT reverse(substr(reverse('12347-ebjdone-525-ecgfjf-25236-defdafgdeg'),1,instr(reverse('12347-ebjdone-525-ecgfjf-25236-defdafgdeg'),'-','1'))) from dual
Object definition might look like:
reverse(substr(reverse({ObjectName}),1,instr(reverse({ObjectsName}),'-','1')))
Regards,
Kuldeep
Edited by: Kuldeep Chitrakar on Feb 12, 2010 8:12 AM -
How to find the Last logon detail of a deleted user?
I need to find the last logon detail of a deleted user.I have tried with SM20 i got the details,but i coildnt get for few users.Is there any other way to get this?
Hi Eva,
Follow below:-
1. Go to Se16
2. table name either USH02 or USH04
3. provide BNAME row as your user name then execute it
4. you will get all the entries for that user in the next output screen
5. Check the Column names like
MODDA
MODTI
MODBE
TCODE REPID
For the Details which you need.
The descriptions of this columns are as below:-
MANDT
Client
BNAME
User
MODDA
Modification date
MODTI
Modification time
MODBE
Changed by
TCODE
Not More Closely Defined Area, Pos
REPID
Program Name
BCODE
Initial password
GLTGV
Valid from
GLTGB
Valid through
USTYP
User Type
CLASS
User group
UFLAG
User Lock Status
ACCNT
Account number
PASSCODE
Password Hash Val.(SAH1, 160 Bit)
CODVN
Password Code Vers.
PWDINITIAL
Indicator: Password Is Initial
Let me know if you need further help in this.
Regards,
Ram -
Need to know how to find the last execution time for a function module
HI all
I need to know
1) How to find out the last execution time of the function module ?
say for eg. I have executed a func. module at 1:39pm. How to retrieve this time (1:39pm)
2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
How to capture the latest SAP database update b/w time intervals?
3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
Is it possible to run the program once again from 21st records ? All this will be running in background...
Kindly clarify....
Points will be rewarded
Thanks in advance1.Use tcode STAT input as Tcode of Fm and execute .
2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
VBRk-Erdat "date ., u can check the time field also
So now if u talk the date and time we can filter then display the records in intervals.
3. with an error exeption how is my txt download finished .
once exception is raised there will not be a download .
regards,
vijay
Maybe you are looking for
-
Midi loop auditioning..
Anyone know why a midi loop, when auditioned at a vastly different tempo, sounds like its tempo is being modified in audio? Is this because midi loops are referenced as audio?
-
I know the songs are still on my Ipod, but they wont appear.
i know that i have my songs loaded on my ipod, because there is only 8 gigs left out of 19 some-odd gigs, but none of the playlists nor the songs show up on the ipod or itunes. my photos are still on, ive installed the ipod updater and new version of
-
hi all, how to rename a file/folder automatically when executing java program application.. and also that renamed file should not be editable like delete,open,copy,rename manually in the specified location where the folder is. i have used renameTo me
-
Wired mouse randomly jumps to corner
For months if not over a year now I've had an Apple mouse (model no A1152, EMC No 2058) which randomly jumps to a corner. It's nothing to do with the pad graphic as I bought a new one thinking this. The cursor will stay in the corner forever unless I
-
Turning string values in $ amounts
I have a string that I am receiving from the database. The issue is that the database often cuts off any decimal places that are deemed insignificant, for instance a value of 50.10 would read 50.1, is there an easy way to make sure that every output