Trace file in different location

Dear all,
11g on Solaris 10.
My oracle home (dump location) located in a file system of 10GB.. I need to trace a session which will generate huge trace file. Is there anyway I can have the trace file generated in a different location where I have enough space to allow the growth of the trace file.
Thanks
Kai

Please refer:
http://www.oracle.com/technology/oramag/oracle/09-mar/o29asktom.html?_template=/ocom/print
Edited by: SKU on 19-Dec-2009 05:10

Similar Messages

  • How to access Excel files from different locations?

    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

    The custom function sets the MS-Excel default directory to System.getProperty("user.dir")+"/excel"
    (the domain directory), then opens the filename passed as a parameter. I assume
    that if you pass in the fully specified path for the excel file ( like d:\MyDir\data\test.xls),
    that it would open that file.
    - Mike
    "Ashok Gupta" <[email protected]> wrote:
    >
    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run
    it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files
    from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

  • Generating "arraytofile" files in different locations

    Hello everyone,
    I am confronting a real problem here. I am using ArrayToFile to generate certain files. What I want to do is to every time I run the system to get these files in different locations, say in different folders. Another option I have is to get different version of this files, for example, filename: light.dat, light_2.dat, light_3.dat... etc. Any help will be appreciated.
    Best,
    LM

    Oh, instead of using the file name in the first argument (File Name), use the absolute path.  This argument takes relative or absolute paths.
    if you give it output.dat, then in the current working directory, it saves it.  If you pass it "C:\output.dat" it saves it there.
    With string manipulation, you combine paths and filenames.  
    FYI:
    GetDir() and SetDir() are functions that get and set the current working directory. (In Utility Library > Directory utilities)  But I don't recommend changing teh working directory without setting it back to it when done.

  • Save Downloaded files: at different locations

    Hi,
    I wish to save my downloaded files at different locations, and not any particular default location.
    I want a promt to ask me the location each time I download a file.
    Think this feature was available in Safari 4; but Safari 5 saves all my files to a location, instead of asking me on each download.
    Thanks !!

    If I right-click on a file and choose "Download Linked File As" it asks me where to save the file. Does that work for you?
    However, If I right-click on a file and choose "Download Linked File" it uses the default location.
    If a file is pushed to you, it will use the default location.

  • Create trace file on specific location

    Hi all,
    I'm working with a 11gR2 Enterprise DB on Linux RedHat 5
    Now I need to create a trace file. This trace will be huge and I need to create it on an specific folder on my system because the udump fs could be small for it. These are the commands I'll use:
    oradebug setospid 3165
    oradebug unlimit
    oradebug event 10046 trace name context forever, level 12
    If I use the "oradebug tracefile_name" I'll get the actual trace file name but, How can I say the specific location where I need to create it?
    Best regards,
    dbajug

    dbajug wrote:
    Hi all,
    I'm working with a 11gR2 Enterprise DB on Linux RedHat 5
    Now I need to create a trace file. This trace will be huge and I need to create it on an specific folder on my system because the udump fs could be small for it. These are the commands I'll use:
    oradebug setospid 3165
    oradebug unlimit
    oradebug event 10046 trace name context forever, level 12
    If I use the "oradebug tracefile_name" I'll get the actual trace file name but, How can I say the specific location where I need to create it?
    Best regards,
    dbajugi dont know of any method that will allow you to do this for a single file, but you can use below workaround since the tracefile name is predictable
    lets say your database name is ORCL
    the ospid is 3165, so the tracefile will be created as udump/ORCL_ora_3165.trc
    before starting the trace, you can pre-create it at different location and point a symlink on it, e.g
    touch /lot_of_space_here/trace.trc
    ln -s /lot_of_space_here/trace.trc udump/ORCL_ora_3165.trc
    and now start tracing

  • What is the best way to work on the same InDesign file in different locations?

    I'm the creative director for an in-house creative department. We produce 37 catalogs and a multitude of print and electronic advertising each year, plus a variety of other items. Our problem is that we have two locations. In the current set-up, if I want someone at one location to work on a project but the files are at the other location, I have someone at the one location package all the materials involved with that project and either upload them to DropBox or copy them to an external drive and ship it. Not very efficient.
    We have servers at both locations but there are different files at each location. I'm able to remote from my computer into a computer at the other location, but if everyone were to do that we would need double the number of CC subscriptions and computers, and it would bog down the internet connection that the entire company uses. I'm also connected to the server at the other location (again, over the internet) and have opened InDesign files that reside on the server there and tried to work on them here (over the internet) but that is much slower than remoting in.
    The only way I can think of to alleviate this problem is to run duplicate servers at each location, but this would be an update and back-up nightmare (unless I'm missing something). Is anyone operating this same way and, if so, how are you dealing with it?
    We can't be the only company that works like this. Maybe I'm just missing something.
    Thanks,
    Lloyd

    We have servers at both locations but there are different files at each location. I'm able to remote from my computer into a computer at the other location, but if everyone were to do that we would need double the number of CC subscriptions and computers, and it would bog down the internet connection that the entire company uses. I'm also connected to the server at the other location (again, over the internet) and have opened InDesign files that reside on the server there and tried to work on them here (over the internet) but that is much slower than remoting in.
    One tiny thing bothers me about your setup. And you said it above, you would need double the number of CC subscriptions and computers. Are you using two people to access under the same CC subscription. Even if they are working in two different time zones, it is technically violating the rules and spirit of the rules of being able to install on two machines at the same time.
    You're allowed to install for two machines for one person working at the office and then at home. One person wouldn't be in two different locations at the same time.
    Meanwhile, regards your problem, I remember reading about a system many years ago that was pretty simple. It was based on an old newspaper/magaizine system of "who has the folder." (Created before computers) In the old days, if someone was working on a file, they left a folder with their name in its place.
    In the computer age, one person, working on a file, would move it to their desktop. Then, they would leave an empty folder with that document's name where it had been as well as their initials. So if I took "Shoes and Socks Fall 2015.indd" out, I would leave a folder named "Shoes and Socks Fall 2015_smsc" in its place.
    And if it was necessary for me to have the images, I would make a copy of them onto my machine so I wouldn't tax the network. Then when I was finished, I would copy the file back to the server. The links should show up. If not, we could relink later.
    With the empty folder on the server, anyone could tell who is working on a project. So if they were late getting it back, you could email them.
    It relies on the people being disciplined enough to make the folders, move the docs, etc. But since you've ruled out all the systems for companies with dumb employees, you're going to have to make them follow the rules.

  • Moving the online redo log files to different location

    We just installed few more drives into our sandbox system and I want to move the online redo log files for better performance.  We've got the SAPARCH directory moved to a different location. 
    Does anyone know how/where I can change the parameters so redo log files are pointed at different drives?  It's not in the <b>init<SID>.ora</b> file...
    Regards,
    Sumit

    Hi Sumit,
    The following link contains information about moving the redo logs:
    http://www.stanford.edu/dept/itss/docs/oracle/9i/server.920/a96521/onlineredo.htm
    Best regards,
    Alwin

  • How to pick different files from different locations

    suppose ur having multiple files(csv) from different locations,then how do u move those files to the SAP system.Please expalin me the scenario

    Venu,
    If the files are present in different folders, then you need different sender communication channels to bring this data to XI. Regarding connection with SAP, you can go for a proxy (If the webAs version is > 6.2) or else go for an IDOCor RFC adapter.
    Regards,
    Jai Shankar

  • Multiple jar files from different locations

    Hello,
    I am having an applet that access code from two different jar files. Of them one is a common jar file for many applets. So I couldn't place it in the local dir as that of the applet's html. I am not using any web server.
         Just to give you a feel of it :
         <PARAM NAME = archive VALUE = "DVApplet.jar,DVVP.jar" > are the jar files my applet is dependant on. But DVVP.jar has to be accessed from a dir different from local dir.
         Will be glad if someone can throw some light on accessing different jar files from different dirs.
         Thanks for your time.
    Regards,
    Anantha

    [url=
    http://forum.java.sun.com/thread.jsp?forum=421&thread=425724&tstart=0&trange=100
    ]This question is a bit similar
    You can use a class loader to do such things.

  • How to store ASO dat file in different location

    Hello Everyone,
    i have a requirement where I need to store the .dat(ASO) file in a location other than the folder where the application artifcats are stored. In BSO, We can right click the database, edit, properties and in Storage tab we can choose where Data and Index files have to be stored. Do we have similar option for ASO too? because, the space we have for the application folders are limited and we have a separate SAN drive for storing data and index file and thats where BSO .pag files are stored. Since our ASO cube is growing I want to move the data to a location where BSO data is stored, i mean to the designated drive for data. Any suggestions will be much appreciated.
    Thanks.

    Yes, ASO has the concept of 'tablespaces'. There are four (default, temp, log and metadata) but you probably just want to move the 'default' and 'temp' tablespaces to your SAN location. Temp will look really small (i.e. empty) until you run a restructure or aggregation and then it'll explode to the size of the default tablespace so it's important not to miss.
    See the section on 'Managing Storage for ASO Databases' here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/asysadmn.html, or the 'alter tablespace' MaxL command here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_alttabl.html.
    EDIT: Actually, looking at the documentation, I see that you can't move the metadata or log tablespaces. But you're probably only going to care about 'default' and 'temp' anyway.

  • Trace file with different name is alert log file.

    I am strange today
    i found a trace file generated in alert log file with name
    /bdump/stlbas_cjq0_1880.trc:
    but when i am trying to find out in bdump folder i cannot found
    any file with this named. instead i found /bdump/stlbas_cjq0_1853.trc
    is there any possibility of being this scenario ?
    database version:- 10.2.0.4
    Os:- sun solaries spark 64 bits
    Regards
    Halim

    The trace file has been removed/deleted from an OS user. I think you should verify that with OS logs.
    Thanks

  • How to generate trace file from different session?

    I have a cron job which starts several Oracle stored proc (Oracle 9.2). I want to generate a trace file when the job is running. I know I can use this alter session command before I start this job. But this is my session not the job session. So this command won't generate trace file for job's session.
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    Appreciate any ideas.
    Thanks.
    S.

    Easiest way is to use database control/grid control - click trace session button!
    The 'old fashioned way is'
    begin
    DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(SID,serial#,TRUE);
    end;
    find sid and serial# in a select from v$session
    There are other ways too but this is probably the easiest.
    You'll need appropriate privileges to run this .
    Cheers,
    Harry

  • Unable to relink to identical file in different location

    I have a library I created over a year ago. The library is stored on an external hd and the media is stored on the external as well, although it's referenced via sym links (not stored in the library itself). I also have all the media backed up on a server.
    What I'd like to do is relink all of the media from the external drive to the files on our server. What I did, was copy the library from the external HD to the computer, eject the external drive so it can't link to any of the media. Then open the copied library (on mac) in Final Cut Pro X and go in to relink files. Here is where the issue comes into play:
    I can relink all the files except 2100 clips from a Canon 5D Mark III. Even if I grab the exact same file that was on the external HD and copy it to the server, it will no longer relink. After digging around and adding a clip from the server to the library, I've found out that there is now timecode on the exact same clip. It's almost like when I originally added the video clip a year and a half ago, FCPX didn't recognize SMPTE and so the timecode started at 00:00:00. Now it does and it thinks the clips are completely different. I'm in search for another workaround, but at the moment, the only way I know of is to open a clip in Quicktime 7 and manually go in and delete the timecode, save the file and then it will link. With 2100 clips, this becomes problematic.
    I'm using the latest version of Yosemite and FCPX
    Any suggestions on the best way to solve it?

    Yes, ASO has the concept of 'tablespaces'. There are four (default, temp, log and metadata) but you probably just want to move the 'default' and 'temp' tablespaces to your SAN location. Temp will look really small (i.e. empty) until you run a restructure or aggregation and then it'll explode to the size of the default tablespace so it's important not to miss.
    See the section on 'Managing Storage for ASO Databases' here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/asysadmn.html, or the 'alter tablespace' MaxL command here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_alttabl.html.
    EDIT: Actually, looking at the documentation, I see that you can't move the metadata or log tablespaces. But you're probably only going to care about 'default' and 'temp' anyway.

  • Load XML file from different location?

    Hi All,
    I've been going through an exercise by Karl Matthews to load XML data into an AIR App:
    http://www.adobe.com/devnet/air/flex/articles/xml_viewer_on_air.html
    but I would like to change where the XML file used in the project is retrieved from.
    Currently the XML file is loaded from here:
    <!-- Set up the HTTP service from where we get the source XML data -->
    <mx:HTTPService id="srcData" url="
    assets/UserGuide.xml" result="loadModelData(event)"
    />
    but I would like to load the XML file from one of these locations instead:
    File.userDirectory:
    File.documentsDirectory:
    Can someone please show me how I should change the above code to accomplish this, as my efforts to date have not been successful :-(
    I am using Flex Builder 3 and Air 1.5.
    Thanks heaps!
    Tim

    Hi Bhasker,
    Thank you for replying.
    I am not very good at all this coding, but I am assuming I should now be doing entering the following:
    =======================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"width="
    800" height="660"xmlns:comp="
    *" xmlns:fmtComp="fmtComps.*"creationComplete="srcData.send()"
    paddingLeft="
    0" paddingRight="0" paddingTop="0" paddingBottom="0">
    <mx:Script>
    <![CDATA[
    import mx.utils.ObjectProxy; 
    import mx.rpc.events.ResultEvent; 
    Bindable] 
    private var userManualObj:ObjectProxy; 
    private function loadModelData(event:ResultEvent):void
    userManualObj=event.result.UserManual;
    private function readXMLContent(xmlFile:File,objContentView:Object):Array{
    var reportDir:File = File.userDirectory.resolvePath("assets"); 
    var xmlFile:File; 
    var fileStream:FileStream = new FileStream(); xmlFile = reportDir.resolvePath(
    "UserGuide.xml"); 
    if(xmlFile.exists && xmlFile.size > 0)// Checking if the impressions.xml file already exists and the file is not empty
    var stream:FileStream = new FileStream(); 
    var xml:XML = new XML();stream.open(xmlFile, FileMode.READ);
    xml = XML(stream.readUTFBytes(stream.bytesAvailable));
    stream.close();
    ]]>
    </mx:Script>
    <!-- Set up the HTTP service from where we get the source XML data<mx:HTTPService id="srcData"
    url="assets/UserGuide.xml"
    result="loadModelData(event)"/> -->
    <mx:VBox width="100%" horizontalAlign="left" height="100%" paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:TabNavigator width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:Repeater id="modelsRep" dataProvider="{userManualObj.Product.Model}">
    <mx:VBox label="{modelsRep.currentItem.Name}" width="100%" height="100%">
    <comp:ModelDesc model="{modelsRep.currentItem}"/>  
    </mx:VBox>
    </mx:Repeater>
    <mx:VBox label="Troubleshooting" width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <comp:Troubleshooting issues="{userManualObj.Product.Troubleshooting.Issue}" />
    </mx:VBox>
    </mx:TabNavigator>
    </mx:VBox></mx:WindowedApplication>
    =======================
    and create and "assets" folder in my user directory placing the XML file in there?
    However when I do all that, I get this error when I try to compile:
      Encountered errors or warnings while building project main.mxml.
        main.mxml: Function does not return a value.
    Any thoughts?
    Many thanks,
    Tim

  • How to upload a file to different location using CS Template

    Hi,I have a Data Entry Template with a "File" field and when I upload a document it uploads in the same directory where the Content Item is created. Is there any way to upload the document to some other directory in the Content Server. Say I have a Html folder and there is a template which has a 'file' field. After Saving the content item the uploaded file gets saved in the same folder (Html) in content server, I would like to upload the document in a different folder called "Docs" and the content item in Html folder.Is it possible? If yes then can you please guide me.Thanks,Yaju

    Hi Rajesh,
    Use below code on your "Upload" Action:
         try
    // Give full path of folder on server where you want to upload the file.
              File file = new File("D:\\usr\\sap\\Images\\"+wdContext.currentContextElement().getResource().getResourceName().toString());
    // D:\usr\sap\Images folder should present on server
              FileOutputStream op = new FileOutputStream(file);
              if(wdContext.currentContextElement().getResource()!=null)
                   text=wdContext.currentContextElement().getResource().read(false);
                        while((temp=text.read())!=-1)
                             op.write(temp);
              op.flush();
              op.close();
         catch(Exception e)
              wdComponentAPI.getMessageManager().reportSuccess("Error while uploading file : "+e.getMessage());
    Thanks
    Sandy

Maybe you are looking for

  • Toggle between Chart and Table

    Hi there ANybody know what I need to do in order to get the function SAPBCTToggleChartTable() function to work? In the standard template, if data is viewed in a graph, an option appears to view the data for that graph in table format. We would like t

  • FF 4.01 does not handle Text Box correctly and some pages need reloading before showing correctly

    FF 4.01 does two things incorrectly when displaying some sites which are not replicated on Google Chrome: # 1: Some pages do not load correctly first time and the images and text are spread out vertically one by one. # 2: Where websites use inserted

  • Folio Builder doesn't open

    When I go to Window > Extensions in my InDesign CS5.5 (Mac), Foilo Builder is there but absolutely nothing happens when I try to select it. All other extensions there open up, but not Folio Builder. I have uninstalled Folio Producer tools, the Folio

  • Calculation problem in report

    Baseline date+ payment terms gives Net due date Ex:- Baseline data   Payment terms    Due date     13/12/06               45 days             28/01/07            so how to calculate this in my report Thanks Priya

  • InDesign (or other poster) workflow advice

    I have been looking at the "Aperture InDesign Intergration" plugin primarily in order to integrate a "poster workflow". http://www.macosxautomation.com/applescript/aperture/indesign/index.html I have used the Indesign Demo for a project and basically