Cloning of physical models

We have an older project, where we did a Migration of Oracle 11 g 2 database to Version 12 c. The development is done by DataModeler 4.1.1.888. To make the migration even in our model, we have created a new physical model 12 c. In the new physics, we see that Matrialized views, Tables, the views are... automatically pre-build by Datamodeler. For all the other things like sequences, functions,..., we have achieved a "Clone of ' physical model 11g. After having done that, everything seems fine except materialized views. After cloning all Materialized View is doubled. The body of the new materialized view is empty.

-is the right way to migrate a model to a new version?

-is correct, that the clone function includes materialized views (because they are pre-build by creating the new model)?

11g.JPG12c neu.JPG12c nach Clone from.JPGMatViews nach Clone from.JPG

Concerning

Thomas

Hi Thomas,

Thanks for reporting this problem.  I connected a bug on this subject (21784067).

Until this problem is corrected, you should be able to get around this by removing all materialized views before doing the clone.  (You can select several all materialized views and then select Remove.)

David

Tags: Database

Similar Questions

  • Delete several partitions in the physical model

    Hi all

    I don't know if anyone has the same need for me, if this is maybe because I don't know how to do something which is already being implemented.

    Anyway, my question is:

    How can I remove multiple partitions (400) both from the same table in the physical model?

    I choose the partitions, but the popup does not work, I can press the button Delete in the toolbar, but don't participate in anything.

    I imported my data dictionary, a scheme with several tables that have lots of partitions and I'm not interested to save these partitions.

    When I try to generate the DDL generates all partitions and I don't want the DDL with thousands of scores on the inside.

    the number of tables with partitions is not so high but isn't comfortable to go one by one by selecting the partitions and deleting the object (400 times in one table),

    I can change the table to say that is not partitioned and all partitions will disappear but I so need to again change the table and include the fields for partitions and partition, not useful,

    Another option would be to select when importing, if I want to import only a single partition for each table

    but I do not know is at the end there just because I think only delete partitions with a single operation should be sufficient, at least for me

    Thanks in advance

    Hello

    I connected an improvement on that request.

    An approach that could help is to use the dialog box compare models to control which partitions are imported.  However, this feature is available in version 4.1 (EA1 and ai2).

    If you have something in your model before making your import (for example a fictitious Table), the dialog box compare models will be displayed after the import.

    In tree compare models, if you expand the node of a Table with partitions, it will appear a range Partitions, the node list Partitions or Partitions to hash.  If you uncheck this node, the subordinate entries for all the individual partitions will become selected, and they will not be included when you use the merge button.

    If you have many Partitioned Tables and you want to do this for all Partitions of your range (for example), you can move from tree to table in the dialog box view to compare, and then change the option SET to the range Partition Type (top-right) and then use the button to deselect all (upper-left) to deselect all Partitions of the range.

    David

  • Data Modeler, view associated physical model

    Hello community,

    is there a way to create a physical model associated with view in the Data Modeler or a better idea?

    The reason is simple, let me say, I have a view with the concatenation of strings and wants to use this view in oracle and sql server, the syntax is different.

    In Oracle, it is "" column1 | "" ' || Column2. The same in sql is "Column1 + ' ' + Column2.

    Best regards, Henrik

    Hi Henrik,

    You can change the view definition physical model so you can have correct DOF when the physical model is open and generation of DDL is for this model

    Note that changing the definition of property in the physical model works only if you change the definition to contain the full DDL statement.

    And you have to go CREATE VIEW view-name AS

    or CREATE or REPLACE VIEW view-name AS

    David

  • Type of object in the physical model

    Hello

    We try to get a complete reference level for the database for deployment, but lack us the 'Types' in the physical model.

    (1) Generate DDL is not creating scripts for "CREATE TYPE" instruction to create the specification of a object type.

    (2) timing of the model with the data dictionary lists recently added external tables

    Thanks in advance

    Zafar

    Hi zak,.

    (1) Generate DDL is not creating scripts for "CREATE TYPE" instruction to create the specification of object type.

    Statements to CREATE or REPLACE TYPE should be generated for structured Types and collection Types in your model.

    Are your structured Types and the Types of Collection selected on the tabs in the Options of the generation of DDL DDL generation phase?

    (2) timing of the model with the data dictionary lists recently added external tables

    Are they newly added in the database or newly added in your model?

    Note that synchronize the model with the data dictionary does not detect the new objects added to the database.  You will need to do a data dictionary import to import additional objects.

    Support of external Tables has been extended in version 4.0.2.840 of the Data Modeler.  They can now be created in the form of Tables in the relational model, and appropriate external table properties can be set in the properties of physical model for the Table.

    If they are created in this way, then synchronize the dictionary of data with the model should identify as newly added in the model.

    David

  • Cannot create the user in SQL Server 2008 physical model

    When I'm on the right, click relationship models-> Relational_1-> physical models-> SQL Server 2008-> database-> users, 'New' (which is the only option) is greyed out and I can not add users.  In versions 4.0 EA, I was able to create users.  This feature has been removed from SQL Server?  I work in a mixed shop and we chose SDDM because it could support Oracle and Microsoft. And I am now ready to migrate everything from Oracle Designer to SDDM and it seems that some of the featrures of SQL Server have been removed.

    Hi Marcus,

    any object login - tree of the physical model of SQL Server consists of:

    -Databases

    - Connections

    -Tables

    -Views

    - ...

    If you need to create a connection in the connections series and in its dialog box you will find related tab.

    Philippe

  • Physical model - spread table property 'Tablespace' doesn't seem to work in 4.0EA2

    I'm passing from v3.3.0.747 to 4.0EA2, but some problems.

    In the physical model when I try to be propagated to the table property 'Space' for the remaining tables a silent error happens and as a result the value is not propagated.

    The error appears in the log file:

    2013-09-24 16:31:31, 776 [AWT-EventQueue-0] WARN PropertyWrapper - oracle.dbtools.crest.model.design.storage.oracle.v11g.TableProxyOraclev11g.setTableSpace (oracle.dbtools.crest.model.design.storage.oracle.TableSpaceOracle)

    java.lang.NoSuchMethodException: oracle.dbtools.crest.model.design.storage.oracle.v11g.TableProxyOraclev11g.setTableSpace (oracle.dbtools.crest.model.design.storage.oracle.TableSpaceOracle)

    at java.lang.Class.getMethod(Class.java:1624)

    at oracle.dbtools.crest.util.propertymap.PropertyWrapper.setValue(PropertyWrapper.java:65)

    at oracle.dbtools.crest.swingui.editor.storage.PropertiesPropagationDialog.applyTo(PropertiesPropagationDialog.java:353)

    at oracle.dbtools.crest.swingui.editor.storage.PropertiesPropagationDialog.setProperties(PropertiesPropagationDialog.java:337)

    to oracle.dbtools.crest.swingui.editor.storage.PropertiesPropagationDialog.access$ 400 (PropertiesPropagationDialog.java:46)

    to oracle.dbtools.crest.swingui.editor.storage.PropertiesPropagationDialog$ 11.actionPerformed(PropertiesPropagationDialog.java:300)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2341)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)

    at java.awt.Component.processMouseEvent(Component.java:6505)

    ...



    However if I try to propagate the value tablespace for the index this works very well.


    Some ideas?

    Thank you.

    Hello

    This problem is fixed in version 4.0 EA3 data maker.

    Thank you

    David

  • Check the generation of constraint in a physical model in 3.1.1.

    My question: it is possible to define field checked by default use constraints (or another way to bring them to DDL) if the domain with the check constraint is defined for the column. I guess that's logical because if I bind a column to the field, and then use the field as default policy constraint. It is not a big problem if you have a bit, but in my case I'm re-modeling just to the level of physical model and I have dozens column in the tables based on a domain. So, I must first of all define the field as a column type, and then in another beat of screen use field constraints
    Thank you

    Hello

    It is possible to define constraints for field use is checked by default (or another way to bring them to DDL) if the domain with the check constraint is defined for the column.

    No, it is not possible that I logged for this bug.

    So, I must first of all define the field as a column type

    How do you define the field as data type? You have several columns using the same domain? In such cases, you can use domain dialog box (in the browser) and ' used to ' page to assign the field to multiple columns/attributes at the same time.
    You can use the script below to define constraints of field of use on columns of this area to use as data type

    Philippe

    var model;
    tables = model.getTableSet().toArray();
    for (var t = 0; t;     if(column.getUse() == 0 && column.getDomain()!=null){          if(!column.getUseDomainConstraints()){               column.setUseDomainConstraints(true);               table.setDirty(true);          }     }}}
    
    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
  • physical model disabled

    I am trying to create a Partition using sql developer/Modeler

    my physical model options or disabled (gray) when it is connected to live data, how I over come this

    Hello

    Yes, you need open the physical model properties dialog box for the Table (from the part of the physical model of the browser tree) and set the property partitioned (under the general tab).

    You will then be able to use the partitioning tab in this dialog box to set the type of partitioning and other properties of partitioning.

    In addition, after you close this dialog box, you can create instances of the Partition by selecting new from the context menu for the node of Partitions (subordinate to the node of the Table in the part of the physical model of the tree).

    David

  • Patterns of physical model Oracle users

    I created a model of relationship and sort tables among patterns. Now, I'm trying to create a physical model (Oracle 11 g). It works and the tables are created in, but there are only two users (PUBLIC & MDSYS) Oracle. All tables in the physical model were empty user (schema) field. This means that I must recreate the users (schemas) and sort tables in the physical model?
    I can't find an option that allows me to transform the patterns in the relationship model users in the physical model to save the links between the users and tables.
    This option (medium) exist?

    Kind regards
    userIV

    Hello

    For each of your drawings, you can create a user in the physical model and set its "Implements Schema" property to refer to the corresponding schema.

    That should be all you need to do. There is no need to update the Table definitions.

    Kind regards
    David

  • Import/Export physical model 3.0.0.665 Build 665

    I have several patterns (logical and physical models) database created in Data Modeler 1.0. I thought I could just import the .xml [database] recorded in the Data Modeler 3.0 file migrated all my data Data Modeler 1.0. However, this method imported everything except the physical model. I also tried to import the XML in the subdirectory pm, but that was an error ("could not generate design.")

    I tried explicitly export towards the design of data model, but I can only see the logical and relational models. There is no physical model in the list of objects to export.

    Is this a bug? Or is there another method to migrate all data from Data Modeler 1.0 to 3.0?

    Gail Binkley
    Stanford

    You can use version 3.0 to open version 1.x (file-> open). The tool will do a conversion/upgrade automatically in the drawing or model. Then you perform a save as to save the improved design. There is no need to do an export and import process.

  • Physical model - 'New' is grey on the creation of index

    Hello

    In the physical model:

    I have a table with 3 columns. It shows the existing index for the primary key of the table. I am trying to add an index to another column. When I right click on the index, the word 'New' is gray.

    Can someone explain why am I seeing this? Do not exclude user in my name error.

    Thank you
    Bob Larsen

    Hello

    In a physical model, you cannot change the properties of the table directly. You must create the index using the relational model

  • Data Modeler: the empty namespace at the opening of physical model

    Data Modeler 2.0.0 build 584

    I am experiencing strange behavior when opening a physical model recorded previously.
    For some tables, primary keys, and unique keys names are empty.
    Objects that exhibit this problem seem to be random, but which can be otherwise when I hit on a rational model that I have not yet found.
    Also, the generated DDL statements do not contain the name.

    Initial situation:
    Data Modeler is not running.
    A data model called MyTestModel including a relational model and a physical model.
    It contains the table named APP_TEST and several other tables.

    1. research in the APP_TEST XML to the model of relationship level I see the correct name APP_TEST.
    (The xml file is located in the MyTestModel\rel\ < RelationModelNumber > \table directory)
    If I look at the APP_TEST xml file I see the correct name (APP_TEST) for the table in the physical model.
    (The xml file is located in the MyDataModel\rel\ < RelationModelNumber > \phys\ < PhysicalModelId > \Table directory)
    2. then I launch Data model and open MyDataModel.
    There is no visible physical model for the model of relationship at this point.
    The table at the level of the relationship model shows the name APP_TEST. (Also when you open the properties for the table).
    I open the physical model for Oracle Database11g I saved at the previous session and open the node tables.
    The APP_TEST table has a name, while the other tables have their correct names.
    Do not open the properties for the table APP_TEST the Name property on the general tab is empty, even no space character.
    3. I fill APP_TEST for the Name property, click apply and then OK to exit the properties.
    The physical model is saved and closed. MyTestModel is saved and closed and I out Modeler data.
    4 search for xml files, I see the name APP_TEST is correct for the table at the relational level and the physical model.
    5. I start Data Modeler and reopen MyTestModel. The name of the table is empty again at the level of the physical model.

    More observations:
    -When you register a different name (IE APP_TEST_2) from the original at the level of the physical model, the name is preserved when the reopening of the model. Again change its name of origin APP_TEST and name is empty again at the reopening.
    -Fill in name, save, close, and reopen physical model MyTestModel without closing (and savings) shows the same behaviour. If the problem seems really are the physical model.
    -Do not fill in the name (leaving blank) but change a unique key for APP_TEST to the level of the physical model. After you save and close the xml file now also contains an empty name.
    -The same behavior is observed for the primary and unique keys. These keys can belong to a table with an empty name, but also to a table with the name.

    Empty names are very problematic because Data Modeler uses the names of the physical model to generate DDL statements.
    Someone at - it problems experienced like that or knows how to get around them?

    Thank you
    Enrico

    Hi Enrico,.

    Thanks for the detailed explanation. This behavior is observed when you open the design created with a previous version of the Data Modeler. Physical template names follow the names of relational model if you do not explicitly change them - then name of physical model is used. I hope that the next version will solve your problem.

    knows how to work around the

    the only solution is to change a property in the files, it should be:
                   

    in your case, it is true instead of false.

    Philippe

  • Cloning of ESXi, models and Windows SID

    Hi again,

    I read a lot of posts, blogs and the slightly contradictory articles regarding the use of models in ESXi and cloning. Some examples of those who are...

    http://drewsrambling.blogspot.com/2008/10/ESXi-copy-VM-poor-mans-template.html

    http://communities.VMware.com/message/1128111#1128111

    .. and in all this, the only thing that no one seems to talk (as his treatise by a VC in ESX) are Windows SID.

    Take the 2nd link for example, I have reproduced the process of using the browser of data store for each (as mentioned in the 2nd link) copy the new VM VMDK file with no discs and works in principle, as long as the virtual machine starts without a problem, or to remove the inventory, or make a complete copy of the file of the virtual machine , you clone lives in, in the DS browser and add it back in stock again (sorry, almost sentence makes no sense but I hope you get my meaning).

    However, in the back of my mind and the reason why I don't want to go much more even without checking permanently with 'experts' is that I have no idea and that he can't seem to find any mention of what happens on SID wise in these "poorman cloning" alternative ESXi...

    I read so much today, my poor brain hurts wee I was wondering if someone could help to shed light on that.

    I want to only create a few templates to save me having to wait an hour for different flavors of Windows Installer. Nothing complicated, I don't need all the features of SysPrep, I do not need auto connect to domain existing etc... simply a windows fully updated the base image that I can take occasional copies of for test purposes.

    Is it possible for the simple "user" who experimented with ESXi? Or I have to sell my mother and sister to pay for the VC to clone and obtain images with unique sid?

    For standard cloning w/o vCenter take a look at this script I wrote: http://communities.vmware.com/docs/DOC-9321 (you can find other scripts/resources on our site, in the signature down below)

    Here is a description quick of what are the related Clones: http://www.sysdigg.com/linked-clones-in-vmware-view-3 (this is a feature of VMware View 3)

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

  • Cloning and cloning to the model

    1. on the live server cloning what happens to the data that are written at the same time?

    2. is it safe clone all servers or not, SQL, Exchange for example?

    3. based on the responses to the numbers 1 and 2, all different Clone model?

    I have not live cloned a VM but I guess he's going out of the same technology that backups use which is to create a snapshot and it clone the virtual machine in the State when the snapshot occurs, all written data after the snapshot will stay on the virtual machine but won't go to the cloned virtual machine.   With regard to cloning all types of servers, I wouldn't like exchange or SQL.  There might be a use for it, but I don't see anything useful in cloning an exchange server.  The majority of our models and cloning is base installs operating systems and our citrix presentation servers when we need to get a new server.

    The model basically just cloning clones of the virtual machine, and then it converts it into a model so you can deploy them.

    • Kyle

  • Cloning of a model problem

    Need to create 1000 VMs based on one model and prefer not to do it manually.  I use the following script and it is a failure.  In addition, I need to specify the list of resources, which is not yet in my order.  Thank you.

    Script:

    $template = "acqpodad1temp".

    $NewVMName = "poc1.

    $datastore = "dsRTPVMware70000".

    $host = "rtpvhost73".

    $folder = "001.8.8.70HC.888 - ACQPOC".

    $rp = "001.70.888 - ACQPOC".

    Get-model "$template" | New-VM - VMHost "$host" - name "$NewVMName" - location (Get-folder "$folder") - data store (Get-data store "$datastore")

    Output:

    Impossible to replace host variable because it is read-only or constant.

    C:\VMware_Healthcheck\createvms2.ps1:11 tank: 6

    + $host & lt; & lt; & lt; & lt; = "rtpvhost73".

    Get-file: 2009-03-09 16:49:15 Get-file with the name "001.8.8.70HC.888 - ACQPOC" not raise

    searching by filter (s).

    C:\VMware_Healthcheck\createvms2.ps1:15 tank: 92

    + Get-model "$template" | New-VM - VMHost "$host" - name "$NewVMName" - location (Get-file & lt; & lt; & lt; & lt; '$f '.

    ore (Get-data store "$datastore")

    New-VM: cannot bind parameter 'rental '. Could not convert "" to "VMware.VimAutomation.Types.Folder".

    C:\VMware_Healthcheck\createvms2.ps1:15 tank: 79

    + Get-model "$template" | New-VM - VMHost "$host" - name "$NewVMName" - location & lt; & lt; & lt; & lt; (Get-file "$f

    ore (Get-data store "$datastore")

    Ouedraogo who is oke all.

    You can comment out or remove the following lines:

    #CREATE OBJECT CUSTOMIZATIONGUIRUNONCE

    $vmcSpec.Customization.Identity.guiRunOnce = new-Object VMware.Vim.CustomizationGuiRunOnce

    SPECIFICATION #GUIRUNONCE

    $vmcSpec.Customization.Identity.guiRunOnce.commandList = $PostInstall

    I have a previous post, I forgot to comment on the guirunonceobject

Maybe you are looking for

  • Open my Apps IPhone, but then 'close '.

    When I opened a few apps, they seem to open, but then I am struck out immediately back to the home screen.  The application, however, always seems to run in the background, but when I switch to the application, it stops again me and kicking back me t

  • Satellite A50-101, TV-OUT WITHOUT COLOR

    I have toshiba satellite A50-101 and I want to connect it with my new TV which has only scart. So I bought an adapter that converts the tv output to SCART. I see my computer on the TV screen, but there is no color. Please help, I want to watch DVDs c

  • low surrogate char

    I get this error message when you try to click on the url and other things "low tank of substitution without previous tank substitute extended to index: 9 Make sure the string is coded correctly. » I do not use fish clown or something like that and I

  • Satellite A110-159 restarts no CD

    Hello My Toshiba Satellite A110-159, Windows XP SP3 contains a system error and does not restart (not in safe mode). start the computer by using the last known good configuration does not work either. I also tried to change in the BIOS boot order, pu

  • acquisition and recording of analog data with producer consumer model

    Someone on this forum, in a separate last week discussion, suggested that I use the producer model consumer data acq.  My ultimate goal is to acquire analog channels 1-4 continuous data, display graphical band style and save the data on the boot disk