Creating table partitions via Common Format Designer

I am looking for a way to create table partitions via the Common Format Designer in my Models.
As far as I see this is not something that ODI can handle with the out of the box install.
Is this sth that can be added as part of an action or similar?
thanks
uli

Hi Uli,
Partitions are not yet defined in the ODI metadata, you could add a step in the DDL procedure generated by CFD that would handle the creation of the partition.
Thanks,
Julien

Similar Messages

  • Creating Table Partitions

    Does someone can explain me how to create Table Partition in Designer?
    I find nothing in the help content...
    thanks
    Chris

    Hi Uli,
    Partitions are not yet defined in the ODI metadata, you could add a step in the DDL procedure generated by CFD that would handle the creation of the partition.
    Thanks,
    Julien

  • What is the best way to dynamically create table partition by year and month based on a date column?

    Hi,
    I have a huge table and it will keep growing. I have a date column in this table and thought of partition the table by year and month. Can any you suggest better approach so that partition will create automatically for new data also along with the existing
    data? Nothing but automatically/dynamically partition should create along with file group and partition files.
    Thanks in advance!
    Palash 

    Also this one
    http://weblogs.sqlteam.com/dang/archive/2008/08/30/Sliding-Window-Table-Partitioning.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Create table, PARTITION, compress ORACLE SUPPORT PLS !

    Can someone PLEASE explain to me the following (read carefully):
    SQL> create table abc
    2 (a number)
    3 PARTITION BY LIST(a)
    4 (PARTITION A_A values (2),
    5 PARTITION A_B values (DEFAULT) COMPRESS);
    Table created.
    SQL> alter table abc add b number;
    alter table abc add b number
    ERROR at line 1:
    ORA-22856: cannot add columns to object tables
    SQL> alter table abc modify partition A_B nocompress;
    Table altered.
    SQL> alter table abc add b number;
    alter table abc add b number
    ERROR at line 1:
    ORA-22856: cannot add columns to object tables
    SQL> drop table abc;
    Table dropped.
    SQL> create table abc
    2 (a number)
    3 PARTITION BY LIST(a)
    4 (PARTITION A_A values (2),
    5 PARTITION A_B values (DEFAULT));
    Table created.
    SQL> alter table abc modify partition A_B compress;
    Table altered.
    SQL> alter table abc add b number;
    Table altered.
    I definetelly think this is a BUG !

    14464, 00000, "Compression Type not specified"
    // *Cause: Compression Type was not specified in the Compression Clause.
    // *Action: specify Compression Type in the Compression Clause.                                                                                                                                                                                                                                                                                                                                                                                   

  • Dynamically create Table partition

    Hi all,
    Anybody having script to add partition to a table using plsql.My requirment is to create partition for every month ( time_id , from time attribute table ) dynamically.
    Thanks in Advance
    Ramesh K C R

    Just build you SQL statement to create partition in a VARCHAR2 variable
    and use EXECUTE IMMEDIATE to run it.
    Take care to have been granted directly privileges to run CREATE TABLE, ALTER TABLE (not through a role) or create you code with AUTHID CURRENT_USER clause.

  • SQL Developer Data Modeler? Is possible to create table partitions using

    Hi,
    I have been surfing on table properties and I have been able to see where to define partitions on table. It's possible to do it?
    Thanks

    You need to open physical model and you can create partitions there.
    Philip

  • Creating table types for procedures at design time: Where is the "Local Table Type" tab?

    Hello,
    I want to write a stored procedure (development perspective, repository object) and need to create a table type for the result table.I am working on HANA Studio 1.80.1 and the documentation tells me that I should open the "Local Table Types" tab. However, I do not see where this tab is.
    I get an SQLScript tab nothing else. Any hints?
    Regards,
    Andreas

    Hi ,
    Have a look on this discussion:
    Table type creation via HS repository / CDS / DDl Source
    Regards,
    Krishna Tangudu

  • Creating table withtranslation via the standard SAP translation method

    Hi All,
    i have created a Z_test table with fields mandt, field ,spras, and field discription.
    I have created a maintanence gererator for  table  Z_test  where i use to maintain description in different languages
    like EN and DE.
    but instead of this i want to use standard SAP translation method for translation(instead of maintaining in various languages)
    can any one help

    Hi Pankaj,
    In the standard table say example MAKT in which Maktx is for material descriiption.
    Now when you create  a material using MM01 in EN language say your language the description get stores in english language..
    similary if you login in DE language and create a material using MM01 te description for the material gets stored in login language in maktx field.. This is how it works for different logon languages..
    so if you are fectching the maktx from makt you can use in the below way
    select matnr
              maktx
             from makt
             into table itab
            where matnr = 'your required material number' and
                        spras = sy-langu.
    now by the above select statment it gets the description in your logon language..
    I guess there is no transalation given by sap to transalate the records from one language to other language..  I surely believe there is no such option given for your case.
    In your case you need to use
    select mandt
              field
             spras
             fielddes
             from Z_test
            into itab
            where spras = sy-langu.
    you will get the descrition in your logon language.
    Regards
    Satish Boguda

  • Labview & Creating tables

    Hello, I am new to this board.
    I want to thank you in advance for any help that you are able to provide.  It is appreciated.
    I am trying to create tables as seen in formats like MS Access for novice users using LabVIEW.
    Does anyone have suggestions?

    Ok;
    First a little background is in order.
    Access is not a database. No snide intention here just a serious point. Access is an development environment for applications that use database management systems--or DBMS. The DBMS that is the default engine for Access is called Jet. This is important because the Jet engine comes installed with Windows. In other words, unless you want to use the application development tools in Access, you don't have to buy or install squat.
    The Database Toolkit for LV is totally unnecessary for accessing databases. Again, the reason is Windows. All modern Windows OSs come with something built-in called ADO (ActiveX Data Objects). These functions are accessible from LV like any other ActiveX resource. The Database Toolkit is a complicated wrapper around a bunch of very simple functions. Learning to use ADO is very simple and the online documentation on the MS website is excellent.
    A database is not just a fancy way to save a spreadsheet. DBMS like Jet, SQL Server or Oracle are called "relational" databases. In a relational database the goal is to store common data once and refer to it through key values that serve to define the relationships within the data. The goal is to reduce or eliminate the storage of redundant data.
    Now, having made those points, there are several good books on the market that will bring you up to speed on databases. Spend some time online googling things like:
    "SQL" to learn about the language that is used to communicate with databases.
    "Data Modeling" to learn about how to design the tables that will hold your data.
    "Relational Databases" to learn about the theory behind how they work and why they are so powerful.
    An excellent beginners book is:
    The Practical SQL Handbook, 4th Edition, J.S. Bowman, S.L. Emerson, M. Darnovsky, Addison-Wesley Developer’s Press, 2001, ISBN: 0-201-70309-2 (The 3rd edition is still available online through Amazon, and is also very good…)
    To implement your application will be challenging, but once you have written an application using a database, you'll never want to write one any other way...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Table Partitions Creation

    I don't see the option for Table partition, even in Server
    Model. Could you please send me complete instructions for
    creating a Table partition. That would be of great help. I
    did created table partitions manually, tested it onto the
    database, did a design capture of the DDL, it worked fine, but
    when i re-generated the DDL of the same table using designer,
    all the partitions were missing. Please suggest.
    Thanks,
    Manish.

    Table partitioning is in the "db admin". Have you checked that
    the database is 8.0 or 8.1 in the repository property "Oracle
    Database" otherwise you won't be able to see the parititioning
    properties (if you do change the version property don't forget
    to restart the design editor).
    HTH
    Steve

  • Is there a system table that stores the "create table" scripts

    Does a Oracle system table exist that contains the "create table" scripts for tables defined under a schema?
    I know I can build this with SQL by querying the user_tab_columns, but I was wondering whether the entire DML
    statement is already stored in some other system table. In the Quest Toad software you can simply go to the "Schema Brower", "Tables",
    then select the "Script" tab and it shows you the "create table" statement for the particular table that you are
    looking at. I'm wondering whether Toad behind the scenes is building this "create table" script via the user_tab_columns
    table or using another system table.
    Thank you in advance,
    Wes

    you can use the DBMS_METADATA.GET_DDL procedure to obtain the details regarding the ddl statement used to create the table.

  • How to delete table partitions

    Hi all,
    I want to know how can I delete table partitions.I have partitioned table in schema A owned by user A.But I created table partitions in Schema B owned by user B..Now I want the partions from schema B,it says table doesn't exist and when I tried to delete the partitions from schema A ,it says partition doesn't exist,What to do ?
    Regards,
    AA.

    can you give the statements you tried (and as which user)?
    I couldn't follow your actions, sorry.
    Martin

  • How can I create my own tag name while creating a partition table.

    I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
    Specify disk (enter its number): 0
    selecting c0t0d0
    [disk formatted]
    /dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
    FORMAT MENU:
    disk - select a disk
    type - select (define) a disk type
    partition - select (define) a partition table
    current - describe the current disk
    format - format and analyze the disk
    fdisk - run the fdisk program
    repair - repair a defective sector
    label - write label to the disk
    analyze - surface analysis
    defect - defect list management
    backup - search for backup labels
    verify - read and display labels
    inquiry - show vendor, product and revision
    volname - set 8-character volume name
    !<cmd> - execute <cmd>, then return
    quit
    format> partition
    PARTITION MENU:
    0 - change `0' partition
    1 - change `1' partition
    2 - change `2' partition
    3 - change `3' partition
    4 - change `4' partition
    5 - change `5' partition
    6 - change `6' partition
    select - select a predefined table
    modify - modify a predefined partition table
    name - name the current table
    print - display the current table
    label - write partition map and label to the disk
    !<cmd> - execute <cmd>, then return
    quit
    partition> print
    Current partition table (original):
    Total disk sectors available: 1953508749 + 16384 (reserved sectors)
    Part Tag Flag First Sector Size Last Sector
    0 usr wm 34 4.00GB 8388641
    1 usr wm 8388642 2.00GB 12582945
    2 usr wm 12582946 200.00GB 432013345
    3 usr wm 432013346 175.00GB 799014945
    4 usr wm 1166180386 375.43GB 1953508748
    5 usr wm 799014946 175.00GB 1166016545
    6 usr wm 1166016546 80.00MB 1166180385
    8 reserved wm 1953508749 8.00MB 1953525132
    partition>
    I am unable to specify my own tag name. How can I change the tag name to one of my interest.
    I need to create 3 partitions as told below
    partitions:
    /earth
    /mars
    /work
    /earth and /work should be roughly equal in size, /mars should be twice the size of the others, if that is possible. If not 3 partitions of equal size will do.
    Please, help me .
    Thank you.

    Exactly 1TB? Slightly under/slightly over?
    Traditional Solaris disk labels are in VTOC format, but this format cannot describe disks larger than 1TB. So EFI labels must be used on disks larger than 1TB. Setup is slightly different.
    Are these physical disks or LUNs from a SAN array? If they are array LUNS, it is often the case that they don't have a Sun label of any type. So...
    #1 Apply a Solaris label
    If the LUNS don't have a label (when selected in 'format', it gives a warning that no label is present and offers to apply a label immediately). When run non-interactively, format assumes "yes" for any questions. So all you'd have to do is select every disk to have it apply labels to any unlabled disk. Run 'format' once and find the highest number (maybe it's 50 for you). Create a text file that looks like this:
    disk 1
    disk 2
    disk 3
    disk 50Then feed that to format like this:
    # format -f /tmp/disklist or whatever you've named the file.
    #2 Apply the partition layout to all disks you want.
    You asked if you should do the same procedure, but I don't see that you've actually done anything above other than print out the existing layout. Take one of your 48 drives and partition it the way you want manually (set the slices to the sizes that you want). Then you can copy the layout of that disk to others. You only want to do this between disks/LUNs of the same size. As an example, if you've explicitly partitioned c1t0d0 and you want to apply this to c1t1d0, do this:
    # prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2Repeat for all of your other disks.
    Darren

  • How to create a partition table on the basis of substring of column val

    Hi All,
    I have table
    Create table Mytable
    ( Col1 number,
    Col2 number,
    Col3 varchar2(20)
    insert into mytable values(11,2,'20110901');
    insert into mytable values(12,2,'20110902');
    insert into mytable values(13,2,'20110903');
    insert into mytable values(14,2,'20110904');
    insert into mytable values(15,2,'20110905');
    insert into mytable values(16,2,'20110906');
    Col3 data have the date value in the form of yyyymmdd format.
    I want to create a 30 partitions on the basis of day on col3.
    how can i achive this. i tried range partition but how can i get day of col3?
    any help appriciated.
    Edited by: P:) on Sep 28, 2011 5:56 PM

    Hi,
    the first point would be to use the correct data type for col3 and make it a date. Then I can see no reason why you couldn't range partition based on the date.
    Andre

  • Unable to create Tables in design view

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

Maybe you are looking for

  • Open vi reference by string in executable

    Hi all, Scenario: A top-most vi (main.vi) calls two subvis (subvi1.vi and subvi2.vi) separately such that they run in parallel. subvi1.vi has a front panel that appears when called, subvi2.vi does not. subvi2.vi uses Open vi Reference to get a refere

  • How do I move mailboxes from one macbook to another

    I purchased a new imac and have  amacbook pro. on the pro email server, all the email is organized in mailboxs/folders (On my mac). How do I replicate them onto my imac? Thanks,

  • Solaris 10 X2100 VLAN config

    What are my options for configuring a virtual interface on an x2100 server with Sol10 Because the interface shows up as the type " nge0" I am assuming that the hardware does not support it per the info below. Is there another alternative or a softwar

  • A Download servlet: non-ASCII characters not working

    This is my servlet used for file download: public void doPost(HttpServletRequest request, HttpServletResponse response) {   String filepath = request.getParameter("filepath");   String filename = request.getParameter("filename");   response.setConten

  • Booting different operating systems off apple USB SuperDrive

    I'm used to booting systems off of dvd's like "ubuntu" "windows" etc on the internal superdrive. and seeing the new i-mac without the internal dvd reader makes me ask if its possible to boot different systems like mentioned above on the apple USB Sup