Deferred segment creation

hi guys,
http://tkyte.blogspot.com/2011/02/deferred-segment-creation.html
according to tom, in 11g, it will not be the same when
SQL> select * from v$version
  2  ;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> show parameter deferred
NAME                                 TYPE        VALUE
deferred_segment_creation            boolean     TRUE
SQL>
SQL> create user a identified by a default tablespace users;
User created.
SQL> grant create session, create table to a;
Grant succeeded.
SQL> connect a/a
Connected.
SQL>
SQL>
SQL> create table t ( x int primary key );
create table t ( x int primary key )
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'which is the same as
SQL> create user a identified by a default tablespace users;
User created.
SQL> grant create session, create table to a;
Grant succeeded.
SQL> disco
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL>
SQL>
SQL> connect a/a
Connected.
SQL> create table t ( x int primary key );
create table t ( x int primary key )
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'

Anand.. wrote:
Hi,
I did the same on 11.2.0.2.0 version and it worked for me -
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL>  create user test_deferred identified by test;
User created.
SQL> grant create session, create table to test_deferred;
Grant succeeded.
SQL> show parameter deferred
NAME                                 TYPE        VALUE
deferred_segment_creation            boolean     TRUE
SQL> conn test_deferred/test
Connected.
SQL> create table t(a number);
Table created.
SQL>  select segment_name from user_segments;
no rows selected
SQL>  select table_name from user_tables;
TABLE_NAME
TAnandtks Anand, guess is what aman mention, some patchset not appply or something else.

Similar Messages

  • What's the purpose of deferred sgement creation

    Hi All,
    My DB is 11.2 Exadata machine.
    I just don't know what advantage this new feature can bring to us?
    I think in a partitioned table that have thousands of partitions that in turn have thousands of subpartitions can benefit from this feature. But I don't think this kind of table is common.
    And even if this is the case, the table will be filled with rows in the near future. So no space will be spared actually.
    For a non-partitioned table, we can even completely ignore the initila extents allocation.
    Can someone give me some tips here,please?
    Best regards,
    Leon

    Couple of purpose of deferred segment creation :
    1.Space saving particularly applicable to systems with a large number of empty tables.
    2.significantly reduce application installation time.
    3.Since the table creation doesn't result in segment creation, tables can be defined against any tablespace regardless of quotas. A quota error is only issued when an insert is attempted against the object.
    4.Plays a major role for capacity planning.
    5.If you drop the tablespace the tablespace containing the object without the INCLUDING CONTENTS, the drop tablespace will succeed and the table will remain.
    6.Deferred segment creation now supports partitioned tables.
    7.Export of Empty Objects Issues resolved.
    Regards
    Girish Sharma

  • Segment creation

    for one idoc i have to create 4 segments wether i have to create segments seperately one by one i.e by going to we31 for each segment?

    HI ,
    Yes You need to create segment separetely and attach all segments to the IDOC .
    Segment creation steps :
    -     Go to T. Code WE31
    -     Give segment name as <Z....>
    -     Enter Short Text
    -     Enter the Field Name and Data Element in the text boxes
    -     Save, continue,
    -     Click on Edit -> Set Release.
    Reward if useful
    Thanks
    Jagadeesh.G
    Edited by: Jagadeshwar Gollapelly on Apr 16, 2008 2:37 PM

  • Issue in segment creation for File to IDOC mapping

    Hi,
    I have file with many feilds, i need to create a segment in IDOC for unique combination of 2 feilds.
    eg:
    408
    430050
    segment
    208
    430050
    segment
    208
    430050
    208
    460100
    segment
    208
    452010
    segment
    408
    432000
    segment
    208
    432000
    segment
    the value for the combination of first column and 2nd column are equal it should trigger one segment instead of 2segments else(for different combination) trigger the segment
    eg from table:
    in table for 208,430050 is occuring twice but it should trigger only one segment(unique combinations of 2 columns), for all other combinations it should trigger one segment for each.

    Hi Swapna,
    You can use below mapping.
    UDF:
    Execution type : All Values Of Context
    public void removeDuplicates(String[] context, ResultList result, Container container) throws StreamTransformationException{
    HashSet<String> hashSet = new HashSet<String>();      
            for (int i = 0; i < context.length; i++) {
                if (hashSet.add(context[i]))
                   result.addValue(context[i]);             
                else {
                   result.addSuppress();              
    Reards,
    Praveen.

  • Segment creation problem

    I have a File to IDoc scenario. The IDoc imported has a particular segment E1EDPAD occuring only once in the structure. I have PRI and QUALF in that segment. For a particular source field X, I need to send the value of QUALF as 3 and then the value of X to PRI.  For another source field Y, I need to send the value of QUALF as 7 and then the value of Y to PRI.
    The problem is the source IDoc has one occurence of segment E1EDPAD. How do I add a segment the second time in Idoc with the respective values?
    The QUALF values are always hard coded. The other values,X and Y change

    Hi Madhav,
    If I create duplicate subtree option, will it change the structure in the IDoc that I have imported? Will this work at runtime?
    --Ideally it will not change the structure, But it serves your mapping rquirement.
    Yes, It will work at runtime.
    Also what will happen if the value that I created do not come in the source file? Both X and Y are mandatory fields
    -- If the the source fields are mandatory it is senders responsibility to send the fields. If you need to avoid error when the fields are not coming then you can use exist func to create the segment.
    Regards,
    Sudha

  • Rollback segment  creation problem

    When i try to create rollback segment on oracle 9iRelease2 database in linux operating system, i got the following error, ORA-30019: Illegal rollback Segment operation in Automatic Undo mode.
    I have already modified Undo_management as manual in init file.
    How can i solve this problem?
    Thanks

    In SQL*Plus, can you check what your undo_management is set to, just to verify that it is picking up the change?
    show parameter undo_managementJustin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Segment Creation based on a value in Source file

    Hi friends
    Guide me in this problem :
    i have a file to idoc scenario in which the idoc has this structure:
    this is one condition which i want to achieve
    i dont want to create the segment E1WPU03 if Diff_price in source file is 0
    Thanks

    Hi,
    input Difference price & constant value(0)->equals functions->not function->createif function-> map it to target E1WPU03 segment.
    Thnx
    Chirag
    Edited by: Chirag Gohil on Feb 28, 2008 5:33 PM

  • Issue with IDOC segment creation..

    hi,
    i created an idoc  segment thru we31. when i was saving it, and when the transport request was asked, i cancelled it. it so happend that the underlying structure was created (i was able to see that in se11) but in we31, the segment definition did not appear and i got the message "segment does not exist yet".
    so in se11, i deleted the associated structure and tried to recreate the segment, i am not able to !! while saving, i get the error "you do not have authorization for delete for function idoc segment"
    when i performed a segment check (ctrl + F1), i got the message,
    Repository structure missing for segment ZZZ                                                                                |
    Inconsistent overall length in segment version 000
    Segment version 000 not released
    Entries exist in table of Segments for segment ZZZ
    Entries exist in table of Segment definitions for segment ZZZ
    Entries exist in table of Segment structures for segment ZZZ
           |   Segment ZZZ is inconsistent                             
    what shud i do ?
    thks

    resolved. seems some authorization was missing. thks

  • Segment creation for outbound Idocs to non-SAP system

    Hi,
    I need to create a custom idoc for outbound interface to a non-SAP system. Here I need to create segments. So, should I create the fields in the segment with the attributes of fields in non-SAP system or fields attributes should be of SAP system.
    For example:
    There is a field invoice number which is of 10 Chars in SAP but in legacy it is divided into 2 fields: invoice prefix of 2 chars and invoice no. of 8 chars. Should my segment contain one invoice field of 10 chars or should it be two fields with 2 and 8 chars?
    In general, always should the segment fields contain field attributes based on receiving system?
    Thanks in advance.
    Sriram.

    Hi
    Should my segment contain one invoice field of 10 chars or should it be two fields with 2 and 8 chars?
    I think it shoild be better to have 2 fields, but probably the result will be the same if you send the idoc by a text file, because both informations should be contiguos, I mean if you have file with a record like this:
    1234567890
    This record can be obtained downloading a segment with 2 fields:
    FIELD1 = '12'
    FIELD2 = '34567890'.
    or single field:
    FIELD = '1234567890'.
    So it'll be the same for tje target system
    In general, always should the segment fields contain field attributes based on receiving system?
    It depends on who has to convert the idoc to the right format for the target system
    I mean you can create a "SAP" Idoc, so the receiving system will have to convert it to the right format
    or
    you can send the idoc in the right format, so the receiving system doesn't need to convert it
    Max

  • Segment Creation in Mapping

    Hi All,
    I have used a few conditions to create the node in the mapping.
    But I dont know how do we come to whether the node is created or not after executing the mapping.
    I wnat to know how do we come to know whether a segment or node is created or not after mapping?
    Thanks in advance.

    Dear Swetha,
    Please go through the below link:
    suppress replaced the empty strings.
    Standard Functions :
    http://help.sap.com/saphelp_tm60/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    /people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Thanks,
    Satya Kumar

  • Prob in Second Segment creation

    Hi All,
    1. when I am trying to create custom segments.. for one of the infotype its execeding the length of 1000.. so I though of dividing the segment into 2 S1 and S2. when I try to execute using RBDMIDOC.. I can see the S1 with data.. but I could not able to see S2(segment second).
    IDoc
      I-> S1
             I-> S2
    S2 is the chield for S1..

    Hello ,
    Check the release status and other required attributes for this second segment .
    thanks,
    M.Naveen kumar.

  • Changing filed name description - idoc segment creation/change

    HI,
    is it possible to change the fieldname description in an IDoc Segment without changing the DataElement ?
    Exampel:
    I Used CHAR40 as dataelement for my own ZZFIELD. In the Idoc the fieldname description of the data element CHAR40 is shown.
    Can i change this description ?
    thx,
    Gordon

    No, The IDOC always displays the texts based on the Data Element which is assigned to that field. If you want to display your own text you have two options:
    1. Create an enhancement and change the text of the data element which is not recopmmended because it will be changed wherever that data element is used.
    2. Instead just create an own data element where you can maintain any texts you need.
    Hope that helps,
    Michael

  • Outbound Idoc Segment Creation via BD52 trigger

    hi all,
    i am new to Idocs so please forgive me if i am missing the obvious.   i am using standard the material master Idoc type MATMAS05 to transmit any material master changes to an existing legacy system.   i set up some fields in BD52 to trigger an Idoc when they are changed.   the problem is when i change a field in the MARC segment (ie: MARC-PRCTR - Profic Center) 3 segments are generated (E1MARAM, E1MAKTM, EIMARCM), but when i change something in the MARA segment (ie: MARA-PRDHA - Product Hierarchy) only E1MARAM and E1MAKTM are sent.  
    the receiver is set up for all three Idoc segments so when only 2 are sent it errors out.   how can i force all 3 segments to send every time?
    many thanks.
    James Hinkin

    Hi, I think you must be running the program RBDMIDOC to send an IDoc based on the change pointers.
    SAP has designed such a way that it will create IDocs only with changed data. In other words, E1MARAM is always populated as it is header data. Its obvious that you dont want to send the data that is not changed. Hence if you are changing Product hierarchy, only relevent segments are populated with values.
    If you still want to send all the data irrespective of whether those fields are changed or not, either you may have to code in a user-exit to populate these fields(segments) or, change the program accordingly.
    Hope this helps you and let me know if you need further help
    Vamsi

  • Profitability segment creation problem

    Hi,
    we have not defined order as a segment level charecteristic, but it is still creating new segment number for every service order settlement, is there any place where i need to maintain settings to avoid creaation of new profitability segment for every settlement.(all charecteristics of a segment are same in every settlement except order number which is not maintained as a segment level charecteristic) but my system is still taking the order number into consideration and creating new proftability segment for every new order. is there any way to fix this issue.

    Hi,
    please check that you have'nt included the following Characteristics as Profitability segment characteristics:
    KSTRG         Cost Object
    RKAUFNR         Order
    Regards

  • Sequence number creation in oracle 11gR2

    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..

    862189 wrote:
    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..I'm going to guess that you're seeing the side effects of deferred segment creation.
    This does get mentioned in the reference manual under "create sequence": http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_6015.htm
    If this is the case then creating the target table with the "segment creation immediate" should address your problem: http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_7002.htm#i2095331
    Regards
    Jonathan Lewis

Maybe you are looking for

  • 2-Column Flowed Layout Problem

    Hi, In the interest in saving paper and toner, I have begun using 2 column layouts.Here is something I'm working on: MasterPage1 has 3 content areas (Header, LeftColumn,RightColumn) //restriced to 1 occurance MasterPage2 has 2 content areas (LeftColu

  • Video in project not showing

    i have a completed project that shut down while sharing due to the battery running down. Since then he video will not show in the window. it is in the project window and I can hear the audio but not video. Any ideas what is going on? Did i hit a butt

  • Applet to Applet communication between two seperate threads and jsp pages

    Hi, have two java applets running on two separate jsp pages. I am trying to have one applet talk to the other applet. I have tried putting the applets in a static hashtable, but I found out (through trial and error) that the memory is not shared betw

  • Stuck with update for app i deleted - sorry my mistake

    nevermind, it was my mistake, i accidentally dragged the app to the desktop and not to the trash. Message was edited by: v470510c05 Message was edited by: v470510c05

  • How to fix "Project or Library file is corrupt"

    Last Time I close the my project, then I want to reopen it, but popup a window "Project or Library file is corrupt" Can this corrupt project file can be fix? Because It contain too much information of this project. By the way, the project file size i