Creation of the two controlfiles in an auxiliary init.ora file

How the two controlfiles can be created in an auxiliary init.ora file?

(1) immediate stop

(2) manually copy original controlfile and paste in any other destination

(3) changing init.ora

control_file = ,

(4) starting with the init.ora.

Tags: Database

Similar Questions

  • Modify the init.ora file

    Hello

    I need to add the utl_file_dir parameter in the init.ora file. I have to restart the database changes to be effective?
    My version of oracle's
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.8.0 - Production jserver

    Akhil N K wrote:
    The below two statements mean the same thing?

    N °

    (1) creating a directory of oracle to help create or replace directory command

    This refers to create a Directory object in the database by using the create directory command which must be mapped to a path of directory valid o/s.
    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96540/statements_58a.htm#SQLRF01207

    (2) adding parameter utl_file_dir

    It is referring to the init file editing and the addition of the parameter here.

    HTH
    Aman...

  • How to create a single init.ora file for node 3 RAC to the title of the ASM

    All,

    Our environment is that a combination of different memory machines (V880, V490 & 250R) SUN of size.
    Establishing a single init.ora file that includes each of the memory of nodes in the SGA sizing is our desired configuration.
    Although we have created the file, the question becomes each NŒUD on the FCAC to use this unique setting
    file to launch its database instead of take the default init.ora file in the default directory (asm/dbs).

    As we conducted tests of failover, on restarting the instances they have restarted with bad memory
    definitions that have hung the nodes when it took more memory then what was available and the swap space has begun
    to develop.

    Steps to configure and activate the process, that's what I'm looking for.

    Thank you

    Gerry

    Gerry,

    Here's what we do. Don't know if it is relevant to your situation...

    (on each node)
    $ cat $ORACLE_HOME/dbs/initrac11d1.ora
    SPFile='+Data/rac11d/spfilerac11d.ora'

    (as ASM)
    $ asmcmd
    ASMCMD > ls - al + data/rac11d
    Name of type Redund time scratched Sys
    Y CONTROLFILE.
    DATAFILE Y.
    Y ONLINELOG.
    FICHIER_PARAMETRES Y.
    TEMPFILE Y.
    N spfilerac11d.ora-online +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285

    The spfile has all the parameters, described by the node, if any. For example:

    $ sqlplus / as sysdba

    SQL * more: version 11.1.0.7.0 - Production Wednesday, may 6, 19:00:45 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Connected to:
    Oracle Database 11 g Release 11.1.0.7.0 - 64 bit Production
    With the Real Application Clusters option

    SQL > create pfile='/tmp/sb.ora' of spfile;

    Created file.

    SQL > disconnected from the database to Oracle 11 g Release 11.1.0.7.0 - 64 bit Production
    With the Real Application Clusters option
    $ cat /tmp/sb.ora
    :
    * .archive_lag_target = 1800
    *.audit_file_dest='/var/Oracle/admin/rac11d/adump '
    :
    rac11d1. Dispatchers ='(Address = (Protocol = TCP) (Host = msdbc11-VIP)(port=64000))'
    rac11d2. Dispatchers ='(Address = (Protocol = TCP) (Host = msdbc12-VIP)(port=64000))'
    * .global_names = TRUE
    rac11d1.instance_number = 1
    rac11d2.instance_number = 2
    :
    rac11d1.undo_tablespace = "UNDOTBS1.
    rac11d2.undo_tablespace = "UNDOTBS2".
    :

    Hope this helps,

    Steve

  • What process reads the spfile/init.ora file


    Hello

    When we start the Oracle DB using the 'START' command, what background process reads the spfile/init.ora file?

    Also at startup, process that reads the control file?

    In my humble OPINION, there isn't any background process, but the server process.

    Aman...

  • What average star (asterisk) in the init.ora file

    What average star (asterisk) in the init.ora file? Parameters such as core_dump_dest, db_block_size db_domain mentioned below has a prceeding *.

    What does that mean?
    jap91.__sga_target=1392508928
    jap91.__shared_io_pool_size=0
    jap91.__shared_pool_size=822083584
    jap91.__streams_pool_size=0
    *.core_dump_dest='/data_DISK1/bkp_dir/jap91/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16

    This is the rating that mentions that the setting is applied to all instances, if you use a RAC database. Instead of *, you can also SID in the specific case of fees so if you want that the parameter only works for this instance.

    HTH
    Aman...

  • How to find the init.ora file active.

    My current database version is 9.2.0.1. I need find the init.ora file that is actively used by the database.
    When I try to search in files, I get too many files with the same name and the same extension. (i.e., initdb.ora, etc...) I need help to understand which file is good.

    Thank you...

    If your database is opened with PFILE that running it is watch the current init.ora used to open the DB.

    SQL > show the settings file
    SPFile string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\SPFILESAMDB. ORA

    THiiS watch my DB is started with spfile and the location of the SPFILE.

  • set the database parameters using the init.ora file

    Hi all

    I'm working on a product of oracle (BI Apps), it gives a setting recommended database values in an inti.ora file. How can I apply this file to my database? in other how can words I use the values of the recommended settings in this file?

    Thanks for your time.

    Hello

    Try this:

    (1) connect to your database as a SYSDBA
    (2) issue: CREATE PFILE='/tmp/pfile.ora' OF SPFILE;
    (3) /tmp/pfile.ora to modify and add some references in your init.ora requests file - or update the current entries if those that already exist.
    (4) stop your database.
    (5) start your database in restricted using the new /tmp/pfile.ora mode to see if the settings are ok and if your database will start with them. (If he - go to 6), if no, go to 3)
    (6) question: CREATE SPFILE FROM PFILE='/tmp/pfile.ora'
    (7) judgment of the database
    (8) start as usual-, this will use the spfile with the changes.

    Nice.

    Note:
    Step 2) assumes that you are on * NIX and are actually using a spfile in your database already...

  • Hot to export the two outputs a script to a csv file

    Hi all

    I have a simple sctipt which is the instant list of two DC in my environment. Currently each line generates a separate CSV file with data.

    Is it possible to create a single file with the output of these two lines data?

    Get-data center-name DC1. Get - vm | Get-snapshot | Select-Object name, Description, PowerState, VM, created, @{Name = 'Host'; Expression = {(Get-VM $_.)} {{VM). $host.name}} | Export ' E:\artur\reports\DC1_snapshot.csv

    Get-data center-name DC2. Get - vm | Get-snapshot | Select-Object name, Description, PowerState, VM, created, @{Name = 'Host'; Expression = {(Get-VM $_.)} {{VM). $host.name}} | Export 'E:\artur\reports\DC2_snapshot.csv '.

    both files will be sent by mail

    Copy & paste the problem.

    The Export-Csv should be of course outside the loop

    get-datacenter -name "blackburn","coventry" | %{
         $dcName = $_.Name
         $_ | get-vm | get-snapshot | `
              Select-Object @{Name="DC"; Expression={$dcName}},VM, Name, Description, PowerState, Created,
                   @{Name="Host"; Expression = {(Get-VM $_.VM).Host.Name}} | `
    } | Export-Csv 'C:\DC_snapshot.csv'
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Install PT8.53 with Linux: the parameter file "init.ora" question CONTROL_FILE

    People,


    I install PeopleTools 8.53 with Linux. I'm confused on the parameter CONTROL_FILES in the file "init.ora". My SID is PT853 with the file "initPT853.ora". In the document setup 8.53 PeopleTools, there are 2 statements about CONTROL_FILES parameter like below:


    First of all, Page 161 task b 6-1-3: create an INIT < SID >. ORA file

    CONTROL_FILES = (/ filesystem1/cntrl1 < SID >, / filesystem2/cntrl2 < SID >)


    Second, Page 162 task b 6-1-4: creating paths of target directory


    CREATEDB10. SQL script:

    startup nomount pfile = $ORACLE_HOME/dbs/init < SID > .ora

    data file
    ' / u01/oradata / < SID > / system01.dbf' size 400M

    logfile
    ' / u01/oradata / < SID > / log01.dbf'M 70, size
    ' / u01/oradata / < SID > / log02.dbf'M 70, size
    ' / u01/oradata / < SID > / log03.dbf' size M 70;


    Control file references:
    control_files = ("" / u01/oradata/test92/control01.ctl "," / u01/oradata/test92/control02.ctl "," / u01/oradata/test92/control03.ctl "")


    When we created PeopleTools 8.53 of database using $PT_HOME/setup/PsMpDbInstall/setup.sh, we need to specify the mount point for the scripts createdb.sql, the utlspace.sql and the xxddl.sql. I use / U01 for all 3 scripts and create the directory/u01/oradata/PT853/manually.


    My questions are:

    Firstly, should the 2 items "/ filesystem1/cntrl1 < SID > ' and ' / filesystem2/cntrl2 < SID > ' CONTROL_FILES be the same with the directory path/u01/oradata/PT853/created manually?

    Second, should "/ filesystem1/cntrl1 < SID >" be changed to "/u01/oradata/PT853/cntrl01PT853.ctl and" / filesystem2/cntrl2 < SID > "be changed to" / u01/oradata/PT853/cntrl02PT853.ctl "in my case?

    Thirdly, how to create 2 files 'cntrl01PT853.ctl' and 'cntrl02PT853.ctl '? What are their contents?

    Thank you.

    I believe you are trying to create a demo database without understanding of basic on the RDBMS - your last question (to the control file) suggests.

    Work with your DBA on the part of database creation.

    Please go through the oracle database documentation to get a basic understanding of different files in oracle.

    Now, to answer your questions.

    1. Yes, anything you give in the init ora for parameter control_files file previously should exist while you run your createdb10.sql

    2. change any way you plan make the db files resident. Suppose you want the database in a path like/path/to/database/MYDB - to give him.

    3. you create control separately (in your case) files, the path/name of the file is taken from the init ora file and created as you run create sql db
    Content of the control file is in binary format: this is the heart of a database, holds all the information on the database, the name of db, file system, places change number etc...

  • pdf creation of the SAME SIZE of two pdf files

    I'm probably not follow instructions very well, and I'm not finding an explanation in the documentation so I hope someone can help me here.

    I have two pdf files. one is a cover of a magazine page, and the other is a page within the magazine where my work is mentioned. I want to combine these two PDF in a SINGLE pdf, but in a way that both the pdf is the same size. I feel like I am missing a setting somewhere for it as whenever I do this inside page is printed on the pdf document to half the size of the cover page.

    I tried to save out in png and making sure they are the same size and resolution, but it prints (except Preview) with white around the borders.

    I tried recording outside in optimized PDF and affecting the sizes 8 x 11 and 72 dpi but this then prints out Acrobat as a very pixelated in the document that are not readable.

    can someone help me with a step by step on how this can be done? It seems that I should just be able to open two random pdf files in the menu CREATE and then tell Acrobat to print to a specified size (this would be easy!), but I must be missing something.

    TIA

    Hotwheels 222,

    It might help to think that PDF is a container that can have many things such as texts, photos, graphics, vector elements, etc. all wrapped up in it.

    Normally, the content is created in another application such as InDesign, Illustrator, MS Word or many other applications. In the application you create a blank document and add or place images, type text in any font you want to place or create some elements of vector (if the application has actually vector tools)and even other multimedia such as audio and video as long as the application supports,

    Photos can all have a different resolution, vector elements have no resolution (I'll explain), the text can be in many different fonts, and they all keep their distinct characteristics within the PDF file.

    A PDF file created from an application like Photoshop will be just a resolution, because the PS is a pixel in the image editor and a PS document can have only one resolution.

    .. .the idea that two adobe products cannot communicate Acrobat to photoshop in terms of a resolution of pdf in photoshop seems very awkward... Once again, as a PDF file may have a lot of pictures with different resolutions, even if the PS could get this info (which may not) what PS resolution would decide to use? PS sheets it is up to the user to decide based on what they want their final production can be.

    You mention a document you have this "seems no inserted images" and "it appears as if there is an image"?

    The pdf of the cover are you referring?  The PDF producer is "Adobe Acrobat Image Conversion plug-in 10.0" is a tip out of 'Test Name screen' and thought it came from Photoshop.

    While possible, this document was created entirely in Photoshop, it is also likely that it was created in another application such as InDesign, exported from here in PDF and then PDF etc. was opened in Photoshop that rasterizes the content and flattened into an image file with the resolution you have chosen when opening in PS and then saved as just an image in PDF format. The graphic designer who created this probably did this because they did not want to give you a print quality PDF that you can try to extract the elements of.

    You mentioned that you thought that the doc was in Adobe Illustrator (AI) HAVE is primarily a tool for creating vector allowing also to the pixel for inclusion based raster images (with a resolution of specific pixels) to be included in a document of AI if wanted.  Strictly speaking, vector objects do not have a resolution. They are based on mathematics,

    He said essentially, put a point to such & such X, coordinated, now, put an another punch to another X, Y coordinates, it takes account of the arc or angle between the two points and said to draw a straight line, or draw a curved line, etc. Since it is only the mathematical instructions. This can be as large as you want and the relationship between the 2 points and the arc of the curve or line will dictate how the extended line or curve will be redrawn enlarged.

    Vectors are 'independent of the resolution' you can draw a vector logo to 1 x 1 inches and enlarge it to 50 x 50 inches or even as important as a home and it will always print crisp and clean. Notice, that this applies only to vector content in your document; pixel content is blocked in the resolution, it was created in the.

    To inspect the elements in a PDF document using the object Inspector in Acrobat Pro. Since a PDF file can contain several different objects, you have to click exactly on each object to get information about the selected object. So if you had 10 photos in your PDF you must select each in turn and he would give you the size in pixels, resolution, color space and profile, etc if you have clicked on the text, it will identify the police. It is well named, an Inspector of the object rather than a Document Inspector. Try it yourself with the different PDF files that you may encounter. If for example, it gives you the exact same info (resolution, pixel dimensions etc.) bit matter when you click, then you're probably dealing with a simple image. If you get the dimension in different pixels, resolutions when you click in different areas, you're dealing with a PDF file that had separated the distinct elements.

    I don't see why I shouldn't be able to get a document that is located at 17.7 x 22.9 to 72 dpi up to one that is 8 x 11 at 300 ppi.

    In Photoshop, go to the Image, the Image Size menu. This will show the dimensions in pixels (width & height) at the top. If you don't interpolate (resample) Photoshop can only put the same number of pixels in different size documents. When you press it same number of pixels in a smaller resolution doc increases. When you place the same number of pixels in a larger doc and the resolution fails.

    Don't forget, that the resolution is PPI (Pixels Per Inch). If you do the math it starts to make sense.

    Below notes that each dialog box features the same EXACT pixel dimensions.

    In the first box, it shows the 1275 x 1650 pixels in a document of 17.708 22.917 x inches. This gives a resolution of 72 DPI.

    In the second box, I changed the size of the document to 8.5 x 11 inches and pixels of 1275 x 1650 even now increase the resolution to 150 DPI.

    In the third box, I changed the resolution to 300 DPI and the pixels of 1275 x 1650 even now decrease the size of the document to 4.25 x 5.5 inches.

        

    If you check the resampling, Photoshop will interpolate (resample) image to throw the pixels, or adding pixels, but there is no magic involved and the results are never as good as we could hope.

    Like Goldilocks and the 3 bears, some things are better when they are 'fair '.

  • "the creation of the video preview failed" to DV (firewire) and USB webcam camera

    Device Manager reports the two devices "working properly", but all attempts to use their failure any software I use.  The error varies with the software package.  Trying to get a preview of the video via "My Computer" results in the error "the creation of the video preview failed".

    Devices used for work several months ago but I don't remember exactly when they stopped working.  A Service Pack or some other Windows Update update may have caused the problem (not sure).

    Any help would be greatly appreciated.

    [My system: Windows XP (Media Center Edition), Service Pack 3, Dell Dimension, Intel Core 2, 1 GB of RAM]

    Nevermind, it works now.  For those who have the same problem, here's what I did to remedy.

    1. take DirectShowSpy.dll of Roman Ryltsov http://alax.info/blog/777 and at the command prompt, type "regsvr32 DirectShowSpy.dll" to save it.  (In fact, I used a previous incarnation, also by Roman Ryltsov, called FilterGraphSpy.dll that I had downloaded previously).

    2 - try to use your webcam or your DV camera again.  If it works, you can uninstall DirectShowSpy.dll by typing "regsvr32 /u DirectShowSpy.dll".  My camera and webcam continued to work properly after I uninstalled it FilterGraphSpy.dll.

    That's all.  Although I did some DirectShow programming, I don't know the reasons detailed why this would clearly be this specific problem.  Roman could.  Good luck.

  • How the two function return values

    Dear all,

    Please explain, how the two values of function return?

    give a simple example.

    OK, a few examples...

    First example, using a type of structured on the database object:

    SQL > create or replace type tMyValues as an object (yr number, number, number of dy mn)
    2.

    Type of creation.

    SQL > create or replace function getMyValues return tMyValues is
    2 number of y: = extraction (year sysdate);
    number of 3 m: = extraction (sysdate months);
    number of 4 d: = extract (day of sysdate);
    5. start
    6 return new tMyValues(y,m,d);
    7 end;
    8.

    The function is created.

    SQL > set serverout on

    SQL > declare
    2 myValues tMyValues;
    3. start
    4 myValues: = getMyValues();
    5 dbms_output.put_line (' year: ' | myValues.yr);
    6 dbms_output.put_line (' month: ' | myValues.mn);
    7 dbms_output.put_line (' date: ' | myValues.dy);
    8 end;
    9.
    Year: 2015
    Month: 4
    Day: 1

    PL/SQL procedure successfully completed.

    Second example, using an associative array within PL/SQL:

    SQL > set serverout on
    SQL > declare
    2 type tMyValues is table of the index number to varchar2 (10);
    3 myValues tMyValues;
    4
    5 function getMyValues return tMyValues is
    6 retValues tMyValues;
    7. start
    8 retValues ('Year'): = extraction (year sysdate);
    9 retValues ('Month'): = extraction (sysdate months);
    10 retValues ('Day'): = extract (day of sysdate);
    11 return retValues;
    12 end;
    13. begin
    14 myValues: = getMyValues();
    15 dbms_output.put_line (' year: ' | myValues ('Year'));
    16 dbms_output.put_line (' month: ' | myValues ('Month'));
    17 dbms_output.put_line (' date: ' | myValues ('Day'));
    18 end;
    19.
    Year: 2015
    Month: 4
    Day: 1

    PL/SQL procedure successfully completed.

    For the pipeline functions, see the example I wrote on the link provided by ReemaPuri (answer No. 3) that I don't need to re - write what I did before.

  • Validate the two calc to make sure they do the same thing

    Hi, Just want to make sure I'm not missing something and wanted to pass this by you the experts for validation.  Basically, I wanted to improve the speed of the calc would go.  The 'OLD' calc needs to find the entity dim 8K members.  Thus the two FI take a lot of time.  So I simply fixed the FI on the entities in question and then to see if they are in the update rollup.  Thank you for all your comments.  I just need me, I'm on the right track.

    OLD - takes 90 seconds

    DIFFICULTY ("current workforce MIP", "requisition numbers MIP")

    ('Work'

    IF (@ISMBR (@DESCENDANTS ("EC. SLT00410')))

    IF (@ISMBR("EC.00010695") OR @ISMBR("EC.000074N1") OR @ISMBR ("EC.00007762"))

    ' 'Work' =' MIPMapping;

    ENDIF

    ENDIF)

    ENDFIX

    NEW - takes 2 sec

    DIFFICULTY ("current workforce MIP", "requisition numbers MIP")

    DIFFICULTY ("EC.00010695", "EC.000074N1", "EC.00007762")

    ('Work'

    IF (@ISMBR (@DESCENDANTS ("EC. SLT00410')))

    ' 'Work' =' MIPMapping;

    ENDIF)

    ENDFIX

    ENDFIX

    Don't get me wrong, I sympathize with the situation.   Just don't be surprised if the apparently strange design gets more attention than your question immediately.

    On this last point, you can have AND or OR, Yes, but not if.  You need not yew.  According to my post above, DIFFICULTY (("A" OU "B" OU "C") DESCENDANTS ("D")) AND would do the same thing.

    It would be not much faster, because at that point you evaluate IF you are already set up to three entities in any case (and you have the code that runs in 2 s, so there is not much time to be saved).  The code is shorter and in my humble OPINION easier to understand if.

    Honestly, unless something's happening with creation of block that requires a dense calc with an if STATEMENT, your code "before" seems poorly written.  Who were the consultants? (I'm kidding)

  • Please can someone tell if I can use my creations with the tool shape in Photoshop, commercially for example on t-shirts? [was: on]

    Please can someone tell if I can use my creations with the tool shape in Photoshop, commercially for example on t-shirts. Thank you.

    Yes.  No problem.

    [EDIT]  I decided to qualify that.  No problem with forms that come standard with Photoshop, but just about every logo, symbol of the brand, can be downloaded in two vector forms and brush presets.  It would be another story, obviously if you have used this kind of work, but you knew I'm sure.

  • How to position the two regions-By-Side

    Hello.

    I use Apex 4.2.1 with mod_plsql and Oracle 11R3. Apex app that I created using the theme 21.

    I've created a classic report of which fields is a HTML link.  When you click this link, a box of HTML appears (it appears only when the link is clicked).  This HTML area contains form multiple users of the fields will be filled.

    I'm trying to get the area of HTML form to appear to the right of the region of report (with, say, an inch of space between the two regions) but I'm not not a success.  Instead, the HTML form area appears immediately under the report.

    I searched this Forum of ideas and saw recommendations on the creation of a 'container' type HTML region that serves as a 'parent' for my report and areas of HTML form.  And so, I did this.  My region to report has the sequence 10, while my form HTML region has 20 sequence.

    I tried to play with the options in the 'Presentation of the grid' section of the page:

    Start the new grid = 'Yes '.

    Start the new row = 'No '.

    New column = 'Yes '.

    I configured the report to the "model No." and did the same for my region of HTML form.  Still no help.

    The Point of the screen for all my regions (the region HTML container, the report and the form HTML region) is the position of '01 '.

    All unavailable.  The form HTML box stubbornly under the regional report.

    At this point, I want you to know that, even if I build applications web/database using Apex (indeed, I used more than eight years now), some days (like today) when I wish Apex would act more like FrontPage or DreamWeaver.  I would use my mouse to drag a box to a point on the page and have the Apex automagically to write the CSS for proper positioning.  Sigh!

    Anyway, anyone know how to get my form HTML box to appear on the right side of my region to report (with an inch or two of space in between)?

    Any help/advice would be appreciated.

    Thank you.

    Elijah

    You should not need the region parent if you have only two areas on your page.  What page model that you use? The default value?

    For your form HTML box:

    Checkerboard

    Start the new grid: No.

    Start the new row: No.

    Column: automatic new column: Yes

    Scope of column: Automatic

    Column attributes: valign = "top" style = "" padding-left: 30px; ""

Maybe you are looking for