[open] Performance of Database
Hello Gurus
I have around 5 databases Dev01,Dev02,Dev03,Dev04,Dev05 in my server
To increase the performance of one Dev04 DB i decrease the resources(sga_max_size,shared_pool_size,db_cache_size) for other DBs and increase the resources of Dev04 DB upto maximun extended
But i am observered the performance of Dev04 DB is poor
Is there any suggestion/tricks to increase or decraese resources for DB to perform better
Thanks in advance
It would be a little tough to say what to do with the information that you have provided. The first most important missing part is the database version(4 digits). Alot has changed with the versions so what and why can be different based on it.
It would be required for you to see that what's happening on the Dev 4 db that its slow. The parameters , even though given generously doesn't gurantee that there would be a performance boost all the time. If there is a hard parse issue in the statements itself than it won't matter how much shared pool you allocate,it will eventually get filled up. Changing the parameter and expecting performance gain is called instance tuning and its highly unlikely that it would be of much use.
You have mentioned high resource utilization in the db. Did you check that in the system itself is not choked up due to resource crunch? There are commands like sar, top, vmstat which can help you in doing this. The objective is to remove anything over the o/s itself which is causing it.
Once you are done with this, you should come to the db and check which are the areas that may have beocme the contention point,for example, due to heavy parsing of the statemen aka hard parsing of the statements, cpu would be used veyr heavily. This may cause the resource crunch also. The best way to check this would be to generate STatspack or AWR report, depending on the version of your db. Generate that and post it here than it would be a little accurate to advice you over the performance gain.
HTH
Aman....
Similar Messages
-
Error while trying to open physical standby database - (DATA GUARD)
Hi Everyone,
I have problems in opening the database of the physical standby in read- write mode/ read only mode. I have a primary server which is running on 2 node RAC and the standby on a seperate single server being used as DR. I recently got this server and my aim was to isolate the standby server from primary server and perform few test. As it has never been tested even once.
Primary Database spec: (2 Node Rac on ASM)
Oracle Version : 10.2.0.3.0
O/s : HP-UX B.11.23
Standby Database spec: (Single Node)
Oracle Version : 10.2.0.3.0
O/s: HP-UX db01 B.11.23
Error:
alter database recover managed standby database cancel;
Database altered.
SQL> alter database open
2 ;
alter database open
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/dprod/datafile/system01.dbf'
Parameters :
log_archive_dest_2 string SERVICE=PROD1 LGWR ASYNC VALID
FOR=(ONLINELOGFILES,PRIMARY_
ROLE) DB_UNIQUE_NAME=PROD
remote_archive_enable string true
fal_client string DPROD
fal_server string PROD1, PROD2
Steps tried so far:
Changed log_archive_dest_2 = DEFER on both the primary nodes
Standby :
startup nomount
alter database mount standby database;
alter database recover managed standby database disconnect;
alter database recover managed standby database cancel;
alter database open/readonly (tried both)
Same error.
On Primary:
SQL> select max(sequence#) from v$log_history;
MAX(SEQUENCE#)
55702
on Standby:
MAX(SEQUENCE#)
33289
Primary Database:
SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
SEQUENCE# FIRST_TIME NEXT_TIME
55700 13-JUN-11 13-JUN-11
55700 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
55702 13-JUN-11 13-JUN-11
60824 rows selected.
Standby Database:
SEQUENCE# FIRST_TIME NEXT_TIME
55698 13-JUN-11 13-JUN-11
55699 13-JUN-11 13-JUN-11
55700 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
15206 rows selected.
Additional Information :
There is a delay of 20 minutes before the logs get applied. which has been intentional set by team.
Any help will be highly appreciated. Thanks in advance
SadiqHi,
Primary Database:
select status,checkpoint_count from v$datafile_header;
STATUS CHECKPOINT_COUNT
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
STATUS CHECKPOINT_COUNT
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 59736
ONLINE 59736
ONLINE 59736
ONLINE 59736
ONLINE 59736
STATUS CHECKPOINT_COUNT
ONLINE 57717
ONLINE 57717
57 rows selected.
Standby Database;
select status,checkpoint_count from v$datafile_header;
STATUS CHECKPOINT_COUNT
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
STATUS CHECKPOINT_COUNT
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 32742
ONLINE 32742
ONLINE 32742
ONLINE 32742
ONLINE 32742
STATUS CHECKPOINT_COUNT
ONLINE 30723
ONLINE 30723
57 rows selected.
Archieve log list :
Primary database:
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 49110
Next log sequence to archive 49111
Current log sequence 49111
Standby Database:
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 49110
Next log sequence to archive 0
Current log sequence 49111
I tried log switch multiple times in primary database i saw that its getting highlighted in standby database. -
Help! Error: Failed to open Address Book Database on Palm Desktop
In advance, thank you, thank you, thank you to the person who saves me from this error! I have no idea what I've done to deserve this!?! So, thank you for helping!!!
Here's the problem:
When I double click on the Palm Desktop icon on my desktop, I get: Error: Failed to open Address Book Database on Palm Desktop
And then, I get: This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
When I click on the details button, it says: PALM caused an invalid page fault in
module MFC42.DLL at 0177:5f404045.
Registers:
EAX=0082fad8 CS=0177 EIP=5f404045 EFLGS=00010202
EBX=00000000 SS=017f ESP=0082fa94 EBP=00855d0c
ECX=5f4d1c58 DS=017f ESI=0082fad8 FS=572f
EDX=00017b84 ES=017f EDI=00000008 GS=0000
Bytes at CS:EIP:
8b 07 3b c8 74 34 83 79 f4 00 7d 0f 83 c1 f4 3b
Stack dump:
00000000 008558c0 004b5d3d 00000008 01befe17 0082fad8 008559cc 008558c0 00855d0c 00000000 00000010 5f4d1c58 00000000 00000000 00000000 00000000
Again, thanks for your help in advance!
Post relates to: Palm VxI've seen a lot of people post a message that's basically like the problem I'm having. I'm sending this to everyone who had the same general type of question in hopes that my fix might cure your problem also.
My Palm Desktop (4.1.4) would open correctly the first time after installing, but after doing a hotsync it would crash every other time it was opened (using a Tungsten E). I'm running Windows XP Professional, and it would give an error saying "Windows XP has encountered an error and needs to close", or something like that.
I did the usual. Removed the program and reinstalled, which didn't work. I also went through the tedious process of uninstalling the software, then removing every registry entry by hand that referenced the Palm or Pocketmirror, which also didn't work.
I searched through the support files on palmone.com and found something that gave me an idea. It talked about removing a corrupted file to fix problems with the datebook. I hadn't been getting any errors pointing to a specific problem, but on a hunch I deleted the entire address folder out of the Palm directory. That did the trick!
A corrupted address book in the Palm Desktop software was keeping it from running. The problem was how to fix the corruption, which I eventually found on a menu option in the Palm Desktop software.
Below is the fix that worked for me. Caution! Only do this if you have all of the current info in your Palm, because it will erase what's on your Palm Desktop.
1. Go to your Palm folder on your pc (default install location is c:\palm) and open the folder for your user.
2. Delete the address, datebook, expense, memopad, note pad and todo folders.
3. Open the Palm Desktop program.
4. Do a hotsync.
5. Important! Don't click on anything else in the Palm Desktop after doing the hotsync. If you change to one of the areas that has corrupted data, it will immediately crash.
6. Right after doing the hotsync, click Tools on the top menu in the Palm Desktop, then Options. Click on the Tools tab and then click Check Now to fix the corrupted data.
7. Click OK.
That should hopefully get you running again. Let me know if that worked for you. -
Unable to open 11g R2 database now after trying an RMAN restore
Hi my database is not opening now.
What I was trying was to restore the database on my new server from latest database taken from my old live server and applying it on my new 11g DB (new server-database already created)
old server-11.1.0.7.0-windows 2003 server 32 bit
new server-11.2.0.3.0-windows 2008 64 bit server
The steps i have done which caused this , (After everything was working fine, i did these foll.steps and now all messed up):
The oracle database on this new server was already 11.2.3.0 -it was not upgrade, i directly installed 11.2.0.3.0 on it + applied latest patches etc.
I took RMAN backup from old server 11.1.0.7.0 oracle database.
Copied this backup to to the new server flash recovery area &every step of the restore was working fine -
in nomount mode, restored the control file from autobackup-fine
in mount mode, catalogued the files-fine (Backup from old live,copied to new live)
I restored&Recovered the database until the latest archivelogs.
Until the above steps-all worked fine like a normal recovery steps.
Then I gave "alter database open resetlogs" in RMAN prompt, it gave out error and from that point onwards I am unable to open the database now.
Unfortunately, couldnt grab full screenshot of the error in RMAN but the error basically said that bootstrap failed and i have to open the database with the upgrade option?
Please see in alert log as well
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Following is the last lines from alert log:
[code]
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
Windows NT Version V6.1 Service Pack 1
CPU : 4 - type 8664, 4 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:3760M/8191M, Ph+PgF:9170M/16381M
VM name : VMWare Version (6)
Using parameter settings in server-side spfile F:\APP\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEGEOP.ORA
System parameters with non-default values:
processes = 150
memory_target = 3728M
control_files = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL01.CTL"
control_files = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL02.CTL"
control_files = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.2.0.0.0"
log_archive_format = "ARC%S_%R.%T"
db_recovery_file_dest = "I:\oracle\flash_recovery_area"
db_recovery_file_dest_size= 45G
undo_tablespace = "UNDOTBS1"
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=GEOPXDB)"
audit_file_dest = "F:\APP\ORACLE\ADMIN\GEOP\ADUMP"
audit_trail = "DB"
db_name = "GEOP"
open_cursors = 300
diagnostic_dest = "F:\APP\ORACLE"
Thu Dec 12 17:22:18 2013
PMON started with pid=2, OS id=3440
Thu Dec 12 17:22:18 2013
PSP0 started with pid=3, OS id=10252
Thu Dec 12 17:22:19 2013
VKTM started with pid=4, OS id=11684 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Thu Dec 12 17:22:19 2013
GEN0 started with pid=5, OS id=4528
Thu Dec 12 17:22:19 2013
DIAG started with pid=6, OS id=5652
Thu Dec 12 17:22:19 2013
DBRM started with pid=7, OS id=7676
Thu Dec 12 17:22:19 2013
DIA0 started with pid=8, OS id=5724
Thu Dec 12 17:22:19 2013
MMAN started with pid=9, OS id=6632
Thu Dec 12 17:22:19 2013
DBW0 started with pid=10, OS id=3572
Thu Dec 12 17:22:19 2013
LGWR started with pid=11, OS id=8876
Thu Dec 12 17:22:19 2013
CKPT started with pid=12, OS id=3748
Thu Dec 12 17:22:20 2013
SMON started with pid=13, OS id=8108
Thu Dec 12 17:22:20 2013
RECO started with pid=14, OS id=1932
Thu Dec 12 17:22:20 2013
MMON started with pid=15, OS id=7468
Thu Dec 12 17:22:20 2013
MMNL started with pid=16, OS id=8136
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = F:\app\oracle
Thu Dec 12 17:22:21 2013
ALTER DATABASE MOUNT
Successful mount of redo thread 1, with mount id 3351347149
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Dec 12 17:22:26 2013
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 3 processes
Started redo scan
Completed redo scan
read 11 KB redo, 6 data blocks need recovery
Started redo application at
Thread 1: logseq 3, block 2, scn 59089613795
Recovery of Online Redo Log: Thread 1 Group 6 Seq 3 Reading mem 0
Mem# 0: F:\ORACLE11G\ORADATA\GEOP\GEOP\REDO06.LOG
Completed redo application of 0.01MB
Completed crash recovery at
Thread 1: logseq 3, block 24, scn 59089633817
6 data blocks read, 6 data blocks written, 11 redo k-bytes read
Read of datafile 'F:\ORACLE11G\ORADATA\GEOP\GEOP\TEMP01.DBF' (fno 201) header failed with ORA-01203
Rereading datafile 201 header failed with ORA-01203
Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_dbw0_3572.trc:
ORA-01186: file 201 failed verification tests
ORA-01122: database file 201 failed verification check
ORA-01110: data file 201: 'F:\ORACLE11G\ORADATA\GEOP\GEOP\TEMP01.DBF'
ORA-01203: wrong incarnation of this file - wrong creation SCN
File 201 not verified due to error ORA-01122
LGWR: STARTING ARCH PROCESSES
Thu Dec 12 17:22:27 2013
ARC0 started with pid=19, OS id=10876
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Thu Dec 12 17:22:28 2013
ARC1 started with pid=24, OS id=10912
Thu Dec 12 17:22:28 2013
ARC2 started with pid=25, OS id=6652
Thu Dec 12 17:22:28 2013
ARC3 started with pid=26, OS id=9648
ARC1: Archival started
ARC2: Archival started
ARC1: Becoming the 'no FAL' ARCH
Thread 1 advanced to log sequence 4 (thread open)
ARC1: Becoming the 'no SRL' ARCH
ARC2: Becoming the heartbeat ARCH
Thread 1 opened at log sequence 4
Current log# 4 seq# 4 mem# 0: F:\ORACLE11G\ORADATA\GEOP\GEOP\REDO04.LOG
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Archived Log entry 64945 added for thread 1 sequence 3 ID 0xc7c27920 dest 1:
Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_ora_12260.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_ora_12260.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Error 704 happened during db open, shutting down database
USER (ospid: 12260): terminating the instance due to error 704
Instance terminated by USER, pid = 12260
ORA-1092 signalled during: ALTER DATABASE OPEN...
opiodr aborting process unknown ospid (12260) as a result of ORA-1092
Thu Dec 12 17:22:33 2013
ORA-1092 : opitsk aborting process
[/code]
Please please please let me know what steps should I do now to get my 11g database operational again?
Now when i am trying:
(SQL prompt)
[code]
>sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.3.0 Production on Thu Dec 12 17:22:05 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup open;
ORACLE instance started.
Total System Global Area 3891630080 bytes
Fixed Size 2261120 bytes
Variable Size 2147487616 bytes
Database Buffers 1728053248 bytes
Redo Buffers 13828096 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Process ID: 12260
Session ID: 5 Serial number: 5
SQL> startup open upgrade;
SP2-0714: invalid combination of STARTUP options
SQL> startup upgrade;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL> startup upgrade open;
SP2-0714: invalid combination of STARTUP options
SQL> alter database mount;
ERROR:
ORA-03114: not connected to ORACLE
SQL> shutdown immediate;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL> startup nomount
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
[/code]This is why you do backups both before and after doing other things.
So one way to do something like this:
Backup old db.
expdp old db.
Install new 11gR2, create database.
Back it up.
Turn off archivelog.
impdp
Turn on archivelog.
Back it up.
The general thought here is you would start over with the first new db backup if the imp didn't work, you turn off archiving to avoid generating lots of redo that would be for a recovery you would never do.
There is more than one way to do it (TIMTOWTDI), best way depends on details, including volume of data and platform changes. expdp/impdp has an over the network option if disk space is limited and network is fast.
I usually allow for several tries when going to a new box, since the new box will require testing anyways. -
Open an Access database from ASP on the Windows 2008 32-bit server
We are upgrading to a Windows 2008 server. The ASP application opens an Access database with this code:
Set oConn=Server.CreateObject("ADODB.connection")
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=E:\webdata\applications\po\sfisnet\sfisnet.mdb;"
The open statement causes this error:
Number: -2147217887
Description: Multiple-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done.
Source: Microsoft JET Database Engine
SQL State:
Native Error: 0
Research includes:
- ODBC drivers
- verified that the ms jet dll is present: msjet40.dll, msjet35.dll
- IIS settings reviewed
- permission and sharing on the directory and "sfisnet.mdb" database
- verifies thet OLEDB_SERVICES is in the registryThey'll help you over here.
Microsoft ASP.Net forums
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
SQL query or view used internally by Discoverer Open Workbook from Database
Hi Experts,
I am involved in developing a web application wherein I have to display the 'All Workbooks' similiar functionality in the 'Open Workbook from Database' dialog box of Discoverer. Can anybody provide me with the background query or view that Discoverer uses to retrieve this data for workbook listing? Please let me know if my question is confusing and requires more details.
Thanks
ThomasHi,
If you just need the list of workbooks then you need to use the EUL_DOCUMENT table:
SELECT u.User_Name Owner_Name
*,Doc.Doc_Name Workbook_Name*
*,Doc.Doc_Updated_Date Last_Update_Date*
FROM Eul_Us.Eul5_Documents Doc
*,Eul_Us.Eul5_Eul_Users Own_Usr*
*,Fnd_User u*
WHERE Own_Usr.Eu_Id = Doc.Doc_Eu_Id AND
To_Char(u.User_Id(+)) = Substr(Own_Usr.Eu_Username
*,2*
*,10);*
If you want the exact same list then you need to do the above along with the sharing :
SELECT DISTINCT
case when instr(disco_docs.doc_created_by,'#')=0 then disco_docs.doc_created_by
when instr(disco_docs.doc_created_by,'#')>0 and instr(disco_docs.doc_created_by,'#',2)=0 then (select fu.user_name from fnd_user fu where fu.user_id=substr(disco_docs.doc_created_by,2,5))
else NULL
end "Workbook Owner/Creator",
disco_docs.doc_name "Workbook Name",
disco_docs.Doc_Updated_Date "Last Update Date",
case when instr(disco_users.eu_username,'#')=0 then disco_users.eu_username
when instr(disco_users.eu_username,'#')>0 and instr(disco_users.eu_username,'#',2)=0 then (select fu.user_name from fnd_user fu where fu.user_id=substr(disco_users.eu_username,2,5))
else (select resp.responsibility_name from fnd_responsibility_tl resp where resp.responsibility_id=substr(disco_users.eu_username,2,5))
end as "Shared Name / Responsibility"
FROM
eul_us.eul5_documents disco_docs,
eul_us.eul5_access_privs disco_shares,
eul_us.eul5_eul_users disco_users
WHERE
disco_docs.doc_id = disco_shares.gd_doc_id (+)
and disco_users.eu_username(+) NOT IN ('EUL5', 'PUBLIC')
AND disco_users.eu_id(+) = disco_shares.ap_eu_id;
* Change the EUL_US to your discoverer schema...
Then you will need to compare the current user with the sharing list or creator
Good luck
Tamir -
Problem in Open Workbook from Database dialogue
Hi,
at my customer we migrated to 'OracleBI Discoverer 10.1.2' and it works fine with one exception.
In the item 'View' of the 'Open Workbook from Database' dialogue there i am able to choose one of four values. If i move with the mouse over the wanted value, the value is cleared - but it is choosable. Is this a bug or how can i change that mystic behavior?
Regards,
MartinHi,
i use the Java version 1.6.0_22.
Following versions of Discoverer are installed:
OracleBI Discoverer 10g (10.1.2.1)
Oracle Business Intelligence Discoverer Plus 10g (10.1.2.48.18)
Discoverer Model - 10.1.2.48.18
Discoverer Server - 10.1.2.48.18
End User Layer - 5.1.1.0.0.0
End User Layer Library - 10.1.2.48.18
Regards,
Martin -
HT201769 how do you open a photo database file?
how do you open a photo database file?
You have to tell us a whole lot more for us to help you.
You attached an article about rebuilding an iPhoto library, which is done on a Mac, not an iPad.
Exactly what are you trying to do and failing at? -
Can I open these two database simultaneously on a same system?
I have cloned the current database using Oracle EM Clone tool on a same WinXP system. Can I open these two database simultaneously on a same system? If can, How can Iogin to another database(cloned database)?
You should be able to start both databases if you did the cloning correctly.
EM use RMAN duplicate to clone database. It's basically created a AUXILIARY database and duplicate target database into it.
You must enter destination global name and instance name before proceed. What's instance name you entered?
set your ORACLE_SID to that instance name and login. -
Opening a Standby Database in Read-Only mode
Is there anyway to open a Standby database up to date as of a certain time? I'm currently using the 2 commands to get close to the time required.
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Such as, similar to this? RECOVER DATABASE UNTIL TIME '2012-01-25:15:00:00';
We're on 11.1.0.7, which I'm currently very unhappy with.
Thanks for any help, as my google-fu hasn't worked today.
JamesMaybe
I did a quick test :
8:42 open the databases and start recovery
8:43 check status from primary
Shows sequence 75
and "TO STANDBY" for switchover status
Did log switches at 8:44, 8:45, and 8:46
8:50
SQL> alter database recover managed standby database cancel;
SQL> RECOVER STANDBY DATABASE UNTIL TIME ' 2012-01-25:20:43:00';
Media recovery complete.
SQL>
8:52
SQL> alter database recover managed standby database disconnect from session;
Database altered.
Check status
TO STANDBY and sequence 78Still need to check alert logs and do another log switch. It checks out so the quick test works.
However the quick test is incomplete since there was no before and after data in the test and the time period was very short.
Andy may be right, but I would test, test test. ( if you do please let us know the results )
Thanks Andy!
Best Regards
mseberg
Later
After sleeping on this I decided my first thought is probably correct. You cannot go back in time and still be in sync. While the test statement did not error or produce any alert log entries, it probably did nothing. Oracle is smart enough to know you cannot have your Cake and eat it too. -
Can a full file path be used to open a sql database connection?
I have a requirement to open an unattached sql server database file with a given path. Can this be done?
This would be similar to opening a Jet database using the path as the Data Source. For example, the path might be "C:\MyFolder\MyDatabase.mdf". I need to put the path in the connection string and open the database. It would look
something like the following.
Provider=SQLOLEDB;Data Source=C:\MyFlolder\MyDatabase.mdf;Itegrated Security=SSPI;
Rob E.I don't think its possible with unattached file.
http://www.connectionstrings.com/sql-server-2008/
--Prashanth -
Palm Desktop software - Fails to open with msg "Error: Failed to open Address Book database"
In July 2009 I dropped my trusty Visor on a tile floor and it stopped working. So, in the meantime I have been using only the Palm Desktop software.
Just yesterday, when I attempted to launch the Palm Desktop software, it failed with the message “Error: Failed to open Address Book database”. I think this error was caused by a very ungraceful shut-down of my Win XP system yesterday.
I really do need to use the Palm Desktop software for my address list, calendar, and memo. The problem is that the error with the Address Book database seems to be preventing the Palm Desktop software from initializing.
I am using Palm Desktop 4.0.1 on Windows XP SP3. I do NOT have an export file of the Palm address book or other databases. However, I do have five levels of backup history on my external Maxgor backup drive.
Specifically, on my current c drive I have files in the directory:
C:\Program Files\Handspring\WR\address
address.bak 5/16/2009 (from last sync before I broke Visor)
address.dat 5/24/2011
Personal.ABA 11/6/2008
Unfiled.ABA 3/28/2008
On my most recent backup of my system, there are the following files:
address.bak 5/16/2009 (from last sync before I broke Visor)
address.dat 5/12/2011
Personal.ABA 11/6/2008
Unfiled.ABA 3/28/2008
I have not listed the four older backup versions.
I haven’t tried any corrective measures yet (I don’t want to make matters worse) and am hoping that someone can guide me along the right path.
Is it possible for me to just rename the “current” address.dat file to something like address.SAV and then copy the Address.dat file file with date of 5/12/2011 into the current directory. Will the software then just use the older version of the data, or must I do something else.
I am grateful for any assistance. Thank you very much.
Post relates to: Visor Deluxe
Post relates to: Visor DeluxeThanks for the speedy response. However, I read the article for which you provided the link, and I hve also read many other articles that I found via search, but I don't think these will help me. All of these articles seem to assume that (1) you have a handheld to which you can sync and thereby rebuild the database on the PC, or (2) you have a backup that you created via the Palm Desktop export function. Unfortunately, I have neither and so I don't think any of these solutions will work for me.
I did read with great interest an article that stated that recent versions of Palm Desktop have a built-in function that will repair a corrupted Datebook database. Will this also fix a corrupted Address Book database which is my problem?
So, I downloaded and attempted to install the latest version of Palm Desktop. I was careful to read the instructions that stated NOT to uninstall my current version of Palm Desktop, but to just install the latest version on top of my current Palm Desktop. However, when I attempted to do the installation, the installer software said it could not install on top of my current software and that I should first uninstall my current software.
I have some questions now:
(1) If I uninstall my current version of Palm Desktop, will this destroy my Address Book, Datebook, and Memo databases ( I don't care about the ToDo database)? If so, what can I do to preserve those databases?
(2) Is there really a function built in the recent versions of Palm Desktop that will fix a corrupted database? Is this an "automatic" function that will detect and fix a broken database or is this something I will have to invoke?
Thanks for your help.
Gdad -
Opening performance analyser in Sun Studio 12
I want to know how to open performance analyzer in sun studio 12?
Yes, Maxim is right, you can start Performance Analyzer standalone tool:
# analyzer
Or you can use it from Sun Studio IDE: main menu "Advanced -> Advanced Profiling -> Start".
It will run your "main" project under "collect", and show the results.
Thanks,
Nik -
Aperture doesn't want to start due to "an error in the opening of the database of my AP Library"
Hello,
I have a huge problem, I work a lot with Aperture and one day, without any previous crash, it then refused to start. When I click on the app icon an message comes right after the aplibrary loading to tell me that "an error in the opening of the database of my AP Library occurred", the label of the windows is a "Warning" But there is not anything I can do but click on "quit the programm" . I REALLY need Help ! Will I loose all my pictures ? What Will happen to my aplibrary if i uninstall Aperture ? Is there any hope ? Will my actual APlibrary work on a different Aperture ?
Thanks in advance !
I'm working on it on a MBProHello leonie,
This is what I see, when I try to open up my aperture :
I can't do anything else but quit...
Is there a crashlog with the error panel?
I'm sorry I don't understand exactly what you mean by that...
For your questions, I did not install any new/other software recently, just uploaded some music or photos via different platforms, from the internet to my computer. But I did not had the time to import them in aperture. And I did not use any maintainance program in the last year ! I guess that the very big majority of my aperture photos are JPEG, and it might be that there is a few PNG but that's it... And my (38,8 GO) library is located only on my MBP. And I have the 3.4.3 version of aperture
Thanks a lot for your help ! -
How can i find how many sessions are opened in my database
Hai
Iam using Oracle 10g version, front end that iam using is oracle forms6i, sometimes my system get hanged because of some session and not closed i think, can i know how can i find how many session is opened on my database.You could query the V$SESSION dynamic view. More info...here...
HTH!
Maybe you are looking for
-
Variable input values issue with Portal reports in WAD
Hi Gurus, We have issue with our reports which are created in WAD and when executed through CRM portal. We are executing the report with some selection criteria by changing default values, and once we get the out put we use SAVEAS option to save the
-
How can I use java swing class in JSP page design
I am a new developer in Java server pages. I want to use layout managers available in java swing classes to design the page. Can any body suggest me a way to do this.Is it possible if I do it with servelets.
-
How can I get Multi-color text it a swing componet?
How can I get Multi-color text it a swing componet? I've tryed JTextPane and JEditorPane. If they support having text in more then one color then I don't see how. I want to make a color-coded Java editor in Java, but I can't color-code if I can only
-
Itunes can't connect to Internet
Topic title Diagonistics : MicrosoftWindows 7 Ultimate Edition Service Pack 1 (Build 7601) DellInc. Studio 1535 iTunes10.3.1.55 QuickTime7.6.9 FairPlay1.11.17 AppleApplication Support 1.5.2 iPodUpdater Library 10.0d2 CDDriver 2.2.0.1 CDDriver DLL 2.1
-
What is the best way to run windows on a mac, I have to run windows based softwear?
Hello, I need to run Signlab 9.1 which is windows based softwear, I work for a new company which is setting up and we all much prefer Macs to PCs (obviously ha ha) but this softwear we have to use is mainly Windows based, we are trying to find out if