Import and explore Oracle .dmp file - oracle11g

I have a .dmp file (export from an Oracle DB) I need to get data from. I have installed Oracle 11g Express Edition successfully, with user SYSTEM and imp command I imported the file, with some warnings though, but now after hours of searching the Internet, I still have no idea how to explore the DB created by that file.
Can explain to me how to do that or at least point me to some relevant documentation, please? This is the first time I use Oracle.
Thanks!
Update: I already tried with Oracle SQL Developer. I use the user SYSTEM that was created automatically when I installed XE

Related

Teradata sample database

I have installed vmware player and added the disk file to it. Teradata studio is already installed in it. Now, I want create a database of good size to perform bulk load types in Teradata.
Where can I get the sample database?
I assume that you are asking about the software part to create an instance of Teradata database. If you have VMware downloaded from Teradata for evaluation purpose, it is already installed and configured. You just have to connect with your Studio.
If you are trying to create a virtual environment on your own, then you need to download the Teradata software and install in machine which will create a database. After installing the software you can configure and connect with Studio.
Teradata Express comes with toy data (Samples database) but only up to version 14. From version 15 it is (oddly) removed.
Your VM-Ware is fully configured. Sart your TD-Studio and connect to it.
From VM-Ware's TD-Studio it is TDPID: localhost od 127.0.0.1 User dbc pass dbc
There are no more sample databases in Teradata Express, but I published several data sets on GitHub, see the blog on Teradata Community

Clone Oracle Express Edition 11g R2

I have installed Oracle XE 11g R2 on my machine. I ran few scripts which does the setup by creating schemas, procedures for our application. Now I want to clone this database so that other people by using the cloned dbf file can see the base schema on their respective machine and work on their individual requirement on top of that.
Now it has 6 dbf files
CONTROL.DBF
SYSAUX.DBF
SYSTEM.DBF
TEMP.DBF
UNDO.DBF
USER.DBF
Can i just give them the files or I need to create server parameter file (SPFILE) or Control file. What about the REDO logs.
I have very little knowledge in Database administration. Please suggest. I understand that it is not Enterprise Edition so all things might not supported but assuming cloning process is similar for XE.
While it is possible to restore a database using the data files, I strongly suspect that is not what you're really after. If you're not an experienced DBA, the number of possible issues you'll encounter trying to restore a backup on a different machine and then creating an appropriate database instance are rather large.
More likely, what you really want to do is generate a full export of your database. The other people that need your application would then install Oracle and import the export that you generated.
The simplest possible approach would be at a command line to
exp / as sysdba full=y file=myDump.dmp
You would then send myDump.dmp to the other users who would import that into their own database
imp / as sysdba full=y file=myDump.dmp
This will only be a logical backup of your database. It will not include things like the parameters that the database has been set to use so other users may be configured to use more (or less) memory or to have a different file layout or even a slightly different version of Oracle. But it does not sound like you need that degree of cloning. If you have a large amount of data, using the DataPump version of the export and import utilities would be more efficient. My guess from the fact that you haven't even created a new tablespace is that you don't have enough data for this to be a concern.
For more information, consult the Oracle documentation on the export and import utilities.
Removing content as it is not valid here

Unable to connect Access to SQLlite via ODBC

I have an Access 97 database that serves as a front-end, via ODBC and linked tables, to a MySQL database, running under Wiin7-64. (Yes, it does work!) The database contains info about places of worship and pilgrimage in the part of France where I live. In addition, I have tens of thousands of photos of the sites in Photoshop Elements 9. The underlying database engine of PSE9 is SQLite, and interesting data about the photos is there (titles, which ones I like, etc.). I would like to link from Access to the tables in the SQLite database as I do to the MySQL database.
My problem: I am unable to create an ODBC connection to the PSE9 SQLite database. I have done multiple searches via Google, read multiple posts at stackoverflow and elsewhere, tried various suggestions, and still no ODBC connection, neither in the 32bit or 64bit ODBC tools of Win7-64. I'm stumped.
So far, I've
downloaded sqliteodbc.exe from http://www.ch-werner.de/sqliteodbc/ and run it (multiple times)
copied sqlite3odbc.dll, sqlite3.def, sqlite3.dll, and sqlite3.exe to the \windows\system32 folder
entered this command at the Windows command line: "rundll32 c:\windows\system32\sqlite3odbc.dll,install", which produced this error message "Copy c:\windows\system32\sqlite3odbc.dll to c:\windows\system32\sqlite3odbc.dll failed."
When I look at the ODBC and ODBC (32-bit) windows, I don't find a User DSN, System DSN or File DSN for SQLite. Any suggestions?
Thanks,
Harvey in balmy Bordeaux
Whats with all that copying dlls around - you don't need to do any of that. Just download the 32 bit version and double click on it - the driver will be installed. Then find the 32 bit ODBC Administrator (note there are 2 on 64 bit windows and only one is 32 bit), fire it up and create a DSN. You should see sqlite3 in the drivers tab.
DSNs are not there automatically, you have to create them yourself. There should be an "Add" button in the ODBC administrator. Then you select the type of driver "SQLite", and then configure the details in the next dialog.
A DSN normally contains all the configuration information needed to connect to a specific database instance so that all this - which may be different from one database system to the other - can be referenced by one name. That is where the name "Data Source Name" comes from.

Installing apex in solaris

I neva worked with solaris or Linux before, and would like to find out how i can install oracle application express using command line in solaris, after i have installed my oracle database 11g in solaris aswell.
I already have an idea of how to install the database.
i agree with the comments above, the apex installation guide on the oracle site is easy to follow, basically, you will have to:
execute scripts in the oracle database (first create some tablespaces, then run an sql script that will install the apex module)
deploy a file containing an apex "listener" that you will have to quickly configure, and run a WAR (java) file to run apex
and that's it :)
Installation of Application Express (APEX) is largely Operating System agnostic. The process is based around running a number of scripts. When performing APEX installations, my primary tool is SQL Plus.
Depending on the version\edition of the Oracle Database you install, you probably already have a version of APEX ready to use. You can check which version of APEX your database has by running the following sql statement:
select version_no from apex_release
More information about installing Apex can be found in the documentation.
the documentation on the oracle website is well done.
i installed apex on Solaris 10 and it works fine
basically, you just need to execute a few SQL scripts (create some users, import data), and afterwards run a java program to start the apex listener
check the documentation, it should be understandable even without too much of Solaris knowledge

Is there a way to connect to an ASA database with Powerbuilder without deploying the ODBC or OLEDB drivers?

What I want is a Powerbuilder application that runs on Windows that runs from a CD (or some other external disk) that can read from an ASA database whose file is located on the same disk. But I want to do so without deploying the ODBC or OLEDB drivers. That is, I do not want to have to copy the driver files to the client's hard disk or add any registry entries. Is this possible?
In the Powerbuilder and ASA documentation they mention something about "embedded database connections" and supposedly you can specify the executable for the database server in the connection string. But that was no help.
When you attempt to connect to a database and "ODBC" is specified for the DBMS property of the transaction object, PowerBuilder is going to want to start loading drivers and looking to an ODBC datasource for the driver's info.
The only thing I can think to try, is to create all the registry entries at run time and point them to the driver files and the .db file on the CD. You might be able to make things easier with a file based datasource on the CD already, but you'll still need to create registry entries to setup the driver details. Then you can remove all those entries when you disconnect/close the application. I don't think you can do this completely without registry entries.
You do have to deploy the ODBC driver, that's how PB talks to SQL Anywhere. You dont have to create a DNS entry though, you can usr a DNSless connection.
http://www.carlprothman.net/Default.aspx?tabid=90#ODBCDriverForSybaseSQLAnywhere
Since you aren't getting much feedback I thought I'd offer this. I've done this with MS Access, but MS Access is much easier to connect to and most Windows PC's are able to connect via File based DSN.
You definitely want to avoid ODBC if at all possible look for File based DSN in ASA, but because it is more of a full database engine I doubt it is possible without ODBC and setting up ODBC via Registry Entries is possible but no fun at all especially if your clients are running different versions of Windows.
Here is the connect string I used for something similar but MS Access. I choose Access for this exact reason, it was for a RPG program and I wanted a database but didn't want to mess with ODBC.
Sample:
"Connectstring='Driver={Microsoft Access Driver
(*.mdb)};UID=abc;PWD=123; Dbq=C:\Program Files\Mafia Manager\mm.mdb;
Exclusive=1;'"

Resources