How to create the schema of the database from an existing TimesTen database?
Hello everyone,I am a newbie to TimesTen database. Before making the complex sql queries, I would get the DB TimesTen database schema. I'm looking for a way extract the database schema (tables, keys, links between tables...). When I was working on another db such as postgreSQL, I could get the sql script of the database (for example, in order to recreate the database in another server). Some software like PowerDesigner has managed to build the model of database of these scripts.
You know a way to get the same thing with the TimesTen database? Or with another way?
Concerning
Hello
Take a look in the docs at ttSchema, this could do the trick.
http://download.Oracle.com/docs/CD/E13085_01/doc/TimesTen.1121/e13069/util.htm#autoId27
Tim
Tags: Database
Similar Questions
-
How to create the database using the command line?
Hi all
Win7
10g or 11g
I want to create a new database using a script.
I set up my new SID and oracle_home.
Then sqlplus / DBA.
then I execute a common script...
I always hit itstartup nomount; create database PRODB logfile group 1 ('z:\oradata\PRODB\redo01.log', 'z:\oradata\PRODB\redo01b.log') size 50M, group 2 ('z:\oradata\PRODB\redo02.log', 'z:\oradata\PRODB\redo02b.log') size 50M, group 3 ('z:\oradata\PRODB\redo03.log', 'z:\oradata\PRODB\redo03b.log') size 50M, group 4 ('z:\oradata\PRODB\redo04.log', 'z:\oradata\PRODB\redo04b.log') size 50M character set AL32UTF8 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M undo tablespace undo datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M default temporary tablespace temp tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catalog.sql; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catproc.sql; connect system/manager; @/opt/app/oracle/product/10.2.0/db_1/sqlplus/admin/pupbld.sql; exit; SQL> startup nomount; ORA-12560: TNS:protocol adapter error SQL> create database PRODB 2 logfile group 1 ('z:\oradata\PRODB\redo01.log', 3 'z:\oradata\PRODB\redo01b.log') size 50M, 4 group 2 ('z:\oradata\PRODB\redo02.log', 5 'z:\oradata\PRODB\redo02b.log') size 50M, 6 group 3 ('z:\oradata\PRODB\redo03.log', 7 'z:\oradata\PRODB\redo03b.log') size 50M, 8 group 4 ('z:\oradata\PRODB\redo04.log', 9 'z:\oradata\PRODB\redo04b.log') size 50M 10 character set AL32UTF8 11 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M 12 sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M 13 undo tablespace undo 14 datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M 15 default temporary tablespace temp 16 tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M;
SQL > startup nomount;
ORA-12560: TNS:protocol adapter error
But if I run it on Linux is good.
Help, please...
Thank you very much
zxyyxes2013 wrote:
I want to create a new database using a script.
Suggestion. DBCA allows to generate the database model and use the option "+ Save as scripts + ' (no need to create the database).
In the scripts directory, there will be a couple of shell and SQL scripts to create the database. Use them as your CLI model for the creation of a custom database. (I guess that DBCA works the same on Windows as it does on Linux).
Another option, if you are using Oracle XE, is to copy ORACLE_HOME/bin/createdb.sh (probably a + .cmd on Windows) script and change for use. If you manually add non-XE features to the script (such as the installation of the Java virtual machine) If you want a database of SE or EE. (whereby DBCA scripts are a better answer).
-
How to create the database links
Hello
We have two databases on two servers differenet and we want both of the databases to be synchronized and application runs only on a single server.
It is possible through links DB if yes then how.
If a better solution than DB links is pl tell.Hello
Edit the tnsmaes.ora file and add the entry to the database and verify the connection using tnsping .if connection is ok and then create a database link in oracle
CREATE DATABASE LINK link_name - name of the link
CONNECT username - user name
IDENTIFIED BY password - password of the user
With the HELP of "Database_sid" - name of the databaseCreated database link
Select * from owner.table_name @ link_name
-
How to create the database of integrated security
Hello
I should create a database and in the next step, install oraclefailsafe to use another server to pass if the first crash. Then I created the SERVER1 database (with all the files on a shared file system).
Now how can we establish the 'same' database on SERVER2?
Thank you.
I'm reading: Oracle® Fail Safe
Concepts and Administration Guide
Version 3.3.3 for Windows
Reference No.. B12070-01
December
But do not see the answer to my question.
Thank you.
Please tell me if my question is clear?http://download.Oracle.com/docs/CD/E10736_01/doc/install.341/e10720/ofsman.htm
Hope that you will help, as far as failsafe is concerned, you must install the oracle software on the servers participating in the cluster and the database created in the common storage space. That the file password and init copied to servers. You must also create the service in the second server. Then, as mentioned above link to the needs of service created to monitor and start kick on the other node in the cluster.
-
How to create the database for setting up connection
Hello
I'm trying to pass on the values of the variables from a database instead of the usual .csv file. I need to connect to a database for this. When I try to connect to the Oracle XE (installed with the ATS) he invites me to put in the following:
-SID
-Service name
-Alais
I don't know what is the SID or Service name values.
ConcerningHello
-SID: XE
-Name Service: even
-Alais: what you wantYou must also put the host name somewhere (you can put localhost)
JB
-
How to create the database of video/photo thumbnails file
I notice that there is a thumbnails db file in some of my folders containing video/photos while others do not. Those who seem to have miniature views of video/photo pop up much faster than the others when we look at the extra large icons in windows Explorer.
Is this faster thumbnail upload because the db file "thumbnails"? If so how can I get this file created in all my photo and video files?
Thank you.
Hello
Which popup you are referring to?
Each time seen miniature is enabled or has been enabled in Microsoft Windows the hidden thumbs.db file is automatically created in the same directory than where thumbnails have been read. This file contains the information required by Windows to display thumbnails for each of the icons and will be placed in each model file are read. Thumbs.DB looks a lot like its name. It stores the graphics, the film and some document files, and then generates an overview of the content of file using a cache of thumbnails. This file can be deleted safely from any directory, however, it will be automatically recreated if thumbnail display is always on and you open this directory again. Thus, it is not related to upload faster thumbnail.
Let us know if you have other questions related to the issue. We would be happy to help you.
-
How to create the database and a tablespace?
Hello experts,
I want to create a database named influx as tablespace influx.
for this that I login under the sys account.
now, I'm trying to run the following command:
CREATE DATABASE WORKFLOWS
LOGFILE GROUP 1 ("G:\app\dhirender\oradata\INFLUX\redo01.log") SIZE 100 M,
GROUP 2 ("G:\app\dhirender\oradata\INFLUX\redo02.log") SIZE 100 M
GROUP 3 ("G:\app\dhirender\oradata\INFLUX\redo03.log") SIZE 100M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
DEFAULT TABLESPACE users
DATAFILE 'G:\app\dhirender\oradata\INFLUX\INFLUX01.dbf '.
SIZE 500M REUSE AUTOEXTEND ON MAXSIZE UNLIMITEDFOLLOWING ERROR IS COMING:
ORA-01501 datbase remote.
database ORA-01100 already mount
also help me create tablespace.
Please help me.
Thank you
Yoann
Follow, you will get help!
http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_5004.htm
http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_7003.htm
https://forums.Oracle.com/thread/2481617
https://forums.Oracle.com/thread/661075
See you soon,.
Manik.
-
How to create the database link between the production and the test server
You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.
Could someone please answer for example?
Thank you
sRIIYou will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.
Could someone please answer for example?
If test for prod
create public database link to_prod connect to the user identified by password using 'to_prod ';
Check that to_prod is directed to your production database.
-
How to create the partition from the list where value does not
Hello
How Fund partition where I want to store all data, which is not equal to, values priview,(A,B,C,D,E)?
Thank you!PARTITION PN001 VALUES (*is all values !=A,B,C,D,E*) TABLESPACE test_1
IDThe research of partition
(default) values? -
How to install the schema example when we create the database manually
Please help meIf I create the database to create the database command; then after you have created the Pb, I will run after two scripts that are almost mandatory:
1.C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catalog. SQL
2.C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc. SQLFor the Scott schema:
3.C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\scott. SQLHTH
Girish Sharma -
How to check the database is created in the database of node 2 RAC
Hi all
Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
virtual box (Windows 7)
2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
11.2.0.3 software grid & database.
One of DB name is demo
Node1 (demo1)
Node2 (demo2)
1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.
I am able to use view state using crsctl (see the log)
2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.
I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.
Yes, question
1: is the database created?
2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
???? What? What oracle server trying to connect?
3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?
Please advise!
Thank you very much!
[grid@demo1 ~] $ crsctl stat res t
--------------------------------------------------------------------------------
TARGET STATE SERVER STATE_DETAILS NAME
--------------------------------------------------------------------------------
Local resources
--------------------------------------------------------------------------------
ORA. DATA.dg
Demo1 ONLINE
Demo2 online
ORA. LISTENER.lsnr
Demo1 ONLINE
Demo2 online
ORA.asm
Demo1 Started online
Demo2 Started ONLINE
ORA. GSD
In offline mode offline demo1
Demo2 offline offline
ORA.net1.Network
Demo1 ONLINE
Demo2 online
ORA.ons
Demo1 ONLINE
Demo2 online
--------------------------------------------------------------------------------
Cluster resources
--------------------------------------------------------------------------------
ORA. LISTENER_SCAN1. LSNR
1 demo1 ONLINE
ORA.demo1.VIP
1 demo1 ONLINE
ORA.demo2.VIP
1 demo2 online
ORA. CVU
1 demo1 ONLINE
ORA. OC4J
1 demo1 ONLINE
ORA.scan1.VIP
1 demo1 ONLINE
Published by: 969880 on November 13, 2012 14:181. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
3. you must use:srvctl start database -d demo
This should start all database instances.
But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.
-
create the database in the mobile without SD card
Hi, I want to create the database in a mobile blackberry without SD card. I mean in local memory. Is this possible? If it is possible how can I change the URI? Thank you URI.create ("file:///SDCard/databases/database.sqlite")
file:///store/home/user/databases/database.SQLite
-
How to create the default user interface is newly added to the columns in the table
I added the new columns to the database table existed who got the default values for the user interface to the columns existed.
How to create the default UI for the new columns.
I couldn't see the newly added columns change the default UI (object browser-> database-> default UI - Edit-> Table).
Using APEX 5.0.3
Can you please help.
Thank you.
Find the option "Synchronize with database" under tasks on the interface's default user - Edit
-
On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?
I tried to start dbconsole, and it did not work:[oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)
database was created with the option as:
emConfiguration - NONE - storageType FS
I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "
When I try to start it, it exports the error
[Oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
Could someone could give me help with this problem?
Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?
I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?
-
How to start the database and servers after the installation of the Webcenter JSK Portal
Hello
I finally installed the portal WebCenter using JSK, after it turned off the machine, I don't know how to start the database or server, I need to set the environment variables? create the oracletab file? or is it a file .sh to start the database and servers?
Any help will be great!
Best regards!
Thanks Françoise-Oracle for your response
As you say, I need to go to /WCPortal_JSK_Linux.x 86-64/linux64, I found all the scripts that I needed to start or stop a server or database. But more especially if you run evertything, (I did) you just need to run the de./startup.sh script and wait, he'll run, but take some time.
Best regards!
-
How to create the cluster in weblogic
Hello to all the ups...
We pass our 6i has 11 GR 1 material. After the migration of our very poor server performance. So now, we want to use clusters. After a google search, I have not found any better way to do. We create two independent with machine
Server Admin
Forms
Reports
Lets assume that the machine name is SACHIN1 and SACHIN2.
Now, how to create the cluster on SACHIN1?
Please help me.
Thank you
Sachin
Hi salah
I understand, he has several steps. The steps apply only to the WebLogic Server.
To ensure high availability with a top layer products it is WDM. I did research more far and I found that there is a WDM for forms and reports.
I found WDM for forms and reports 11.1.1.2:
http://www.Oracle.com/technetwork/database/features/availability/MAA-EDG-frd-129690.PDF
Is there a reason on why migration is 11 GR 1 matter? first support for 11 GR 1 matter ended in June 2014
http://www.Oracle.com/us/support/library/LSP-middleware-chart-069287.PDF
We could get help on the following forums:
Best regards
Luz
Maybe you are looking for
-
iPhone not recognized in some applications when connected
My iphone does not display when connected to my iMac in the Capture of images, Photos or Imovie. It appears when it is connected to iTunes. Is there a setting that is the cause?
-
Photosmart c3150 check ink cartridge blink after replacing the cartridge
Almost every time I have to replace a cartridge check ink cartridge blinking and I can not find anything wrong.
-
Why set my clock back an hour, which I think happens after the automatic updates?
-
Rhapsody WMP + microSD use
Beginner with several questions: I use Rhapsody-to-Go to synchronize my 4GB fuse and added a 4 GB microSD card. Can I use an adapter to plug the microSD directly to a computer and add songs to help drag / move, or it will mess up the timing of Rhapso
-
Photosmart Pro B8850 questions - Windows 7 Home Premium 64-bit
Photosmart Pro B8850 - worked fine with Vista 64-bit! With Windows 7 Home Premium 64-Bit, prints get hung in the print queue. Diagnosis HP suggests bad USB connection or level ink cartiridges low - neither of which are correct or appropriate. The 'l