|
|
Copy schema without data
Hi all
Probably an easy question for an oracle dba or even power user:
I would like to copy the data warehouse schema on my laptop for testing and
developing our application.
- Unfortunately I have a 80GB HD and the DWH contains a few 'tera'.
- Fortunately, I don't need the data (ok perhaps a few master data). I need
only the schema to avoid 'table not found' errors and so on.
How can I copy all the tables (mat. views to be correct) without the data
from our dwh? But please don't tell me to dump the whole thing and delete
the data. DWH and networking team would kill me.
Good news: no indices, no constraints, just 1 to 1 raw data dumped out of
our business solution environment. But I only have access to mat. views and
not to the tables directly.
I tried a create table from select... that did the job more or less but I
guess I can't trust it (do mat views identify their underlaying schema
correctly?)
Forgive a spoiled ms developer and thank you in advance
Raoul
|
|
0
|
|
|
|
Reply
|
raoul (1)
|
8/26/2008 10:08:12 PM |
|
Sorry for the sender name, just set up my news account...
"news.magnet.ch >" <Raoul Minder<raoul@nospam.minder.name> schrieb im
Newsbeitrag news:53b41$48b47eaf$d5bd8e11$20531@news.cyberlink.ch...
> Hi all
>
> Probably an easy question for an oracle dba or even power user:
>
> I would like to copy the data warehouse schema on my laptop for testing
> and developing our application.
> - Unfortunately I have a 80GB HD and the DWH contains a few 'tera'.
> - Fortunately, I don't need the data (ok perhaps a few master data). I
> need only the schema to avoid 'table not found' errors and so on.
>
> How can I copy all the tables (mat. views to be correct) without the data
> from our dwh? But please don't tell me to dump the whole thing and delete
> the data. DWH and networking team would kill me.
>
> Good news: no indices, no constraints, just 1 to 1 raw data dumped out of
> our business solution environment. But I only have access to mat. views
> and not to the tables directly.
>
> I tried a create table from select... that did the job more or less but I
> guess I can't trust it (do mat views identify their underlaying schema
> correctly?)
>
> Forgive a spoiled ms developer and thank you in advance
>
> Raoul
>
|
|
0
|
|
|
|
Reply
|
Raoul
|
8/26/2008 10:11:14 PM
|
|
"news.magnet.ch" <Raoul Minder:
> Hi all
>
> Probably an easy question for an oracle dba or even power user:
>
> I would like to copy the data warehouse schema on my laptop for
testing and
> developing our application.
> - Unfortunately I have a 80GB HD and the DWH contains a few 'tera'.
> - Fortunately, I don't need the data (ok perhaps a few master data). I
need
> only the schema to avoid 'table not found' errors and so on.
>
> How can I copy all the tables (mat. views to be correct) without the
data
> from our dwh? But please don't tell me to dump the whole thing and
delete
> the data. DWH and networking team would kill me.
>
> Good news: no indices, no constraints, just 1 to 1 raw data dumped out
of
> our business solution environment. But I only have access to mat.
views and
> not to the tables directly.
>
> I tried a create table from select... that did the job more or less
but I
> guess I can't trust it (do mat views identify their underlaying schema
> correctly?)
>
> Forgive a spoiled ms developer and thank you in advance
>
> Raoul
hi raoul
sorry for my smal english
you can use under linux or unxi the comandline with EXP or in oracle
10.x. in commandline the expdp
in all using help can you see with exp help=y oder expdp help=y
if you ar user with privileg FULL_EXPORT_DATABASE or so ... the tje user
can make an export follow
exp userid=name/pasword FILE=filname-of-the-exportfile.dmp
LOG=name-of-the-logfile.log USER=name-from-the-user who sould export
FULL=n
please look at teh command detailed. i havent an manuell in front of
me.
ist used the filedirektory where you actuell are standing.
thast all
have a good time
|
|
0
|
|
|
|
Reply
|
xxxxxxx
|
11/22/2008 8:16:36 PM
|
|
|
2 Replies
202 Views
(page loaded in 0.313 seconds)
Similiar Articles: rollback schema changes - comp.databases.oracle.server... way to rollback schema ... on SYS. schema.) The DB in question is around 1.4TB. Copying over from ... change lots of the data. Flashback is a way to go back in time without ... understanding oracle terminology - instance, database, sid, schema ...> > Specifically: > - instance One copy of ... here and so we cannot > truly refer to a schema by the name alone without ... DB link and use it to retrieve the data from ... Importing with TransferDatabase from ODBC and including Indexes ...... lot easier to just > import the data into an MDB file and then copy ... metadata about the ODBC database schema ... should be able to transport the data back and forth > without ... Non-unique columns via ODBC driver - comp.lang.perl.misc ...I am trying to copy data from a proprietary ... an ODBC driver, so getting the db schema and data ... would be nice if I could load the data from the other columns without ... automatic / auto-increment field, without trigger - comp.databases ...... or replicating the table to another schema or ... auto-copy/export & auto-import - comp ... be an INTEGER AUTO_INCREMENT ... The data itself is too unwieldy to use without ... How can i create a table to maintain emp attendance - comp ...Help to 'pretty'; replace WITHIN file without TEMP file ... Quickest way to bulk copy many files from one disk ... Make an initial run early to get most of the data over. How to optimize primary key change on a large table? - comp ...This allowed me to create the "offline" table, copy the data ... How to hide schema and table structure for other user ... Hibernate: table without primary key - comp.lang.java ... Generate a CRUD matrix - comp.databases.oracle.serverI would be interested in getting a copy of a routine ... What you could try is create a new schema and create ... Passing values between procedures(without actually passing ... Can a procedure contain only a SELECT statement? - comp.databases ...... there a way to use packaged procedures to select data without ... I am writing a schema comparison tool that will be ... table and column names, I don't have a copy of the ... The nightmare begins... - comp.databases.filemaker... like operations in order to copy/paste ... to run backups frequently without having to close the files. Works great, even when backups run while I'm editing schema. Copy schema without data - Oracle DatabaseCopy schema without data. Oracle Database Forums on Bytes. Create a copy of production database schema without dataHi All, I have got a production database, REPORTS_DB, and would like to make a test version of the database, REPORTS_DB_TEST, (without the data) as I need ... 7/23/2012 9:02:23 PM
|
|
|
|
|
|
|
|
|