Database Model
Hi
How can I create Database Model using BPA ?. Each event function I chosen may be a table and need to create a columns and types for this.
Much appreciate your advice.
Srini
Hello Srini,
BPA Suite offers many different models to design database models. The most common ones are:
- ERM
- IE Data Model
- Relations Diagram
- Table Diagram
Due to the fact that the BPA Suite is based on ARIS (and that the original intention of ARIS was not to be a database design tool) you have no functionality to generate Oracle database schemas directly out of ARIS.
We use ARIS (and in the future the BPA Suite) in the following way:
- design the business processes (from a pure business perspective – non IT relatetd)
- derive the IT processes from the business processes together with the IT related business objects
- refine the business objects modelled within the diagram type “Technical Terms” till you have identified IT related objects
- specify these IT related objects using an ERM diagram (or if we work in the JAVA world an UML Class Diagram)
- export these diagrams for finalization to a CASE tool (like Oracle Designer or some other I’m not going to mention on an Oracle site ;-) )
I know that there is a problem with life cycle management of these diagrams when you change them in the design tool, but from our experience this is (for the time being) the efficient way to do it
Dirk
Similar Messages
-
Sql server service will not start after server reboot:
2009-08-13 14:15:43.94 spid7s SQL Trace ID 1 was started by login "sa".
2009-08-13 14:15:43.97 spid7s Starting up database 'mssqlsystemresource'.
2009-08-13 14:15:43.97 spid7s The resource database build version is 10.00.1600. This is an informational message only. No user action is required.
2009-08-13 14:15:44.30 Server A self-generated certificate was successfully loaded for encryption.
2009-08-13 14:15:44.30 spid7s Server name is 'WIN-37R9WFWAJIB\MSDB1'. This is an informational message only. No user action is required.
2009-08-13 14:15:44.32 spid10s Starting up database 'model'.
2009-08-13 14:15:44.32 Server Server is listening on [ 'any' <ipv6> 49167].
2009-08-13 14:15:44.33 Server Server is listening on [ 'any' <ipv4> 49167].
2009-08-13 14:15:44.33 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSDB1 ].
2009-08-13 14:15:44.33 Server Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ].
2009-08-13 14:15:44.35 spid10s The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
2009-08-13 14:15:44.38 Server Server is listening on [ ::1 <ipv6> 49168].
2009-08-13 14:15:44.38 Server Server is listening on [ 127.0.0.1 <ipv4> 49168].
2009-08-13 14:15:44.38 Server Dedicated admin connection support was established for listening locally on port 49168.
2009-08-13 14:15:44.39 spid10s Error: 927, Severity: 14, State: 2.
2009-08-13 14:15:44.39 spid10s Database 'model' cannot be opened. It is in the middle of a restore.
2009-08-13 14:15:44.49 spid10s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized.
2009-08-13 14:15:44.50 spid10s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informa
there is plenty of room on the server, so i dont think its a disk space issue. i am able to start the service as such:
C:\Users\Administrator>net start MSSQL$MSDB1 /c /m /T3608
The SQL Server (MSDB1) service is starting.
The SQL Server (MSDB1) service was started successfully
sqlcmd -e
1> select name, status from sysdatabases;
2> go
select name, status from sysdatabases;
name
status
master
65544
tempdb
65544
model
65568
msdb
1073807368
SS_DBA_Dashboard
1073807368
(5 rows affected)
model is in RESTORING state and I dont know how to fix it. I am running simple backups, so I have a somewhat recent backup of model.bak but when I attempt to restore it I get an error:
1> restore database model
2> go
restore database model
Msg 3112, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 1
Cannot restore any database other than master when the server is in single user
mode.
Msg 3013, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 1
RESTORE DATABASE is terminating abnormally.
other forums suggest manually updating the status column but i dont know if my syntax is wrong or it just cant be done in sql server 2008:
1> begin transaction
2> update sysdatabases set status=16 where name='model'
3> ;
4> go
begin transaction
update sysdatabases set status=16 where name='model'
Msg 4406, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 2
Update or insert of view or function 'sysdatabases' failed because it contains a
derived or constant field.
1>
yet another forum suggested taking a cleanly shut down model.mdf and model.ldf from another sql server 2008 instance and placing those in the data directory while moving the 'restoring' ones to a backup location. this didnt work either. any help is appreciated im new to sql server and this is very frustrating! thanks in advance!I have the same issue on SQL Server 2008R2, after a server reboot, but none of the NET START commands or command line attempts are successful to start the Service.
NET START command results in "Access Denied" "System Error 5" and the Command line attempts result in
Server Error: 17058, Severity: 16, State: 1.
Server initerrlog: Could not open error log file ''.
Any help?
SQL Error log file:
2011-03-29 16:50:49.40 Server (c) Microsoft Corporation.
2011-03-29 16:50:49.40 Server All rights reserved.
2011-03-29 16:50:49.40 Server Server process ID is 7292.
2011-03-29 16:50:49.40 Server System Manufacturer: 'Dell Inc.', System Model: 'PowerEdge T710'.
2011-03-29 16:50:49.40 Server Authentication mode is MIXED.
2011-03-29 16:50:49.40 Server Logging SQL Server messages in file 'E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2011-03-29 16:50:49.40 Server This instance of SQL Server last reported using a process ID of 7448 at 3/29/2011 4:30:06 PM (local) 3/29/2011 8:30:06 PM (UTC). This is an informational message only; no user action is required.
2011-03-29 16:50:49.40 Server Registry startup parameters:
-d E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf
-e E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG
-l E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
-T 4616
2011-03-29 16:50:49.42 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-03-29 16:50:49.42 Server Detected 24 CPUs. This is an informational message; no user action is required.
2011-03-29 16:50:49.84 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2011-03-29 16:50:49.84 Server Lock partitioning is enabled. This is an informational message only. No user action is required.
2011-03-29 16:50:49.86 Server Node configuration: node 0: CPU mask: 0x0000000000fff000:0 Active CPU mask: 0x0000000000fff000:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2011-03-29 16:50:49.86 Server Node configuration: node 1: CPU mask: 0x0000000000000fff:0 Active CPU mask: 0x0000000000000fff:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2011-03-29 16:50:49.89 spid9s Starting up database 'master'.
2011-03-29 16:50:49.95 spid9s CHECKDB for database 'master' finished without errors on 2011-03-18 08:46:34.257 (local time). This is an informational message only; no user action is required.
2011-03-29 16:50:49.95 spid9s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2011-03-29 16:50:49.97 spid9s SQL Trace ID 1 was started by login "sa".
2011-03-29 16:50:49.97 spid9s Starting up database 'mssqlsystemresource'.
2011-03-29 16:50:49.99 spid9s The resource database build version is 10.50.1600. This is an informational message only. No user action is required.
2011-03-29 16:50:50.20 spid13s Starting up database 'model'.
2011-03-29 16:50:50.20 spid9s Server name is 'XXXX'. This is an informational message only. No user action is required.
2011-03-29 16:50:50.21 Server The certificate [Cert Hash(sha1) "C41DC20703F049763778AC2842C3C8A3A2C6EED4"] was successfully loaded for encryption.
2011-03-29 16:50:50.21 Server Server is listening on [ 'any' <ipv6> 1433].
2011-03-29 16:50:50.21 Server Server is listening on [ 'any' <ipv4> 1433].
2011-03-29 16:50:50.21 Server Server local connection provider is ready to accept connection on [
\\.\pipe\SQLLocal\MSSQLSERVER ].
2011-03-29 16:50:50.21 Server Server named pipe provider is ready to accept connection on [
\\.\pipe\sql\query ].
2011-03-29 16:50:50.21 Server Server is listening on [ ::1 <ipv6> 1434].
2011-03-29 16:50:50.21 spid13s The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
2011-03-29 16:50:50.21 Server Server is listening on [ 127.0.0.1 <ipv4> 1434].
2011-03-29 16:50:50.21 spid13s Error: 927, Severity: 14, State: 2.
2011-03-29 16:50:50.21 spid13s Database 'model' cannot be opened. It is in the middle of a restore.
2011-03-29 16:50:50.21 Server Dedicated admin connection support was established for listening locally on port 1434.
2011-03-29 16:50:50.22 spid13s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in
the event log that may indicate why the tempdb files could not be initialized.
2011-03-29 16:50:50.22 spid13s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. -
Insert XML file into Relational database model without using XMLTYPE tables
Dear all,
How can I store a known complex XML file into an existing relational database WITHOUT using xmltypes in the database ?
I read the article on DBMS_XMLSTORE. DBMS_XMLSTORE indeed partially bridges the gap between XML and RDBMS to a certain extent, namely for simply structured XML (canonical structure) and simple tables.
However, when the XML structure will become arbitrary and rapidly evolving, surely there must be a way to map XML to a relational model more flexibly.
We work in a java/Oracle10 environment that receives very large XML documents from an independent data management source. These files comply with an XML schema. That is all we know. Still, all these data must be inserted/updated daily in an existing relational model. Quite an assignment isn't it ?
The database does and will not contain XMLTYPES, only plain RDBMS tables.
Are you aware of a framework/product or tool to do what DBMS_XMLSTORE does but with any format of XML file ? If not, I am doomed.
Constraints : Input via XML files defined by third party
Storage : relational database model with hundreds of tables and thousands of existing queries that can not be touched. The model must not be altered.
Target : get this XML into the database on a daily basis via an automated process.
Cheers.
Luc.Luc,
your Doomed !
If you would try something like DBMS_XMLSTORE, you probably would be into serious performance problems in your case, very fast, and it would be very difficult to manage.
If you would use a little bit of XMLType stuff, you would be able to shred the data into the relational model very fast and controlable. Take it from me, I am one of those old geezers like Mr. Tom Kyte way beyond 40 years (still joking). No seriously. I started out as a classical PL/SQL, Forms Guy that switched after two years to become a "DBA 1.0" and Mr Codd and Mr Date were for years my biggest hero's. I have the utmost respect for Mr. Tom Kyte for all his efforts for bringing the concepts manual into the development world. Just to name some off the names that influenced me. But you will have to work with UNSTRUCTURED data (as Mr Date would call it). 80% of the data out there exists off it. Stuff like XMLTABLE and XML VIEWs bridge the gap between that unstructured world and the relational world. It is very doable to drag and drop an XML file into the XMLDB database into a XMLtype table and or for instance via FTP. From that point on it is in the database. From there you could move into relational tables via XMLTABLE methods or XML Views.
You could see the described method as a filtering option so XML can be transformed into relational data. If you don't want any XML in your current database, then create an small Oracle database with XML DB installed (if doable 11.1.0.7 regarding the best performance --> all the new fast optimizer stuff etc). Use that database as a staging area that does all the XML shredding for you into relational components and ship the end result via database links and or materialized views or other probably known methodes into your relational database that isn't allowed to have XMLType.
This way you would keep your realtional Oracle database clean and have the Oracle XML DB staging database do all the filtering and shredding into relational components.
Throwing the XML DB option out off the window beforehand would be like replacing your Mercedes with a bicycle. With both you will be able to travel the distance from Paris to Rome, but it will take you a hell of lot longer.
:-) -
hi all,
I wonder if there is a forum dedicated to database modeling (I don´t mean a forum about sql syntax but a forum that discusses about how to model relationships between entities and all that stuff)
I know this forum has nothing to do with database modeling, so my intent is not to post any question about db modeling but just to find out if there is a forum dedicated to it anywhere on the web.
If everybody in this forum is researching about JDBC then some of you may know about such forum over the web.
Any hints will be welcome!
tnx!
Edited by: charllescuba1008 on Mar 15, 2010 1:03 PMjschell,
the url you provided talks about OO modeling and this kind of modeling is related to DB modeling. It is a helpful forum.
I am also considering visiting mysql and other database vendors websites to find out more specialized forums but only after i have a look at the forum you suggested!
thanks for your reply! -
How associating an XMLSchema to an XMLType Field with the database model ?
How can I precise the XMLSchema to an XMLType Field with the database model ?
I know how to do it in a SQL Syntax :
CREATE TABLE xwarehouses (
warehouse_id NUMBER,
warehouse_spec XMLTYPE)
XMLTYPE warehouse_spec STORE AS OBJECT RELATIONAL
XMLSCHEMA "http://www.oracle.com/xwarehouses.xsd"
ELEMENT "Warehouse";
, but we have decided to generate the script with the Jdeveloper database modeler tools, and we don't how to precise this with using this tools ?
Anyone could help me ?I'm not sure that it answers your question but under the tools menu there is an option called register schema with XDB.
-
Help with relational database model
Hi everyone,
How will a database model look like if you have one program that writes to the database and one program that reads from it. The database tables consist of customer orders.
Regards
ArdalanDatabase model itself is unchanged, as far as I can see. The tables don't know how they're being used.
If you're saying that you have two apps, one that does mostly reads and another that does reads AND writes, then it's a more interesting question.
If you have a table that's mostly READs, you might want to create indexes that speed up queries.
But indexes can slow down WRITEs, because every time you add a new record the index has to be modified, too. More work for the RDBMS.
So maybe you're asking whether or not you should create a bunch of indexes for a table? Or have two tables, one for reading and another for read/write, with some kind of procedure that might update the read table from the write values on a regular schedule but off-line, like synchronizing a data cube?
Hard to tell from your OP, but it could be an interesting question. - MOD -
Why won't my database model open?
Suddenly (i've been working on it a few weeks now) my database model refuses to open in JDeveloper. No error messages or anything. Dragging the model is ignored as is right clicking and choosing Open....
Any ideas?
RakeshHi,
Is it possible that you could send me your project so that I can investigate? If so my email address is [email protected] Can you rename the .zip file to .zap so that it gets through the mail system.
Also can you confirm which version of JDeveloper you are using?
Was the diagram created in this release or migrated from a previous release?
What was the last sort of thing you were doing before you were unable to reopen the diagram?
Regards,
Lisa Sherriff
JDev QA -
Hi All,
I want to create an application that stores data in three database tables. I want to create the database tables using the java dictionary. Now i'm looking for a way to define the relations between the tables to setup my database model, but using the Netweaver developer studio I cannot find any possibility to define relations there and I couldnot find any information in the sap help.
We have oracle, so we could define the relations in the database using oracle tools, but then I don't have a platform/database independend solution.
Does any have experience on this area and/or recommendation?
Regards,
RyanThanks for the reply, actdi.
Initially, I had thought of learning ODI using 11g version. However, I have setup OBIA with ODI, which is using 10g. Actually my aim is to understand OBIA with ODI as well as learn ODI. Can I still install the 11g version you have recommended without de-installing 10g? If not, would the migration be easy? I am not going to run the ETL ( .... E-LT) processes, anyway, as I only intend to have a look at the OBIA Models and Projects.
Appreciate if you could please let me know.
Thanks,
Manoj. -
Hello,
i am searching for a document
which gives an overview of the
database model (standard tables with cardinality)
in SAP R/3.
I am new in developing
and consulting and such an overview
would ease lots of tasks.
thx for helping.
regards,
MarkusHi Markus,
Have a look at the Transaction code SD11 which will give the Application wise Data Models on which SAP was built.
Hope this helps.
Thanks
Lakshman. -
Oracles database has been since time memorial been based on the Relational data base model. We even have a way of converting object models into Relational model. Why do we stick to this model only? Other models; especially the Object oriented Database model is gaining popularity and the logical step as almost all computer s/w moves towards the Object oriented approach. Why has there been no move to migrate to such a model?
what are the advantages/disadvantages of relational model to Object oriented model and some issues related to migrating to such a model?There are a number of Object Oriented databases out there, with Gemstone perhaps the best known. Also, Oracle, and other RDBMS vendors are adding more object oriented features all the time.
However, there are some downsides to OO databases. One of the biggest is that it is often really difficult to query the data directly. All interaction with the database needs some sort of mapping layer to instantiate the objects and get their attributes. It is also difficult, and sometimes impossible, to generate ad hoc queries that try to look at the data in a way that does not match the object model, something that is relatively easy in a well designed relational model.
Finally, object oriented databases represent a more or less one to one mapping to a currently popular programming paradigm. What happens to the data when the next great programming paradigm (foo perspective) comes along? Will the foo prgrammer be able to easily read the objects in the OO database? Probably not. Will the foo programmer be able to easily read the relational data? Almost certainly.
John -
Database modeling and -concepts
Hello,
I'm still quite new to Oracle Databases.
At the moment I'm looking into the topics round "database modeling", "database concepts", e.g. rules to design the tables and relationships and so on.
Maybe someone can help me where I can find some whitepapers, documentations on Oracle sites which show me the best or basic ways how to define tables and relationships between database objects in an Oracle Database?
For example, i heard it would be a good way to put all "not null" columns of a table to the beginning when defining it with "CREATE TABLE"-statement.
Does anyone know where i can find helpful whitepapers or documentations on these topics in the ORacle Technology Network or somewhere else?
Thanks a lot for your help in advance!
RgdsFirst of all you need to distinguish between data modelling and implementation. Because many tools only deal with the physical side of database design (tables, columns, indexes) it is quite common for beginners to miss this distinction.
Data modelling (entities, attributes and relationships) is not a product specific topic and you might be best off looking at generic sites. William Kent wrote a simple introduction to the five Normal Forms. Then check out DataModel.org. Alf Pedersen has some good papers on an assortment of database design issues. If you want a head start on modelling, Barry Willaims has[b]published more sample designs than you could shake a stick at (they are for MSSQL but still quite helpful).
Cheers, APC -
Common database modelling practice
one can easily see in DB developer/programmer job advertisements such requirement as database modelling experience/skills - what does it mean? What tools should I know (thirdparty or Oracle?)? I have heard about UML profile for DB modelling - how far it is accepted in daily practice? Besides - should I know some numerical methods (e.g. - try to compute quantities as expected transaction amount and relevant impact of indices etc. on performance... - how far should I be ready to go - as I can guess - the great math can be emplyed here - however - it seems not to be common in daily practice?)?
DB Modeling at its core implies knowledge of table design/normalization best practices. Basically, can you take user requirements of a system and turn that into a properly normalized database diagram. Do some research on Database Normalization and creating Entity Relationship diagrams (ERDs)
-
Private Virtual Database - Database model design
I'm planing to design a new database model for a system that will integrate private virtual database. We will use private virtual database to use the same data structure for different users or systems.
The systems are defined in a table.
My question is what is the best way to maintain a good level of security but avoid too much overhead.
1) We designed our model by adding an attribute and a foreign key in all our tables referring to the system that own the row.
2) We decided later to limit the filter in main entity to avoid adding a filter in all our tables.
But doing so let the child tables visible then accessed without a join to the main entity.
Any recommendations/ideas for the best design in this context ?What was the objection to creating a filter on every table?
The work and overhead by generalizing the filter into all tables.
That would be the normal approach.
I agree with you. Just need a confirmation it is the best and only true way.
Another way would be to create view with inner join only in a separate schema or with permissions only in the views but i think it more overhead than defining the attribute in all tables. Its a much simpler approach.
Thank you -
Create repository from database model- snowflake facts and dimension joins
I am working on a project that has a database model similar to the image in the link below.
There are other few tables around it, but this generally represent the spine or major database model. This is not exactly a snowflake schema as there are no intrinsic hierarchy in the dimension tables. As you can see dim2 and dim4 has one to many relationship with dim3. there are joins between the fact tables as well.
From some blogs and forum threads, I found out that I can create one fact/dimension table by joining many fact/dimension tables. Is this a right approach? Any thoughts on this model please?
Thanks,
Rakesh
ps: I am using Windows XP Pro and OBIEE 10.1.4.3.1 and right now analyzing the data to create a repository.Hi Rakesh,
As above post says you combine all fact tables into single fact table with other dimension tables so it would become a simple start schema .Go throught these blogs for further information .
http://forums.oracle.com/forums/thread.jspa?threadID=2124061&tstart=0
http://www.obinotes.com/2010/08/joins-within-logical-table-sources-in.html#comment-form
Hope it helps you.Seems your new to forum you sud follow these rules http://forums.oracle.com/forums/ann.jspa?annID=939
By,
KK -
Spatial database model design guidelines?
Are there public guidelines on how to design a Spatial Database
Model?
i.e.
- is it better to have one table of geometries (elements) or is
it better to have many?
- is it better to store structured data (alphanumeric) in the
same table with spatial data or is it better to reference them
with foreign keys?
- etc
I guess all I need is some kind of methodology for building a
spatial model. Is there anything like this available?
RegardsHi Pablo,
From a database design perspective, spatial data should be
modeled in the same way other data is modeled. For instance, if
you have river data that has 1 row in a database for every river,
then you might add another column in the same table stored with
the other information about the river that includes the location
information about the river. The same would be true of other
information. For instance, if you wanted to store the location
of all of the customers in your customers table, it is simple
another column in the customers table.
<< - is it better to have one table of geometries (elements) or
is it better to have many? >>
So geometries are just column information like other column
information that you store in a table. There shouldn't be
separate tables that hold only geometry information.
<< - is it better to store structured data (alphanumeric) in the
same table with spatial data or is it better to reference them
with foreign keys? >>
Treat spatial data the same way from a design standpoint as other
data.
Hope this helps.
Dan
Maybe you are looking for
-
Safari 7.0.3 crashes when trying to open
I have been using Safari successfully with Marvericks. This morning it crashed every time I attempted to open SAfari. The crash log is here: Process: Safari [1460] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple
-
Trying to install OS X 10.3 on Lombard
I have been trying to install 10.3 on my lombard for two years and it freezes during install, I am tired of going to the apple store to enjoy os x. I can not afford to upgrade laptop live on minimal fixed income. I have 256 mb of ram in my laptop. So
-
No SID found for value '0CURR' of characteristic 0CURRENCY
Hello dear friends I am getting this above error message 'No SID found for value '0CURR' of characteristic 0CURRENCY' when i am trying to load data in my cube from an ODS. For the Keyfigure that is using the currency i had to write the following rou
-
Capture Latest file in a directory
Dear All, I have a requirement that pulls data from flat file to sql Server table. In Source folder I have multiple number of files, sample file names are mentioned here File Names in Folder: Sales_122513,Sales_122613,sales_122713 Among
-
Hi yal had my Z10 for about 3 months now And have to say nice piece kit works well feels good Not for the negative side Up until recently All my videos would seamlessly upload to YouTube /FaceBook with no problems but just recently (3wks) all I seem