How to recreate the database only?
Hi All,
We are having some dictionary blocks corrupted in our application database. The solution is to recreate the database and import the whole database into this new database. Details of product we are having
OS : RHEL- ES 3
Application : 11.5.9
Database : 11.2.0.3
Now our main consideration is:
1) How to recreate the database without reinstalling the applications.
2) Is there any special consideration to follow?
3) What will be the impact of recreation of database on Applications?
Pls help me in this matter.
Thanks and Regards
Amit Raghuvanshi
You can use the above command to just install the Oracle Home in a new path.
But, i am not sure if export / import works or not. May be other experts can comment on this.
If you have a physical backup, it would be better to clone the db rather than Export / import.
Similar Messages
-
How to increase the database size
Hi All ,
Our Client is going to increase their customers from 3.5 million to 5 millions
(12 millions in future ) and there is no increase in the existing licenses..
At present we have very less space in Data base server. We are Going Live at the End of the Month.
How to increase the database size to meet the Client requirements.
we have to increase the No of Processerors etc...
Below are the details of Servers:
System Model: IBM,7040-681
Machine Serial Number: 830D5BF
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1904 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 4 bgl-svr-biap
Memory Size: 4096 MB
Good Memory Size: 4096 MB
Note : Server is IBM P690.
1) System Lansdcape --> Two System Landsacpe ( Dev to Prod )
2) BW Version --> 3.5
3) SAP Basis --- > 6.4
4) No of Application servers currently having --> Only One Server
Can any body suggest me how to solve this.....
Thanks in Advance..
Kasi ChukkaHi Kasi,
Your question is not very clear, from the looks of it, the load on your client's system will be doubling soon.
You need to look at the system stats on how the system is handling the current load, use transactions ST06, ST04 and ST02 to check if the DB hit ratios are as expected, the cpu idle time, the busy periods. Identify if there is large amounts of paging on the server(candidate for increase in real memory).
On AIX level, you will need to look at CPU / Memory usage.
On SAP Application server, you need to look at SAP Buffers.
On Oracle end, look at SGA stats, if it need to increase, the data growth that is current and estimated growth (DB02).
You will not get an exact answer to it, you will need to analyze the existing load and then estimate (guess). The hardware upgrade will also depend on what the client is willing to spend, its always a good practise to add 20% to what you have estimated as these figures are never accurate.
All the best.
Cheers,
Nisch -
How to modify the database by Oracle-ridc-client
How to modify the database by Oracle-ridc-client
First of all, from your question it is not very clear what kind of modifications you intend to do - one correct answer to your question could be "call any non-read-only service", which will result as insert/update/delete to a table somewhere. My guess is that this is not the answer you are looking for.
While working with RIDC (or CIS to answer your other thread at once) you have to understand that you integrate primarily with the application layer of your solution. If you want to modify the database scheme, you might, for instance, add a new metadata field - this is OK, because there is a service that you may call to achieve that. On the other hand you might want to change the db scheme directly (e.g. add a new column to a standard table); here neither RIDC, not CIS will help you unless you create a custom (server-side) service that you will call. Note, however, that you should be doing this only if you are really sure what you are doing. -
Hello All
I would like to know how to reresh the database after cloning or before cloning.
Krish...You mean, you like to syncronise both the databases , then, in my opinion, there is one option left to create standby database , however, if you want to syncronise only a part of your database , for example , table's kinds of stuffs , then there is MV's and if you want to replicate on different databases , then there is streams to use.
hare krishna
Alok -
How to recreate the control files
Can someone tell me how to recreate the control file?
Thanks in advance
HimanshuHi, You can use the following statement.
CREATE CONTROLFILE
SET DATABASE prod
LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
'/u01/oracle/prod/redo01_02.log'),
GROUP 2 ('/u01/oracle/prod/redo02_01.log',
'/u01/oracle/prod/redo02_02.log'),
GROUP 3 ('/u01/oracle/prod/redo03_01.log',
'/u01/oracle/prod/redo03_02.log')
NORESETLOGS
DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
'/u01/oracle/prod/rbs01.dbs' SIZE 5M,
'/u01/oracle/prod/users01.dbs' SIZE 5M,
'/u01/oracle/prod/temp01.dbs' SIZE 5M
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
Thanks -
How to recreate the portal inbuilt preferences
Hi All,
I have a problem when i want to edit the group. I m getting following error....
Not Foun Path : 'oracle.portal.style' Name:Default(51002)
whether the preference path has been deleted from the portal???? if yes then how to recreate the preference path????
Any help is highly appreciated.
-regardsHi, You can use the following statement.
CREATE CONTROLFILE
SET DATABASE prod
LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
'/u01/oracle/prod/redo01_02.log'),
GROUP 2 ('/u01/oracle/prod/redo02_01.log',
'/u01/oracle/prod/redo02_02.log'),
GROUP 3 ('/u01/oracle/prod/redo03_01.log',
'/u01/oracle/prod/redo03_02.log')
NORESETLOGS
DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
'/u01/oracle/prod/rbs01.dbs' SIZE 5M,
'/u01/oracle/prod/users01.dbs' SIZE 5M,
'/u01/oracle/prod/temp01.dbs' SIZE 5M
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
Thanks -
How to recover the database when some of the archive log file get deleted.
I am facing a problem with Oracle database, which is related to archivelogs.
Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
When the database was in running condition, disk got full, so some archivelogs were deleted manually.
After this they restarted the DB, and now DB is not coming up. Errors are as follows:
SQL> startup
ORACLE instance started.
Total System Global Area 1444383504 bytes
Fixed Size 731920 bytes
Variable Size 486539264 bytes
Database Buffers 956301312 bytes
Redo Buffers 811008 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
1
ORA-00289: suggestion :
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00280: change 215548705 for thread 1 is in sequence #1107
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00308: cannot open archived log
'/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL>
1. How to recover the database and bring it online
Any help will be highly appreciated.
With Regards
Hemant Joshi
Edited by: hem_Kec on Sep 7, 2008 9:07 AMHi,
Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss. -
Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
Thanks!Divya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
How to download the database form the call manager 7 to excel?
how to download the database from the call manager 7 to excel document?
No, it never did - the "ask" for the DRS folks to provide unencryption capabilities for their TARs is still out there (several other BUs want this) but so far as I know there's been zero movement on it. I've about given up hope on the DRS folks at this point - pretty clear this isn't a priority for them and I don't see much in the way of any kind of improvements on the product schedule for them at all, this included.
As a side note I've been pushing the Connection product managers to give us off box file system access to limited directories via a proxy service and roles (i.e. similiar to the ODBC proxy but for SFTP access) - armed with this we can provide our own (far superior) disaster recovery tools that work on a pull model instead of the full push DRS is built on - this would get partial backups, individual restores, about 6x increase in performance (more actually - I have a prototype that is hovering right around 10x the speed of DRS end to end), smaller backups, requires less space and resources on the server etc... etc... Fun stuff like doing a full backup on Sunday mornings and deltas every day of the week after that and another full backup Sunday etc... would be possible. Imagine.
I'll probably get more traction with that but it's a long road I'm afraid - as ever, asking your account team to enter a PERs helps - makes it more difficult for the product folks to delay on assigning engineering resources to such efforts. -
can one tell how to find the database size?
Depends what you mean by database size and how you want the output to look?
Are you referring to the number of rows across all tables of a schema? The number of bytes used by the rows? The number of bytes used by the tablespaces? The number of bytes used by the datafiles? etc. etc. etc. So many options.
Be more clear in your requirements please. -
How to reduce the database size based on MS SQL/Oracle?
Hi,
I had deleted severy clients via SCC5, but the database size is more and more bigger. Do you know how to reduce the database size.
my platform is: NT, MS SQL 2005
NT, Oracle 10.2
Best Regards,
Simon ShenHi Simon,
In the case of SQL you need to check how many space free you have in your datafiles and the based on that you need to Shrink them using DBCC SHRINKFILE command.
Find a couple of reference docs here,
http://www.intermedia.net/support/kb/default.asp?id=996
http://doc.ddart.net/mssql/sql70/dbcc_21.htm
Also i'm pretty sure that if your check the properties of the datafiles in MSSQL Enterprise Manager you get a "Shrink" option.
Regards
Juan
Please reward with points if helpful -
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
How to monitor the database growth?
Dear All,
How to monitor the database growth in SAP.
Is there any t.code available to check the same.
advance thanks,
Sundar C
Note: suitable answers will get maximum reward points.Hai,
You can check the database growth using tcode -db02.
and also use tcode-db02old(if the SAP is Netweaver2004s version) and click on space statistics for monitoring the datbase growth,
Thanks and Regards, -
How to get the Database type from weblogic Db connection
I want to use database version control in my application . that means different database type use different Sql Statement. Such as in weblogic7.0 if I create SqlServer JDBC pool then I will use some special Sqlserver sql Statement . such as some join statement. If I create Oralce JDBC pool then I have to use different Sql statement . because these two database support different Sql statement.
What my question is how to get the database type from the connection.For a normal jdbc driver you can use
Connection.getMetaData()
To get the meta data, in particular the getDatabase...() methods.
That might or might not work.
However, at the very least in the server you have access to the weblogic properties so you can parse the pool property to figure it out. -
How to enter the database in oracle 11g!!
Hi all,
I have installed Oracle 11g , and the SCOTT,SYS,SYSTEM account are locked ( I guess) as i am UNABLE TO ENTER THE DATABASE.
When I open SQL+ , a cmd prompt will appear requesting username ( for which I tried SYS,SYSTEM,SCOTT) upon pressing enter, it request's password ,HERE IS THE PROBLEM .What every i try to enter in the password field, doesn’t get displayed there ,I thick its not accepting anything at all.
I tried sys as sysdba as the username ,didn't work either(insufficent privilages)(windows info: OS-XP sp2, account- administrator),as I am new to SQL Kindly ,SUGGEST ME , HOW TO ENTER THE DATABASE.
Thanks & Regards
keerthi kumarSET
sqlplus
/ as sysdba
startup
exit
THE RESULT FROM THE cmd PROMPT FOR THE ABOVE LINES....
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\KEERTHI KUMAR>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\KEERTHI KUMAR\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=KEERTHIKUMAR
ComSpec=C:\WINDOWS\system32\cmd.exe
DEFAULT_CA_NR=CA18
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\KEERTHI KUMAR
LOGONSERVER=\\KEERTHIKUMAR
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=E:\app\KEERTHIKUMAR\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WIND
OWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Prog
ram Files\Smart Projects\IsoBuster;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 44 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=2c02
ProgramFiles=C:\Program Files
PROMPT=$P$G
P_SCHEMA=D:\Solid Edge V18\etc\UGSchemas
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
USERDOMAIN=KEERTHIKUMAR
USERNAME=KEERTHI KUMAR
USERPROFILE=C:\Documents and Settings\KEERTHI KUMAR
windir=C:\WINDOWS
C:\Documents and Settings\KEERTHI KUMAR>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 1 07:26:30 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name: startup
Enter password:
Maybe you are looking for
-
Error - A valid installer could not be found, using AAMEE and CS6
I receive the error - A valid installer could not be found, when using AAMEE 3.0 to create a CS6 Trial Package in Windows 7. I'm following the procedure documented here - http://blogs.adobe.com/oobe/tag/cs6 Imaging CS6-Attack of the Clones. I've tr
-
I think I have seen postings here for WiFi SD Card for Palm Zire72 connection. Is the same card compatible with the Zire71? I am trying to find out if my old Zire71 could get Internet connection by using a similar card. Post relates to: Palm TX This
-
Why do some photos display with a black border round them?
I have just bought a Gen 2 ipod touch and have loaded several albums of photos on to it. Some of these photos are displayed with a black border round them and seem to be almost square instead of filling the screen, whilst others are shown in full wid
-
the sound mutes, the bar keeps downloading and "playing" when i go back or pause+play the sound goes back on when im playing a game i have to open chrome because the sound mutes everytime i click anything on the (flash) game im considering moving to
-
Hi all, Is it possible to have tab child components of a tabset oriented in a vertical direction (so that you can have it used on a left menu fragment)? the default layout keeps child tabs in a horizontal direction. Any clue?