Permission to files available in Oracle database dump location
Hello,
Could someone make me to understand how the trace files available in trace location of 11g database(dump location in 10g or below)are having permission 640 in some databases and 660(UNIX flavored systems) . As these are the files getting created by default with database operation, what is the parameter responsible for it?
just wanted to add this for reference.. and here we can see some are getting created with 640 and some are with 660 with same umask value.
scrbmetdkbry211[PRE-PRODUCTION]:/opt/oracle/admin/METSD/bdump (METSD1)> ls -ld .
drwxr-xr-x 2 oracle dba 115712 Jan 31 07:51 .
scrbmetdkbry211[PRE-PRODUCTION]:/opt/oracle/admin/METSD/bdump (METSD1)> umask
027
scrbmetdkbry211[PRE-PRODUCTION]:/opt/oracle/admin/METSD/bdump (METSD1)>ls -lrt | head -23
-rw-r----- 1 oracle dba 822 Dec 19 17:47 metsd1_lgwr_10720.trc
-rw-r----- 1 oracle dba 848 Dec 19 17:47 metsd1_lmd0_10698.trc
-rw-r----- 1 oracle dba 1172 Dec 21 16:10 metsd1_dm00_10226.trc
-rw-r----- 1 oracle dba 777 Dec 21 16:21 metsd1_dw01_1098.trc
-rw-r----- 1 oracle dba 1401 Dec 21 16:25 metsd1_dm00_1053.trc
-rw-r----- 1 oracle dba 709 Jan 10 20:00 metsd1_mmon_9011.trc
-rw-r----- 1 oracle dba 6439 Jan 15 22:00 metsd1_pz99_10817.trc
-rw-r----- 1 oracle dba 1728 Jan 17 02:00 metsd1_m000_2597.trc
-rw-rw---- 1 oracle dba 1730 Jan 20 00:00 metsd1_m000_20598.trc
-rw-rw---- 1 oracle dba 759 Jan 20 02:48 metsd1_mmnl_9034.trc
-rw-r----- 1 oracle dba 1872 Jan 20 02:57 metsd1_smon_8997.trc
-rw-r----- 1 oracle dba 320606 Jan 20 03:00 metsd1_lmon_8958.trc
-rw-r----- 1 oracle dba 644791 Jan 20 03:00 metsd1_lmd0_8968.trc
-rw-r----- 1 oracle dba 5083521 Jan 20 03:16 metsd1_lms1_8977.trc
-rw-rw---- 1 oracle dba 16552 Jan 20 03:16 metsd1_lck0_9813.trc
-rw-r----- 1 oracle dba 4962730 Jan 20 03:17 metsd1_lms0_8970.trc
-rw-r----- 1 oracle dba 277166 Jan 20 03:17 metsd1_lgwr_8993.trc
-rw-rw---- 1 oracle dba 826 Jan 22 12:33 metsd1_j000_10268.trc
-rw-rw---- 1 oracle dba 759 Jan 23 02:25 metsd1_q000_10347.trc
-rw-rw---- 1 oracle dba 2888 Jan 26 06:00 metsd1_pz99_11021.trc
-rw-rw---- 1 oracle dba 7310 Jan 28 20:20 metsd1_lns1_14783.trc
-rw-rw---- 1 oracle dba 1406 Jan 28 20:20 metsd1_arcp_29560.trc
-rw-rw---- 1 oracle dba 834 Jan 28 20:31 metsd1_arcr_29641.trc
scrbmetdkbry211[PRE-PRODUCTION]:/opt/oracle/admin/METSD/bdump (METSD1)>
Similar Messages
-
Available Now: Oracle Database Lite 10g Release 1
The Oracle Database Lite development team is pleased to announce the availability of Oracle Database Lite 10g (10.0.0.0.0) for Windows 2000/XP, Solaris 2.6, 2.7, 2.8, and Red Hat Enterprise Linux AS/ES 2.1/3.0 platforms.
The Windows release is currently available from OTN at:
http://www.oracle.com/technology/software/products/lite/index.html
Oracle Database Lite 10g is a complete and integrated solution for rapid development and deployment of high impact, mission vital applications for mobile and lightweight embedded environments. Oracle Database Lite is an extension to Oracle Database 10g for enterprises wanting to increase productivity, reduce operational costs, and improve customer satisfaction.
Oracle Database Lite uses data synchronization to reliably and securely exchange data between a corporate Oracle Database and mobile workers. Oracle Database Lite also allows companies to deploy and manage users, mobile applications and devices from a remote central location. Oracle Database Lite provides the necessary framework enterprise customers need to extend their enterprise applications and data to the most popular mobile platforms: Palm OS, Linux, Microsoft Windows CE/PPC, and Microsoft Windows NT/2000/XP/UNIX.
The following is a partial list of new features for Oracle Database Lite 10g that will make your mobile deployment easier to manage, use, and develop. A complete list will be available for download/viewing soon.
Device Management
As the number of mobile devices in an enterprise increases, it becomes more important to have complete control of the devices. Oracle Database Lite Device Management is a complete infrastructure to monitor and manage Oracle Database Lite assets such as database files, software libraries, data, and application files on remote devices. Device management decreases the total cost of ownership and protects an enterprises intellectual property.
Single Oracle Lite Binary
The Oracle Database Lite 10g release contains a single set of Oracle Lite database kernel binaries for all languages, removing the necessity of having different binaries for each of the following languages: Korean, Traditional Chinese, simplified Chinese, Japanese, and US/European languages.
Shared Map
The shared map function greatly improves performance by reducing sync processing timeand enhances the scalability of shared publication items. Shared maps allow users to share record state information and reduce the size of the resulting replication map tables.
Offline Instantiation
Offline instantiation enables quick and easy setup of mobile devices for business applications. Mobile administrators are able to prepare, in batch mode, a client package, which includes the mobile client software and initial data for every mobile user. This procedure helps users avoid an expensive online synchronization processes as part of the first time mobile client setup procedure.
Synchronization Manager
The Synchronization Manager is a complete, web-based enterprise management application to manage and monitor synchronization. The Synchronization Manager allows administrators to manage the synchronization service, monitor and analyze sync performance, administer the configuration, trace synchronization history, display and browse synchronization publication and subscription information, and monitor MGP (Message Generator and Processor) performance.
Oracle Application Server Support
The Oracle Database Lite 10g Mobile Server now runs as a web application on Oracle Containers for Java (OC4J) the runtime of Oracle Application Server. If Oracle
Database Lite 10g is deployed in standalone mode, an embedded version of OC4J will be installed and used. Oracle Database Lite may also be installed against an existing instance of Oracle Application Server.
Seamless upgrade from Oracle9 i Lite 5.0.2
The Oracle Database Lite 10g Upgrade Assistant allows customers to easily upgrade from existing Oracle9 i Lite 5.0.2 installations. The Upgrade Assistant automatically converts existing application definitions to the new format, and copies all relevant files to the new installation. As many customers have deployed mission critical systems using Oracle9i Lite technology, the Upgrade Assistant has been designed to minimize system downtime.
Download
Oracle Database Lite 10g (10.0.0.0.0) for Windows can now be downloaded from the following location.
http://www.oracle.com/technology/software/products/lite/index.htmlI am using Oracle 10g lite. Do you know if it supports silent installation.
-
How to import the data in a .xls or .xlsx file into a oracle database table
Hi,
Please tell me how to import the data in a .xls or .xlsx file into a oracle database table in Oracle 10gR2 using Oracle Warehouse Builder 10gR2.....can we do something through Non-Oracle->ODBC?Yes, it is possible, look at this thread
[SQLServer access from AIX Warehouse builder|http://forums.oracle.com/forums/thread.jspa?messageID=2502982]
If your server (with target DB and OWB runtime) is on Windows OS this configuration will be simpler - you can use single server.
And additional link on OWB blog (with 11g transparent gateway)
[http://blogs.oracle.com/warehousebuilder/2008/01/11g_heterogeneous_agent.html]
(configuring nonoracle connection with 10g generic connectivity very similar to 11g gateway)
Also look at
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
Regards,
Oleg -
How to load text file data to Oracle Database table?
By using Oracle Forms, how to load text file data to Oracle Database table?
Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.
-
Generate XML file from an Oracle Database Table
Hello All,
I want to generate a xml file from an Oracle Database table which contains a blob column.
Can somebody give pointers on this please.
Thanks in advance
SulakshanaUse the DBMS_XMLGEN package.
-
There is IMP utility which provides me data as graphical way. But i need extract data in such a way so that i could able to use in my application.
thanks,
mohanHi,
EdStevens
Actually I was using SQL Developer. Sorry for the wrong define question. Now the real problem is:
I want to read or extract data in a txt file from Oracle Dump (.dmp) file without using Oracle sqlPlus or Oracle Database.
No need to say that i am able to extract dump data using sqlPlus. But for that, there is a little burden to install oracle database
or sql Developer.
I also listen about Oracle Loader a little bit. Is it a tool for providing extraction of data from Oracle dump file.
Thanks for your previous reply,
And now waiting for your suggestion.
thanks,
mohan -
Hi All,
I would like to ask how can imports my dump oracle database file data and struct into sql server 2005
with out make connection oracle.
best regards.
Hakim.Hi Hakim.
Based on your title, what I understood there is a issue regarding transfer oracle db dump to sql database using C# code. Am I right? If so, I am afraid there is no build-in method which meet your requrements in .NET framework. You must provides
OraDump Export API to allow developers integrate corresponding capabilities into their applications. These capabilities are about export data from Oracle dump files into popular databases like Microsoft SQL server. Every developer
having OraDump Export API can write just few lines of code on C# or Visual Basic to implement the appropriate export process.
I am search a third-party link, but it's a paid service.
http://www.convert-in.com/data-migration-service.htm
If you don't have to with code, Please refer to: Migrating Oracle Databases to SQL Server 2000
http://technet.microsoft.com/en-us/library/cc966513.aspx
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
View pdf file stored in oracle database through oracle forms
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
I have created external directory and am able to load pdf files in oracle database table called test_blob.
CREATE TABLE test_blob (
id NUMBER(15)
, file_name VARCHAR2(1000)
, image BLOB
, timestamp DATE
I have 2 pdf files in the table. I want to view this pdf from forms when the user clicks on the button. On when-button-pressed trigger I want to show pdf on the screen. Any help is appreciated. Not on the designer. I want to run form application.
SELECT id, file_name,
DBMS_LOB.GETLENGTH(image) Length,
timestamp
FROM test_blob
ID|FILE_NAME|LENGTH|TIMESTAMP
1001|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:44:41 AM
1002|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:51:07 AM
Edited by: user_anumoses on Jan 28, 2013 11:45 AMWe were able to do the same thing with Oracle Application Server and Oracle WebLogic Server. I cannot remember how different the processes were, but it seems like they were very similar. I am going to give you the instructions on how we implemented a "Read PDF" procedure on the WebLogic Server. If you are still on the Application Server you may have to do some Google searches, but it all boils down to the mod_plsql DAD Configuration file.
Our PDF was located in a table with the following structure:
CASE_DOCUMENTS
(id_document NUMBER NOT NULL,
doc_blob BLOB,
note VARCHAR2(240),
created_by VARCHAR2(20) NOT NULL,
created_dt DATE NOT NULL,
case_id NUMBER NOT NULL,
filename VARCHAR2(100) NOT NULL)Based on that table structure we created a procedure named READ_PDF which you will reference below in the dads.conf file below:
CREATE or REPLACE procedure read_pdf (p_id_document IN number)
is
view_file blob;
BEGIN
select doc_blob
into view_file
from case_documents
where id_document = p_id_document;
OWA_UTIL.MIME_HEADER ('APPLICATION/PDF', FALSE);
HTP.P ('CONTENT-LENGTH: ' || DBMS_LOB.GETLENGTH (view_file));
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (view_file);
END;
GRANT EXECUTE ON read_pdf TO financial_user_role -- Name of role to execute
/Basically, you are passing in one parameter and that is the primary key for your table. You are selecting the pdf stored in a BLOB for that primary key. The commands below that allow the pdf to open up so you can view it – we got this off some search we did a few years ago.
Now, you need to add logic to your Oracle Form that will call the procedure above, but the URL is based on the dads.conf file that we will set up below… Anyway, we created a button on the form module with a label of "View". In the WHEN-BUTTON-PRESSED trigger the logic looks like this:
-- The View logic uses the DAD (Database Access Descriptors) method to view a .pdf file from the form.
-- The DAD was created on WebLogic Server with the name findadgen. This allows an http request be made
-- to the database.
declare
v_file varchar2(400);
v_success boolean;
ret_val number;
v_http_link varchar2(400);
begin
-- The format of the link is as follows: hostname:port/pls/DAD_name/procedure_name
v_http_link := 'http://finas03:8888/pls/findadgen/read_pdf?p_id_document=' || :case_documents.id_document;
web.show_document(v_http_link, '_BLANK');
end;The name of our WebLogic Server is "finas03" so that is what is listed in the URL. The "findadgen" is the name of the <Location> in the dads.conf file below, the "read_pdf" is the name of the procedure we created above, the "p_id_document=" is the IN parameter listed in the READ_PDF procedure created above, and the ":case_documents.id_document" is the reference to the primary key in our Oracle Form.
For WebLogic, you can either go through Enterprise Manager (directions below) or update the dads.conf file on the filesystem directly (if you update the dads.conf file directly then skip to step 4 and ignore step 5):
1. Enterprise Manager -> Web Tier -> ohs1
2. Oracle HTTP Server (pull-down) – Administration – Advance Configuration
3. Select File – dads.conf
4. Add something similar:
# ============================================================================
# mod_plsql DAD Configuration File
# ============================================================================
# 1. Please refer to dads.README for a description of this file
# ============================================================================
# Note: This file should typically be included in your plsql.conf file with
# the "include" directive.
# Hint: You can look at some sample DADs in the dads.README file
# ============================================================================
<Location /pls/findadgen>
SetHandler pls_handler
Order allow,deny
Allow from All
AllowOverride None
PlsqlDatabaseUsername financial
PlsqlDatabasePassword sdo_3#d1
PlsqlDatabaseConnectString ffindbTNSFormat
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
PlsqlDefaultPage read_pdf
</Location>You are adding the <Location> section to your dads.conf file. The "finddadgen" is the name that you will reference in a change you fill make to your Oracle Form. The "financial" is the Schema, the "sdo_3#d1" is the password for that Schema, the "ffindb" is the database that the stored procedure is located on, and the "read_pdf" is a stored procedure you will have to create in order to read the pdf.
5. Press the "Apply" Button
6. Obfuscate the DAD password by running the dadTool.pl script located in $ORACLE_HOME/bin (This was done on Unix on our server with the following commands):
$> LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
$> cd $ORACLE_HOME/bin
$> perl dadTool.pl -f /u01/app/oracle/middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf
7. Restart the Oracle HTTP Server using Fusion Middleware Control:
Enterprise Manager -> Web Tier -> ohs1
Oracle HTTP Server – Control – Shutdown
Oracle HTTP Server – Control – Start Up
If you followed the instructions above, you should have created a stored procedure, added logic to your Oracle form to reference that stored procedure, and created an entry in the dads.conf file. Once you move the form onto the server and you restart the HTTP Service, you should be able to view a pdf that is stored in a table directly from your Oracle Form. -
Trying to Attach Files to an Oracle Database Engine
My client performed a complete backup of their Oracle folder (Windows). They simply used Windows Explorer by dragging and dropping the folder on to an external drive. Now that I have the files, I need to know how to "attach" them to my local Oracle database engine. I need to do this so that I can add a new Data Connection in Visual Studio. Or, if I login to the database server, I want to see my client's databases.
Can anyone help me?ruser9107810 wrote:
I am used to using SQL Server, which allows you to simply attach database files to a database. I did read some documentation on restoring a database file, but it seemed complicated. Complicated only because you are tying to see it as something it isn't. Please don't take that as a criticism. It's just a statement of fact because you are trying to apply SQL Server thinking to Oracle. Same as trying to apply diesel engine thinking to a gasoline engine.
I thought that there might be a more straight forward solution.
SQL Server isn't Oracle ... by any stretch of the imagination. Even the term "database" refers to totally different concepts. What SQL Server calls a 'database', Oracle calls a 'schema' -- and even that is just a rough approximation.
What you describe in SQL Server sounds a lot like what Oracle would call a 'transportable tablespace', but again that would be an approximation, not an exact one-for-one literal translation.
Where do I get this information? Do you recommend a book or website?The entire Oracle doc set is at tahiti.oracle.com -
Loading XML files to an oracle database
Hi,
I have some users who would like to send me XML files that I would need to parse and load into multiple tables in my Oracle database. Since I'm new to XML, I'd like to know if XMK DB is the technology that I need to explore in order to do this, and if so, are there any white papers or articles out there that might get me started.
I have previously loaded data into my databases via text files that I parsed using text_io, I'm not sure if there is a significant advantage in using XML. This data load is going to be on an regular basis and I would like to validate the data the data before loading this.
Any help or guidance would be greatly appreciated.
Thanks.
Azeem.XML is becoming the defacto method of exchanging data between systems due to it's self describing nature. XML DB is the preferred way of processing XML in Oracle 9iR2 and later. The banner for this forum provides links to the XML DB OTN pages where you can find lots of information related to using XML DB.
-
There is import which provides me data as graphical way. But i need extract data in such a way so that i could able to use in my application.
thanks,
mohanThis isn't a SQLDeveloper question. You will get better answers in the Database - General forum.
Oracle dump files produced by the exp or expdp utilities are inproprietary formats which can only be read by the imp or impdp utilities respectively.
The best way to get data out of a dump file is to import it into a database and then extract it to plain text files using SQL.
Alternatively, leave it in the database and your application can access it there.
The exp dump file is mostly plain text, but the format is not published so you could waste a lot of time figuring it out. -
Link multiple XML files stored in oracle database
Link multiple XML files
Can any one give some code example regarding my issue:
If I have for example file1.xml stored in one relational table and another file2.xml stored in another table ….etc
And I want to put link and reference which will make me able to link these files and make query or insert…etc
May be I need to use Xlink, Xpoiner or Xinclude . But if this is the solution to this problem please can you give a simple example that will help to understand the solution especially that I want to develop my project in oracle and I will register xml schema to insert the xml files in the database
Thanks lots and I am waiting for your solutionno answer for my question
is this thread is a write place or I have to move my query to another part of the forum
thanks -
How can i store a video file into a ORacle Database
I want to create a table which will store video file
How should be the table created and how can i upload the video file to the database from my PC Say the video file is in C:\Video
Please help meTake a look at the Oracle interMedia Sample Code on OTN
http://www.oracle.com/technology/sample_code/products/intermedia/index.html -
How to convert the .dmp file into my oracle database
There is a .dmp file which produced by the oracle for NT.
How could I use this .dmp file to create my oracle for Linux
database?
Please help me to solve this problem.
Thank you very much!
The reply Email also send to [email protected] will be
appreciated.
nullYou will first need to create your database on your linux
platform complete with all necessary tablespaces and datafiles.
If you were going from unix to unix and each platfrom's datafile
file structure was the same then only the system tablespace
would need to be pre-created, import would have done the rest.
However, you are going from nt to unix so the tablespace create
statements will have invalid paths.
So, list out the view dba_tablespaces. Create a starter
database (system tablespace complete with installed options).
The system tablespace should be the same (or bigger) at the one
on the nt platform. Then create these same tablespaces on your
linux platform. Once the database has been created complete with
all tablespaces then use the import utility to populate your
database.
Done.
Wan-rong Jih (guest) wrote:
: There is a .dmp file which produced by the oracle for NT.
: How could I use this .dmp file to create my oracle for Linux
: database?
: Please help me to solve this problem.
: Thank you very much!
: The reply Email also send to [email protected] will be
: appreciated.
null -
How to Store PDF files In the Oracle Database?
Hi All,
It is required for me to store the PDF files in the Database and retrieve it back whenever necessary.
Also I need to store it with some security. So no one can read the content of the file.
Please give me solution to these problems.
Thanksvasav wrote:
Hi All,
It is required for me to store the PDF files in the Database and retrieve it back whenever necessary.Why not save the files to disk and store a link to the file in the database instead?
Also I need to store it with some security. So no one can read the content of the file.Authenticate users requesting files.
Please give me solution to these problems.There are many possible solutions for your requirements.
Maybe you are looking for
-
Hi I have couple of question both might be related. 1. In one jsf page I have several items. They are selectInputText, InputText,Shuttle,Select one choice etc. Select input text,Select one choice and Shuttle gets populated from different view objects
-
How to move from vmware ESXi 5.5 to Hyper-V 2012 R2 on same hardware?
I have Vmware ESXi 5.5 Update 1 with two disks, called RAID0 (3.6 TB) and RAID5 (10.9 TB). I am tired of having to rebuild ESXi every sixty days for home use so I am planning on moving to Hyper-V, but I'm a little nervous. I don't have swing kit, so
-
Purchase: Material 'X' is ordered, but components A, B, C & D are received
Hi, We have following scenario in purchase: 1. We are creating Purchase Order for material code 'X' 2. But, vendor does not supply us material 'X' (instead vendor supplies us the components required to assemble 'X', for example: A, B, C and D) 3. We
-
Migrate lightroom5 from PC to Mac
Has bought an iMac and want to move Lightroom 5 from my PC, would like to know if there is a good link how to proceed.
-
Approval Process Overview tab?
Hello, I'm trying to work out how to populate the approver list table on the Approval Process Overview tab. We are on SRM7.0 SP7 using a custom application controlled workflow. The approvers are determined correctly but the approver preview list is n