Data Modeler: is it possible to compare physical models?

Hello,
We're looking for a new Data Modeling tool, as we will abandon Designer (for many different reasons...). The SQL Developer Data Modeling-tool looks very promising. Especially the "compare models" -tool looks interesting to create change-scripts for new implementations. What I don't find, however, is the possibility to generate typical physical attritutes, like permissions (resulting in grant-statements), tablespaces. Is this available? Is it possible at all? For your information: I've just downloaded the EAR 2 (version 1.5.1 build 525)
Thanks in advance for your reply,
Peter

Peter,
I would like to echo your feature request. I too spent many years with Designer and until SDDM came along, I was still using it for server model diagrams mostly. We always wanted to make sure that we have a record (model) of what was in a schema. We deploy to MANY environments - several for development, various phases of testing etc. and of course production and clones of production. It's really nice to run a utility of some sort that compares my model to an implementation. I might compare the same model to half a dozen environments. It helps me quickly pinpoint differences that aren't expected.
I also like to ability to compare models with each other. We're all looking forward to the future of data modeling with SDDM!
In some ways, SDDM is already ahead in the features department. I can version models in Subversion with the XML files. That’s HUGE!
Maggie Tompkins, USMC

Similar Messages

  • Comparing two Date values in ActionScript - possible to compare whole day values?

    I need to be able to compare the number of whole days between two dates in ActionScript, is this possible?
    I'd like to test if one date is 7 days or less after today, and if so is it one day or less (if it's before today this also counts).
    The workaround I have in place is using the .time part of the date field:
    // Get the diffence between the current date and the due date
    var dateDiff:Date = new Date();
    dateDiff.setTime (dueDate.time - currentDate.time);
    if (dateDiff.time < ( 1 * 24 * 60 * 60 * 1000 ))
    return "Date is within 1 day");
    else if (dateDiff.time < ( 7 * 24 * 60 * 60 * 1000 ))
    return "Date is within 7 days");
    As I say - this is only a workaround, I'd like a permanent solution to allow me to check the number of whole days between 2 dates. Is this possible?
    Thanks

    I think this is the solution
    var daysDifference:Number = Math.floor((dueDate.time-currentDate.time)/(1000*60*60*24));
    if (daysDifference < 2)
    return new ClassFactory(DataGridRedRenderer);
    else if (daysDifference < 8)
    return new ClassFactory(DataGridOrangeRenderer);
    else
    return new ClassFactory(DefaultGridItemRenderer);

  • Oracle Data Modeler Versión 4.1.0.866 -- issue compare model Vs BBDD ( index PK, UK)

    Hello,
    I have a Data Modeler Relational and physical, the data model has three. The three tables are in a BBDD. The primary key generate is usssing index , and when I generated the DDL only show alter table add constraint .... . until here everything OK.
    if I compare the bbdd with Data Modeler , I get differences in indices that generated oracle when I create the primary key.
    ¿Is a bug or is there some way to fix it by configuration options? 
    Thanks

    Hello,
    So you have a Relational Model containing 3 Tables.  I assume the Physical Model is for an Oracle database.
    The primary key generate is usssing index , and when I generated the DDL only show alter table add constraint .... . until here everything OK.
    I assume you are doing a DDL generation of your model (using the Generate DDL button above the diagram or using Export > DDL File from the File menu).
    In the DDL Generation Options phase of the DDL generation, can you go to the Tables tab and check that the "Selected" check box for the relevant Tables is selected.
    (This should normally be selected, but if you deselected it in a previous DDL generation, it will remember that setting.)
    The "PK and UK Constraints" and "Indexes" tabs also allow you to control whether the constraints and Indexes are included in the generated DDL.
    if I compare the bbdd with Data Modeler , I get differences in indices that generated oracle when I create the primary key.
    ¿Is a bug or is there some way to fix it by configuration options?
    I assume here that you have input your generated DDL to your database and you are then doing a File > Import > Data Dictionary to compare your database definitions with your initial model.
    It is likely that there will be some differences shown, due to defaults used by the database when the DDL is input (e.g storage properties for your indexes and tables).
    I suggest you examine the differences (which will be highlighted in red on the Details, Storage Details or Physical Details tabs) for each object in the Compare Models dialog, and provided they are acceptable, select the Merge button to merge them into your model.
    If you do not want some of the property differences to be merged, you should unset the "Selected" check box for that property before merging.
    Note that it is possible to exclude specific properties from the comparison by selecting the Options tab in the Compare Models dialog, and then selecting the Properties Filter, Physical Properties Filter or Storage Properties Filter tab as appropriate.
    I hope this helps.
    David

  • Oracle SQL Data Modeler -COMPARE/MERGE

    Hi all,
    I am trying to compare/merge or just trying to merge a relation model with another in Oracle SQL Developer DATA MODELER.
    Scenario:
    I have tried to import from data dictionary the hr schema into 3 parts.
    Table employee is alone imported in one design model's relational model(say DataModelerDesign1- DMD1).
    Table Departments,Locations and Countries in another design model's relational model(say DMD2).
    Table Job_history,Jobs and Regions in another design model's relational model(say DMD3).
    Now, I tried to merge all this into one design model's relational model, here into DMD3.
    Requirement:
    I want all of this relational model's tables to get merged with exact mappings as if it is in HR schema all connected to each other. But they are all getting merged as separate entities not conencted to each other when taken from Compare/merge option. How should i do this task?
    Issues:
    1) I can never see anything in the compare model when i try to click on view compare mapping. Can anytime we see any data here?
    2) In realtime scenario, when will we try to merge a table into another or split it. Because some foriegn key violations are happening here. Is it ever possible to succeed our requirement while merging itself instead of creating relationships between entities manually in main relationship model DMD3 in example here.

    I have found on occasions the diagram pdf would be missing a few relationship lines. Usually it happens after I have been doing a lot of work in the tool or printing a bunch of diagrams. Seems to be a memory leak of some sort. If I close Data Modeler, re-open it, then print to PDF, the diagram is fine.

  • Data modeler, physical model related view

    Hi community,
    is there a way to create a physical model related view in the data modeler or a better idea?
    The reason is simple, let me say, I have a view with string concatenation and want use this view in oracle and sql server, the syntax is different.
    In Oracle it is " column1 || ' ' || column2". The same thing in sql is "column1 + ' ' + column2"
    Regards, Henrik

    Hi Kent,
    thank you for the answer, but it is not really a solution for me to copy the complete relational model to a second one! It is unfavorable for later changes on the model.  You must do them all changes on both models.
    Currently I have one relational model together with four physical models, Oracle 10, Oracle 11, Oracle 12 and MS Sql. If I work with stored functions, procedures, packages, triggers and so one, it is possible to change the content of these objects in the physical model, depending of the sql language and the database version features.
    Only tables and views are not changeable and I’m not able to add a table or view to the physical model.
    Other suggestions?
    Regards, Henrik

  • Data Modeler : Comparing models

    Hi,
    A ct of mine is trying to compare data models, they have some questions:
    1) Is there am easy way to change the "from" and "to" models, I mean depending on the first file you open you set the "from" model. It could be good to change: compare model A agisnt B, and B against A.
    2) Another thing when you compare models if you have the "Tables" option selected and then expand the menu, all the tables are unmarked, is it the expected behaviour?
    3) Also is it possible to syn with a svn repository?
    Rgds
    L

    Hi Luis,
    what version of Data Modeler do you use?
    1) Is there am easy way to change the "from" and "to" models, I mean depending on the first file you open you set the "from" model. It could be good to change: compare model A agisnt B, and B against A.no, not for 3.0
    2) Another thing when you compare models if you have the "Tables" option selected and then expand the menu, all the tables are unmarked, is it the expected behaviour?they are unmarked if there are no differences - you can use check box in front of "Tables" to mark them all
    3) Also is it possible to syn with a svn repository?yes in 3.0 (including early adopters versions), you can look at demonstrations here http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
    Philip

  • Compare Physical model

    I am a new user here...
    I just created my first model in SQL Developer data modeler .... I have been happy so far....
    Question is: is there a way to compare physical model changes to Dataabase schema and generage DDL STMT?
    Scenario: I created a relational schema and physical model in data modeler and generaged DDL script which I ran in to new schema... and created a working environment... for the applcation.
    Now i made some Foreign key to initially defferred and saved data model. But when I compare this updated foreign key (physical model changes) changes to DB.... it doesn't show it being changed.
    I just want to know if I am missing anything here.
    Thank you in advance and please let me know if I need to provide any further information.
    Data modeler version: 3.1.1.703 ( just got new version to see if this one fixes my problem... but still not help)
    -R

    Thank you Philip for clarifying the functionality.
    Just wondering, is there a plan to support this functionality in near future?
    I am sure there are many users like me who created their data model using Data modeler and configured initial physical model properties..... and successfully created their database .... and also want to use this too to configure further chagnes in data model and have them merged with DB.....
    Thank you
    -Raj

  • OBIEE EXECUTE PHYSICAL sql as Data Model Query

    The following SQL was generated using OBIEE. I'd like to use it as the SQL query for my data model. It works fine it I hard code all of the values into the where clase. However when I attempt to pass parameter values (:ACCOUNTING_PERIOD & :FISCAL_YEAR) into the below SQL statement, I get an error and the report will not generate. The error is the typical "The report can't be rendered. Check with your administrator". Any ideas on how I can pass parameter values into this SQL?
    EXECUTE PHYSICAL CONNECTION POOL SDEVDW SELECT A.BUSINESS_UNIT,A.PROJECT_ID,A.PROJECT_STATUS,A.EFFDT FROM SPSDW.PS_PROJECT_STATUS A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM SPSDW.PS_PROJECT_STATUS B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PROJECT_ID = A.PROJECT_ID AND B.PROJECT_STATUS<>'C' AND B.EFFDT <= (SELECT PPERIOD_END_DT FROM SPSDW.PS_D_DET_PERIOD WHERE PPERIOD_CD = 6 AND PYEAR_NUM = 2008 AND DT_PATTERN_CD = '01' AND SRC_SYS_ID = 'FSCM')
    ) ORDER BY 1,2,3

    I turned on debug and bounded OC4J. After I ran the report, I did not see any link.
    The error that returns is:
    "The report cannot be rendered because of an error, please contact the administrator."
    Where will the link be located. Is there are log file that I can review. We are using BI Publisher enterprise (10.1.3.3.0).

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

  • Data Modeler bug? - it keeps reporting missing physical model files

    Hi,
    I'm having a rather serious problem with the latest data modeler, Oracle SQL Developer Data Modeler 3.1.4.710. It keeps losing physical model files for some reason.
    I started to notice that it was not generating all the tables in my small design. After hours of struggle I found multiple error messages in the log file:
    2012-12-18 10:51:20,126 [Thread-71] ERROR XMLTransformationManager - Unable to load object from XML: C:\cygwin\home\Brian\codebase\models\data\Design\rel\395D160B-C7224B8EAD05\phys\D9582E4E-2ED963CB9D32\View\seg_0\A555DB9B-8864-9C0B-DCA8-BAC5231F55C6.xml
    java.io.FileNotFoundException: C:\cygwin\home\Brian\codebase\models\data\Design\rel\395D160B-C7224B8EAD05\phys\D9582E4E-2ED963CB9D32\View\seg_0\A555DB9B-8864-9C0B-DCA8-BAC5231F55C6.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:138)
         at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openPhysicalModel(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openPhysicalModel(Unknown Source)
         at oracle.dbtools.crest.swingui.browser.BrowserPanel$88.run(Unknown Source)
    These messages appeared every time I opened my physical model (Oracle 10g).
    After deleting and recreating the physical model the problem went away for a while. But after closing and reopening the design I started to see the errors again.
    Has anyone seen something similar?
    Regards,
    Brian

    Thanks Philip!
    The workaround does the trick for the tables, primary keys and unique keys.
    I have just observed that table level constraints show a slightly different behaviour.
    Names show up like TCC5, TCC6, etc.
    Seems the same problem as previously in SQL*Modeler forgets check constraint names
    Is there a workaround for that problem too ?
    I already noticed that there is no parameter NameChanged for a table constraint.
    Enrico

  • SQL Dev Data Modeller:  Auto-generate Surrogate PKs in the Physical Model ?

    How can I have the logical modeller allow the user to design with logical PKs, but then have surrogate primary keys be auto-generated off sequences by the modeller when it comes to create the physical model - as in conventional application design?
    Without this facility, this tool is useless, IMO.
    I want:
    i). sequences to become the physical PKs by default, and that what were the logical PKs in the logical model, to become a unique key in the physical model.
    ii). I want this set by default when generating the physical model....
    iii). ....with an option to turn this off on a entity-by-entity basis (as not all tables will necessarily require such a surrogate PK; so the logical PK may remain the physical PK).

    It is common practice that physical PKs in Oracle tables are defined from sequences (surrogate PKs), and that the logical PK from the entity becomes a unique key in the table.
    This may not always be the case in every application out there, and some people may disagree, but it is nonetheless a needed feature.
    My new Feature Request is therefore:
    I would like to see the following additions to the product.
    1. In the Preferences -> Data Modeler -> Model -> Logical, a flag that by default indicates whether the designer wishes to opt to enable this feature (ie; have all logical PKs converted to unique keys, and replaced by sequence nos. in the physical model). This flags needs to be there since in real life, albeit erroneously IMO, some people will choose not to opt to use this functionality.
    2. On every entity created in the model, there needs to be a flag that allows to override this default option, as not every table will require a surrogate PK to be generated. Being able to (re)set a flag located on the entity properties (perhaps under 'Engineer To'), will accomplish this.
    3. When Forward Engineering to the physical model from the logical, the following should happen.
    ENTITY  1 ---------->TABLE 1
    ---------------------> P * Surrogate PK
    * Attribute 1 -----> U * Column 1
    * Attribute 2 -----> U * Column 2
    o Attribute 3 ----------> Column 3
    Here you can see,
    - Attributes 1 & 2 (the logical PK) of the entity become a unique key in the table (columns 1 & 2),
    - optional Attribute 3 becomes NULLable column 3,
    - and a physical surrogate PK column is added (type unbounded INTEGER, PRIMARY KEY constraint added).
    From entity DEPT as:   (Examples based on SCOTT schema)
    DEPTNO NUMBER(2) NOT NULL <-- Logical primary key on entity
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    CREATE TABLE DEPT
    (PK_DEPT INTEGER, -- New column becomes surrogate physical PK, driven from sequence defined later
    DEPTNO NUMBER(2) NOT NULL, -- Former logical PK becomes a UK
    DNAME VARCHAR2(14),
    LOC VARCHAR2(13))
    ALTER TABLE DEPT
    ADD CONSTRAINT PK_DEPT PRIMARY KEY (PK_DEPT) USING INDEX PCTFREE 0
    ALTER TABLE DEPT
    ADD CONSTRAINT UKLPK_DEPTNO UNIQUE (DEPTNO) USING INDEX PCTFREE 0 -- Former logical PK becomes a UK (constraint name reflects this)
    CREATE SEQUENCE PK_DEPT_SEQ
    CREATE TRIGGER PK_DEPT_SEQ_TRG
    BEFORE INSERT ON DEPT
    FOR EACH ROW
    WHEN (new.PK_DEPT IS NULL)
    BEGIN
    SELECT PK_DEPT_SEQ.NEXTVAL
    INTO :new.PK_DEPT
    FROM DUAL;
    -- Or from 11g onwards, simply,
    :new.PK_DEPT := PK_DEPT_SEQ.NEXTVAL;
    END;
    From entity EMP as:
    EMPNO NUMBER(4) NOT NULL -- Logical primary key on entity
    ENAME VARCHAR2(10)
    JOB VARCHAR2(9)
    MGR NUMBER(4)
    HIREDATE DATE
    SAL NUMBER(7,2)
    COMM NUMBER(7,2)
    DEPTNO NUMBER(2)
    CREATE TABLE EMP
    (PK_EMP INTEGER, -- New column becomes surrogate physical PK, driven from sequence defined later
    FK_DEPT INTEGER, -- New FK to surrogate PK in DEPT table (maybe NOT NULL depending on relationship with parent)
    EMPNO NUMBER(4) NOT NULL, -- Former logical PK becomes a UK
    ENAME VARCHAR2(10),
    JOB VARCHAR2(9),
    MGR NUMBER(4),
    HIREDATE DATE,
    SAL NUMBER(7,2),
    COMM NUMBER(7,2),
    DEPTNO NUMBER(2))
    ALTER TABLE EMP
    ADD CONSTRAINT PK_EMP PRIMARY KEY (PK_EMP) USING INDEX PCTFREE 0
    ALTER TABLE EMP
    ADD CONSTRAINT FK_DEPT FOREIGN KEY (FK_DEPT) REFERENCES DEPT (PK_DEPT)
    ALTER TABLE EMP
    ADD CONSTRAINT UKLPK_EMPNO UNIQUE (EMPNO) USING INDEX PCTFREE 0 -- Former logical PK becomes a UK (constraint name reflects this)
    CREATE SEQUENCE PK_EMP_SEQ
    CREATE TRIGGER PK_EMP_SEQ_TRG
    BEFORE INSERT ON EMP
    FOR EACH ROW
    WHEN (new.PK_EMP IS NULL)
    BEGIN
    SELECT PK_EMP_SEQ.NEXTVAL
    INTO :new.PK_EMP
    FROM DUAL;
    -- Or from 11g onwards, simply,
    :new.PK_EMP := PK_EMP_SEQ.NEXTVAL;
    END;
    [NOTE:   I use PCTFREE 0 to define the index attributes for the primary & unique keys since the assumption is that they will in general not get updated, thereby allowing for the denser packing of entries in the indexes and the (albeit minor) advantages that go with it.
    This is certainly always true of a sequence-driven primary key (as it is by its very nature immutable), but if the unique key is likely to be frequently updated, then this PCTFREE option could be user-configurable on a per table basis (perhaps under Table Properties -> unique Constraints).
    For non-sequence-driven primary keys, this storage option could also appear under Table Properties -> Primary Key.
    I notice no storage options exist in general for objects, so you may like to consider adding this functionality overall].
    Associated Issues :
    - Preferences, 'Naming Standard: Templates' should be updated to allow for the unique key/constraint to be called something different, thus highlighting that it comes from the logical PK. I've used 'UKLPK' in this example.
    - Mark the physical PK as being generated from a sequence; perhaps a flag under Table Properties -> Primary Key.
    - When Forward Engineering, if an entity exists without a logical PK, the forward engineering process should halt with a fatal error.
    !!! MODERATOR PLEASE DELETE ME !!!

  • Physical data model

    We are trying to report our physical data model from Designer2000 meta data.
    Actually individual reports exists within Designer showing tables, attributes.
    However, we would like to have a single report, combining all tables with their text description, along with their attributes and their characteristics (nullable, type, length, domain...)
    Is anybody as always did that ???
    Thanks,
    Alain

    Hi,
    As you aware major part of GL is based on Chart of Account, Calander (GL Period) and Currency, you can check all tables related to these.
    You can use below query to get those tables :
    select from all_tables where table_name like 'GL%' and owner='GL'*
    and table_name not like 'GL_ALLOC%' and table_name not like 'GL_CONS%'
    Please do refer the doc suggested by the other expert in this thread..
    Regards,
    S.P DASH
    N.B : We believe you put a GL question in a wrong folder/Thread (Procurement) :).. you could have received a better response had it been in Finance folder.. :)

  • Is it possible to add support for new database type in Data Modeler?

    Hi,
    I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family,
    PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility to add XML files with metadata for a new RDBMS.
    I did it previously for PowerDesigner were it is possible to add and modify definitions for new relational databases.
    Thank you,
    Sergei

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • HR BW Data Model - Design & Delta Possibility

    Dear All,
    In our SAP BW HR Implementation - we have to do a full load everyday for PA, OM, TA, PY streams. and it is very time consuming.
    fyi - we are using generic extractors.
    Questions -
    1. We would like to know if it is possible to swtich to DELTA. If yes, how!
    2. Also any idea on the data modelling part - Like best practice for HR Data Modelling- (we are following LSA).
    Crux - is to get the data loaded in time frame from 6-8Hrs from 20+Hrs it is taking currently.
    Regards,
    Vinay

    Hi Vinay,
    Have u implemented Deltas to generic extractors ? if yes, can you please share your in puts.
    As of now we would like to go for delta, but here are the challenges:
    1) How to capture deletion records in ECC and update them to BI?
    2) if you are extracting multiple times in day then how would you populate the TIMESTAMP in ECC as none of the info types have TIMESTAMP field

  • Data modeling tool: physical model migration

    Hi,
    I have imported my relational model with a generated physical model for oracle 9i.
    I'd like to migrate my DB to oracle 10g, but I don't feel like creating a new physical model for Oracle 10g from the scratch and configuring it all.
    Is there any way to copy that oracle 9i physical model into an oracle 10g model? I know there could be any implementation change from 9i to 10g, but at least copy the main 99% (and warn about the 1% impossible to replicate in 10g).
    Could this feature be taken into the production version?
    By the way, is this a BUG? when I start the tool, my oracle 9i physical model is not shown in the tree, and I've to right-click over physical model, press open, and then select oracle 9i, to be shown in the tree. But I close the data modeling tool, and when I start again, there is no physical model shown in the tree :(
    thanks a lot in advance, I'm evaluating the tool.

    Thank you very much for your reply, and hearing those news makes me very happy, because I'm evaluating the product and I miss some functionality like that.
    By the way, where can I find the new functionality or the fixed one that is going to be on the production release? Or could yo send it to me by email or any other way? I'm very interested in it.

Maybe you are looking for

  • My iTunes randomly cuts off songs at the end. I've tried to create a new library and reimport my old library, but to no avail. Can anyone help? :)?

    Hi, I am using a MacBook Pro, and downloaded the new iTunes update. I have OS X Lion 10.7.4. It all of sudden is randomly cutting off some songs before the very end of the song. I've tried to read past posts and create new libraries and re-import the

  • How to set Print...More Options...Current View in ActiveX control?

    I am using Visual Studio 2012 to develop an application that will open large PDFs (24" x 36") and allow the user to zoom to a particular part of the document. I want to give them a Print button on my application to simply print the Current View of th

  • Apps not syncing correctly

    My iPad's home button stopped working, so I synched my iPad and brought it to the apple store, where they erased it and gave me a new one. When I brought it back and restored it as my iPad, it had updated to ios 6 even though I told it not to, and it

  • Production Planning Report

    Hi, My Requirement is This report should provide comparision of Standard V/s Actual Machine hours utilization for a particular resource or for all the resources utilized in a given period and its variance. If the variance percentage is more than 10%

  • Lightroom 2.6 does not see CS-4 in Windows 7

    This issue is new with my laptop system. I installed CS-4 (32 and 64 bit) and Lightroom (64 bit-it says). All was working fine during my initial tests with images but I don't use the laptop frequently. Now that I am away from home and trying to take