LOB and retention

Hi,
I try to modify the retention parameter on a partition table. Whatever the SQL order, I ran ... I can't see the result in the dictionary. What's wrong in my sql order ?
Thanks a lot for your help ..
The release of the database is 9.2.0.8.
I create the table:
==============
CREATE TABLE test_lob (chp1 clob, chp2 int)
lob (chp1) STORE AS SEGNAME (TABLESPACE FD
PCTVERSION 0)
partition by range (chp2)
(PARTITION P1 VALUES LESS THAN (1),
PARTITION P2 VALUES LESS THAN (2),
PARTITION P3 VALUES LESS THAN (3));
I verify that the value is correct in the dictionary:
===================================
select bitand(defflags,32) from sys.partlob$ where TABOBJ# in(select OBJECT_ID from dba_objects where OBJECT_NAME='TEST_LOB');
(result is 0)
I modify the table:
===============
alter table test_lob modify lob(chp1) (retention);
I check one more time:
==================
select bitand(defflags,32) from sys.partlob$ where TABOBJ# in(select OBJECT_ID from dba_objects where OBJECT_NAME='TEST_LOB');
(result is 0 .. must be 32)
I make another SQL order:
====================
alter table test_lob modify partition p1 lob (chp1) (retention);
alter table test_lob modify partition p2 lob (chp1) (retention);
alter table test_lob modify partition p3 lob (chp1) (retention);
I check one more time :
====================
select bitand(defflags,32) from sys.partlob$ where TABOBJ# in(select OBJECT_ID from dba_objects where OBJECT_NAME='TEST_LOB');
(result is 0 .. must be 32)
What's wrong ???

Before I checked the 10g manual I would have said that LOB segments do not use UNDO tablespace. UNDO for LOB segments is kept in the LOB segment.
>>
PCTVERSION integer Specify the maximum percentage of overall LOB storage space used for maintaining old versions of the LOB. The default value is 10, meaning that older versions of the LOB data are not overwritten until they consume 10% of the overall LOB storage space.
You can specify the PCTVERSION parameter whether the database is running in manual or automatic undo mode. PCTVERSION is the default in manual undo mode. RETENTION is the default in automatic undo mode. You cannot specify both PCTVERSION and RETENTION.
RETENTION Use this clause to indicate that Oracle Database should retain old versions of this LOB column. Oracle Database uses the value of the UNDO_RETENTION initialization parameter to determine the amount of committed undo data to retain in the database.
You can specify the RETENTION parameter only if the database is running in automatic undo mode. In this mode, RETENTION is the default value unless you specify PCTVERSION. You cannot specify both PCTVERSION and RETENTION
<<
I still believe that when RETENTION is set that Oracle uses the LOB segment to store the UNDO rather than the UNDO tablespace, but I will have to see the documentation in more detail to try to find support.
HTH -- Mark D Powell --

Similar Messages

  • NEW 9I RMAN: BACKUP OPTIMIZATION AND RETENTION POLICIES

    제품 : RMAN
    작성날짜 : 2004-05-20
    NEW 9I RMAN: BACKUP OPTIMIZATION AND RETENTION POLICIES
    =======================================================
    오라클 9i RMAN 에서는 백업을 보다 효율적으로 할 수 있는 기능을 보강 했다.
    지금 소개할 "Retention Policies" 기능을 통해서 보다 효율적인 RMAN 백업
    전략을 세울 수 있다.
    1. 백업 화일 최적화 방법 (Backup File Optimization)
    백업 화일 최적화란 백업에 소요되는 공간을 최소화 하는 전략이다. RMAN
    백업시에 같은 정보 (dbid, checkpoint, and resetlogs data 등등) 를 가지고 있는
    화일이 이미 존재하는 백업 셋 내부에 있는지 체크하게 된다. 만일 같은 화일이
    이미 백업 되어 있다면 BACK UP 명령은 해당 화일에 대해서는 백업을 하지 않게
    된다.
    이때 같은 화일이라고 판단하는 기준은 다음과 같다.
    * Datafile: 같은 DBID, checkpoint SCN, resetlogs SCN 과 time. 데이타 화일은
    반드시정상적으로 offline 되었거나, read-only 이거나, 또는 정상적 으로 close
    되어야 함.
    * Archived redo log: 같은 thread, sequence number, 그리고 같은 Resetlogs
    SCN 과 time.
    * Backup Set: 같은 Backup Set recid 와 stamp.
    RMAN 이 백업을 수행하다가 위와 같은 조건의 화일이 이미 존재함을 확인하면
    이것은 건너뛰게 될 화일의 대상이다. 하지만 이때 바로 Skip 을 결정하지 않고
    정해진 Retention Policies 를 조사 한후에 Skip 여부를 결정 하게 된다.
    만일 백업 명령에 DELETE INPUT option 이 사용되면 RMAN 은 백업이 Skip
    되어도 화일을 지우게 된다.
    RMAN 은 모든 화일에 대한 백업이 Skip 되어도 에러메시지나 경고를 보내지
    않는다.
    그러나 만일 데이터 화일에 대한 백업이 recovery policy window 보다 오래
    된 것 이면 RMAN 은 새로운 백업 화일을 만들기 위해서 화일을 백업 하게 된다.
    Note:
    자체적인 expirations policy 를 가지고 있는 media manager 를 사용할 경우에는
    이런 백업 최적화 정책을 사용하는 것에 신중을 기해야 한다.
    백업 최적화 를 사용하기 위해서는 CONFIGURE 명령을 사용한다. CONFIGURE
    명령은 명령 수행 이후에 이루어지는 모든 백업에 대해 적용이 된다.
    예:
    CONFIGURE BACKUP OPTIMIZATION ON; # default 는 OFF
    2. Backup Optimization에 Retention Policies 적용 하기
    Retention Policy 로 백업 최적화를 조절 할 수 있다. 그러나 retention policy를
    사용하지 않기 위해서는 'CONFIGURE RETENTION POLICY TO NONE' 을
    이용해서 명시적으로 retention policy를 사용하지 않는다고 해야 한다. 디폴트로
    REDUNDANCY = 1 이 적용 된다.
         a. Recovery Window 를 이용한 Backup Optimization
    만일 백업 최적화가 enable 되어 있고 Recovery Window 가 retention policy
    적용을 위해서 셋업 되어 있으면 RMAN 은 항상 가장 최근의 백업이 Recovery
    Window 보다 오래된 데이터 화일을 백업한다.
    예를 들면 다음과 같은 조건에서
    o Today is February 21.
    o The recovery window is 7 days.
    o The most recent backup of tablespace tbs2 to tape is January 3.
    o Tablespace tbs2 is read-only.
    2월 21일에 tbs2 테이블 스페이스를 테이프로 백업을 하라는 명령을 내리면,
    RMAN 은 이 화일이 1월3일 이후에 변경 사항이 없는데도 불구 하고 백업을 하게
    된다. 이로써 RMAN 은 최근 7일 동안에 최소한 한번의 백업이 있어야 된다는
    조건을 지키게 된다.
    이러한 작동 방식은 media manager 가 오래된 테잎을 제거 해도 되도록 한다.
    그렇지 않다면, media manager 는 1월 3일의 백업을 무한정 가지고 있게 된다.
    2월 21일에 tbs2 테이블 스페이스의 보다 최근의 백업을 만듦으로 써, RMAN 은
    media manager 가 1월 3일에 백업 했던 테입을 지워도 되도록 한다.
         b. Redundancy 를 이용한 Backup Optimization
    Retention policy 로 Redundancy 를 채택 한 경우에 RMAN 은 Redundancy
    에 1을 더한 갯수를 초과하는 오프라인 또는 읽기 전용 화일의 백업을 건너뛴다.
    이때 'CONFIGURE RETENTION POLICY TO REDUNDANCY n' 명령어로
    Redundancy의 갯수를 정한다.
    아래와 같은 백업 최적화 명령을 내린 경우를 예로 든다:
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    아카이브 테이블스페이스를 한번도 백업을 받은적이 없고 다음의 작업을 1주일
    동안 한다고 하자.
    Day Action Result Redundant Backup
    Monday Take tablespace archive offline clean.
    Tuesday Run BACKUP DATABASE. The archive tablespace is backed up.
    Wednesday Run BACKUP DATABASE. The archive tablespace is backed up.
    Thursday Run BACKUP DATABASE. The archive tablespace is backed up. Tuesday backup.
    Friday Run BACKUP DATABASE. n/a Tuesday backup.
    Saturday Run BACKUP DATABASE. n/a Tuesday backup.
    Sunday Run DELETE OBSOLETE. The Tuesday backup is deleted.
    Monday Run BACKUP DATABASE. The archive tablespace is backed up. Wednesday backup.
    화요일, 수요일, 그리고 목요일의 백업은 아카이브 테이블 스페이스를 복사 해서
    3개의 백업이 반드시 존재 해야 한다는 조건을 충촉 시킨다. (1+Redundancy)
    금요일과 토요일에는 백업 최적화 조건에 의해서 아카이브 테이블 스페이스를
    복사하지 않게 된다.
    RMAN 은 일요일에는 유효기간이 지난 백업 화일을 지우게 된다. 따라서 화요일에
    만든 백업은 삭제 된다. 월요일의 전체 백업은 3개의 백업이 존재 해야 한다는 조건
    때문에 아카이브 테이블 스페이스를 또 다시 백업하게 된다. 이런 방식으로 백업
    사이클이 진행 된다.
    3. RETENTION POLICY NONE vs. DEFAULT
    주의 사항:
    'CONFIGURE RETENTION POLICY TO NONE' 과 'CONFIGURE RETENTION
    POLICY TO DEFAULT' 는 그 의미가 같지 않다. 전자는 RETENTION POLICY
    자체가 존재 하지 않는다는 의미 이며 백업은 expire 되지 않으며 'DELETE
    OBSOLETE' 명령은 사용 할 수 없게 된다. 후자는 디폴트 RETENTION POLICY
    (REDUNDANCY 1) 를 사용하게 된다는 의미 이다.
    'DELETE OBSOLETE' 명령은 RETENTION POLICY 기준으로 expire 된 백업을
    제거 하라는 명령이다.
    보다 자세한 내용은 Oracle9i Recovery Manager User's Guide and
    Reference의 Backup Optimization 부분을 참고 하시기 바랍니다.
    --------------THE END----------------------------------------------

    Hi,
    Backup optimisation = +- do not copy empty space.
    So, when you issue your BACKUP statement, it backs up the datafile. dot. nothing more.
    In order to achieve what you're testing, look into TFM for BACKUP INCREMENTAL LEVEL x .
    Regards,
    Yoann.

  • Cannot Assign Archive and Retention Policies in Outlook 2010

    We are having problems figuring out how we enable Archiving and Retention tags in Outlook.  We have a new Exchange 2010 server with an Enterprise license key. We have run Microsoft Office professional plus 2010 on all of our clients (licensed through
    our volume license service agreement). We have configured an Archive mailbox store and assigned accounts to use that store. The archive mailbox appears in the users Outlook, but they cannot assign policies to folders or items. The ribbon does not show the
    option. I can see that it is configured to be part of the ribbon (when customizing the ribbon), but the option is not available to the user to actually select. I see user tags assigned to the user in Exchange, so I am at a loss as to where else to look for
    the problem.
    I see lots of documentation that says this is a licensing problem, but I am running the right components and think I have the right licensing. Is there a trouble shooting document or things I can check to make sure I have everything the way I need it to
    be?

    We found our own answer on this. Not sure why, but we had to use powershell to start the Managed Folder Assistant for the user name we had configured:
    Start-ManagedFolderAssistant -identity <username>
    My guess is that if we had waited long enough this would have resolved itself.

  • "Permanently Delete" fail in outlook client after setting up the "Archive and Retention Policy" in Exchange 2010

    In Exchange 2010 server, we have setup a policy under "Default Archive and Retention Policy" as all messages under "Inbox", "Sent Items" and "Deleted Items" will be Permanently Delete after X months.
    However, one of our client found that some of the email messages was still found under his "Deleted Items". All other email messages under her outlook client (2010) were successfully deleted according to the policy.
    Is there any reason for this exception?
    Thank you

    Hi,
    Based on your description, you created retention policy tags for Inbox, Sent Items and Deleted Items folders. Then you linked them to the default archive and retention policy
    Default Archive and Retention Policy.
    Please check if this issue affects all users.
    Please create a different retention policy which is associated with these retention tags, and apply this policy to a test user to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Advance Payment and Retention Money adjustment.

    Dear Friends,
    Pls guide me in the following scenario.
    The scenario is that one very large construction co using SAP. And its sub contract within its different plant in the same co code when he got any new projects. Now the co using down payment or say advance payment and retention money  condition. In the billing document every time I want 10% advance to be settled & 5% retenssion amount to be minus. This will be mapped through a GL for with special indicator A. But where will I maintain the details like % deducted every month? Is there any condition record for this FSZW Condition type( down payment) or this is defined by FI?
    Regards
    Atul

    hi,
    try with installment - payment terms.
    This sould help you.
    Thanks,
    Sujai C

  • Progress Billing with Downpayment and Retention

    Hi SAP Gurus,
    I just wanted to check if you have encountered a scenario wherein the purchase is billed progressively and that downpayments and retention are recognized for the purchase. For example:
    Total Contract Price: 9900000
    1. Downpayment (30%)                                           -  2,970,000.00
    2. First Progress Billing for 45% Accomplishment    - 2,673,000.00
        Value of Accomplishment           4,455,000.00     
        Deductions                              
         10% Retention                       445,500.00     
         30% Downpayment               1,336,500.00     
         Subtotal                            1,782,000.00
    3. Second Progress Billing for 83% Accomplishment - 2,257,200.00          
        Value of Accomplishment           8,217,000.00
        Deductions                         
         10% Retention                    821,700.00
         30% Downpayment               2,465,100.00
         1st Progress                    2,673,000.00
         Subtotal                         5,959,800.00
    And so on...
    It is basically a scenario wherein the progress is based on the accomplishment and then the charges will be net of the downpayment and the retention. What I initially had in mind was to create the PO in 3 major segments, 1 PO item for the DP (30%), 1 PO item for the retention (10%) and the remaining 60% for the whole lot purchase.
    Is there any other (better) way to go about this? I heard that there is a facility for downpayment and retention recognition via EHP4; however, I am not sure if it also accommodates mixing in progress billing.
    Your responses will be most welcome.
    Best regards,
    DeLo

    This problem "was because in the Accounting settings of "Reconciliation accounts (A/R, A/P)" [OB14],  the sales order field was suppressed. After unhiding this field, it started working fine as this is the field whch forms the link between the Downpayment recieved in the Accounting to be affected as a subsequent line item in the Billing Document.

  • Customer adavnces and retention in Billing

    Hello Friends,
    Good Morning!
    We have customer Advance and retention. These are manual condtion in Sale order(both are Statistical conditions). The clients requirement is flow the accounting documents as below:
    Example: customer invoice 100000
                   Advance     (A)   (10000)
                   Retention   (Z)    (10000)
                   Sales revenue     100000
    The billing document should be like
    Customer a/c       DR    80000
    Cust spl GL A      DR    10000
    Cust spl GL Z      DR    10000
    sale revenue        CR  100000
    Could any one let me know whether this configuration is  possible or not.
    Or how can we deal this issue.
    Thanks!
    SK

    Yes SK,
    it is possible. You have to create special GL for it thru OBXR. Then u can pass advance & retention spelciasl transactions...
    After that, u can pass enteries as u want. Also u may have to clear these items thru f-32

  • Understanding (default) archiving and retention policies and tags

    I am taking a look at archiving and policies and tags and am a bit confused. 
    If I look at the "Default Archive and Retention Policy", I see a lot of Tags assigned to this policy. On the Mailboxes tab, I see no mailboxes listed.
    although no mailboxes are listed in there, are all users that (will) have archive enabled still using this default Policy?
    I see a lot of Personal Tags in there assigned. 1 Month Delete, 1 Week Delete; Are all these tags active, or is the list you see there all tags that a user CAN personally use and assign to his folder?
    For example, what does the tag do: "1 Month Delete", Personal Tag, Delete and Alllow Recovery, Age limit for Retention 30, Retention Enable True?
    there is also a tag called "Default 2 year move to archive", with type All other folders in the mailbox. Does this mean that all users that have this policy assigned, that all their mail older than 2 years will be moved to their archive? Or can
    the user enable this tag?
    The longer I look at this list, the less I understand.... Maybe someone can give a short explanation?
    Thanks!
    Olaf

    Hi,
    For the question 1:
    Yes. Exchange Setup creates the retention policy Default Archive and Retention Policy. When you enable a personal archive for a mailbox, the Default Archive and Retention Policy is automatically applied to the mailbox if it doesn't already have a retention
    policy. 
    For the question 2:
    Users can apply these personal tags to folders they create or individual items.
    For the question 3:
    First, we should know what the "Delete and Allow Recovery" retention action do.
    Delete and Allow Recovery: This action emulates the behavior when the Deleted Items folder is emptied. Tags that have this action applied are known as deletion tags. When this action occurs, and deleted item retention is configured for the mailbox database
    or the user, messages move to the Recoverable Items folder. The Recoverable Items folder (previously known as the dumpster) provides the user another chance to recover deleted messages.
    So about the tag you mentioned above, it's a personal tag, when a mailbox item reaches its retention age(here is 30 days), the items will be deleted in the source folder and moved to the Recoverable Items folder.
    For the question 4:
    If you choose the type "All other folders in the mailbox", then this would be a Default Policy Tag (DPT). This DPT is applied to all other items where a RPT is not applied.
    For example, if you have created a retention policy tag and apply it to default folder Inbox, then Inbox folder won't be affected by a default policy tag whose type is "All other folders in the mailbox".
    Please note that a mailbox can't have more than one retention policy. If you later apply a retention policy to the mailbox, tags from the Default Archive and Retention Policy are no longer available to the mailbox.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to shrink this LOB and what steps need to perform.

    Problem Description: hi
    one of our production database having one table i that table having 320 gb LOB in one column
    can you please suggest how to shrink this LOB and what steps need to perform.
    during shrinkg of LOB how much undo tablespace is require,and does it create more archive log because LOB size is 320gb.
    this table having function based index also.so we will not shrink it.
    we need to release the space from database this in only big LOB out of my DATABASE its took approx. 80%.
    there is any way we can reclame this space with less time.
    please suggest how to do this and how much downtime is required.
    database version 10.2.0.4 and OS AIX 5.3

    Hi;
    Please check below which could be helpful for your issue:
    Shrink LOB Segment On Partitioned Table [ID 802059.1]
    How to determine the actual size of the LOB segments and how to free the deleted/unused space above/below the HWM [ID 386341.1]
    Why is no space released after an ALTER TABLE ... SHRINK? [ID 820043.1]
    Troubleshooting Guide (TSG) - Large Objects (LOBs) [ID 846562.1]
    Regard
    Helios

  • Top space consuming Tables (which considers LOBs and Partitions )

    11.2.0.3/Solaris
    When u run a query like below which lists the top space consuming segments , It will only list segments for LOBs and Partitions of a table separately..
    select segment_name, bytes/1024/1024/1024 gb, segment_type from dba_segments where owner = 'MCS_WM_USR'  order by gb desc;
    SEGMENT_NAME                                                                             GB SEGMENT_TYPE
    WMERROR                                                                          14.4287109 TABLE
    SYS_LOB0000737548C00014$$                                                        9.93554687 LOBSEGMENT
    WMSERVICE                                                                        6.00488281 TABLE
    WMSESSION                                                                        5.11621093 TABLE
    SYS_LOB0000737571C00017$$                                                        4.61914062 LOBSEGMENT
    WMCUSTOMPROCESSDATA                                                               2.8046875 TABLE
    SYS_C00511081                                                                    1.25097656 INDEX
    IDX_SVC_COM1                                                                     0.95501708 INDEX
    IDX_SESS_AUDTM                                                                   0.92291259 INDEX
    .Does anyone have a query which will list the actual table sizes which is calculated after summing up all LOBs and Partitions in that table ?
    For example;
    If table EMP has 3 LOB columns, in user_segments , it will appear something like
    SEGMENT_NAME                                                                          GB     SEGMENT_TYPE
    EMP                                                                               3           TABLE
    SYS_LOB0000737548C00014$$                                                         7           LOBSEGMENT
    SYS_LOB0000451978C00014$$                                                         2           LOBSEGMENT
    SYS_LOB0000875128C00014$$                                                         5           LOBSEGMENTThe total size of EMP table is 3 + 7 + 2 + 5 = 17 GB
    I am looking for query which will do a lookup in DBA_LOBS and DBA_PARTITIONS and add up space for each table.
    So, my required output will looks like
    TABLE_NAME          Size
    EMP               17g
    DEPT                1g
    WMERRORS          104g
    .

    Hi Garry,
    the segment_name in DBA_SEGMENTS can be used to group all table partitions of a partitioned table. So we only have to join DBA_LOBS to DBA_SEGMENTS and group the result rows:
    with
    basedata as (
    select owner
         , segment_name
         , segment_type
         , round(sum(bytes)/1024/1024/1024) gb
         , sum(bytes) bytes
         , count(*) segment_count
      from dba_segments s
    group by owner, segment_name, segment_type
    lobs as (
    select owner
         , table_name
         , segment_name
      from dba_lobs
    all_segs as (
    select coalesce(lobs.table_name, basedata.segment_name) table_name
         , basedata.*
      from basedata
      left outer join
           lobs
        on (basedata.segment_name = lobs.segment_name
            and basedata.owner = lobs.owner)
    select table_name
         , sum(bytes) bytes
         , sum(gb) gb
      from all_segs 
    group by table_name
    having sum(gb) > .1;Regards
    Martin

  • Configure Deferred Tax and retention amount in 4.6c

    Hi,
    Please provide the configuration steps for Deferred Tax and retention amount in the vertion 4.6c.
    Also please let me know is it possible in the said version.
    Regards.
    Gagan

    Hi Su,
       Thanks for the answer.
       But we already have code page 6200 setup and hence just need to add in language Thai.
       The problem now is we don't know what other solutions are available apart from MDMP? Even going from ambiguous code page 6200 to MDMP seems like not feasible(from your reply)? Do you know what are the consequences if MDMP is converted from blended codepage.
       Do you know of any way that all the languages could co-exist without going on MDMP?
       Thank you.
    Rgds,
    David

  • Mobilization Advance and Retention

    Hi SAP users
    i am having problem in posting Mobilization Advance and Retention Money for each vendor which has to be updated in SAP system. i have done the customization in OBYR but still having difficuilty.
    can anyone give me the solution for the following problem.
    Edited by: sundeepkumar on Sep 8, 2009 9:11 AM
    Edited by: sundeepkumar on Sep 8, 2009 9:14 AM

    Thank you Anirudh,
    Lets talk with values indetail. I am talking about only first invoice values. Here there are two possibilities of raising invoice:
    1st possibility
    1)     Proo          50000
    2)     ZADV          -1000
    3)     ZRET          -5000
    Net Amt     35000
    Finally only one accounting document for 35000
    Here billing document will be as per my requirement which is 35000 (which customer will pay now). And for adv I donu2019t need a/c doc. BUT FOR RET WHAT TO DO?
    2nd Possibility
    1)     PROO          50000
                         Net Amt                           50000
    I will split the accounting documents with the payment terms as 20% + 10% + 70% (total 3 A/C docs). First one (10000) will be cleared against adv paid. Second one will be in open (5000)(so that we can have track of ret amt), third one (35000) will be cleared as soon as the current invoice is raised. BUT CUSTOMER WILL NOT ACCEPT THIS BILLING DOCUMENT AS HE IS PAYING ONLY 35000 AS OF NOW (NOT 50000)
    In first possibility I am able to raise the invoice for 35000 for which the customer will pay now, but the problem is about the ret. System will not show the ret outstanding anywhere.
    In second possibility I am able to get the outstanding for retention as separate a/c doc and will be in open, which I need. But I am raising the billing for 50000, where the customer needs only for 35000, because he will pay only 35000 as of now.
    I hope I am clear now. Please guide me with some solution for this. If still you are not clear give me your phone number, I will explain you. Kindly give me some solution for this.
    Thanks in advance Kumar

  • Messaging Records Management: loss of functionality between Managed Folders and Retention Policy

    In Exchange 2007 and 2010 you can use Managed Folders with Managed Content Settings to act on messages based on when they were moved into the folder. E.g.,
    New-ManagedContentSettings -Name DeleteJunk -FolderName ManagedJunk -MessageClass * -RetentionEnabled $true -RetentionAction DeleteAndAllowRecovery -AgeLimitForRetention 30 -TriggerForRetention WhenMoved
    will delete items 30 days after they're moved into the Junk E-Mail folder designated by the Folder Name "Managed Junk".
    However, Exchange 2010 introduces Retention Policies as an alternative to Managed Folders, and Exchange 2013 drops Managed Folders entirely. With a Retention Policy, it's impossible to specify a TriggerForRetention. See http://technet.microsoft.com/en-us/library/dd335226%28v=exchg.141%29.aspx
    and note that New-RetentionPolicyTag lacks -TriggerForRetention as a parameter. If you Get-RetentionPolicyTag | fl you can still see a TriggerForRetention value, but it's "WhenDelivered" and can't be changed.
    Both http://technet.microsoft.com/en-us/library/bb430780%28v=exchg.141%29.aspx (Exchange 2010) and http://technet.microsoft.com/en-us/library/bb430780%28v=exchg.150%29.aspx (Exchange 2013) describe a rather convoluted method used to determine the age of
    a message for retention purposes, but I don't know whether to believe those pages. It seems apparent, though, that basing a message's age on WhenDelivered can easily produce undesired results.
    Consider a Retention Policy Tag placed on the Junk E-Mail folder which will perform DeleteAndAllowRecovery on items older than 30 days. A message arrives on 01/01/15 and is classified as Junk. It immediately starts aging based on the date 01/01/15. The user
    find the message, which was misclassified, and moves it to another folder. Since there's no way to set a TriggerForRetention based on WhenMoved, the message continues to age from 01/01/15. 90 days later, while the user is reviewing their mail, the user accidentally
    clicks the Junk button on the message. Because the message is more than 30 days old, it's deleted immediately.
    1) Am I correct? Or is there a way to use Retention Policies so that messages are acted on based on how long they've resided in their current folder?
    2) What do I have to do to get Microsoft to add the ability to change the TriggerForRetention on a Retention Policy Tag in Exchange 2013?
    Note, I'm not the first person to raise this issue. It's been discussed in a number of places including TechNet. Here are a few:
    http://social.technet.microsoft.com/Forums/exchange/en-US/82c01e6e-0184-4d25-b803-45a604ca0c68/retention-policy-tag-problem?forum=exchangesvrsecuremessaginglegacy
    http://www.shudnow.net/2010/04/08/exchange-2010-sp1-retention-policies/
    http://social.technet.microsoft.com/Forums/exchange/en-US/82c01e6e-0184-4d25-b803-45a604ca0c68/retention-policy-tag-problem

    By default there is no property on a message to identify a message is moved from one folder to another.Managed folder used to stamp a new property Moveddate on the message when the ContentSetting on the target folder was set to WhenMoved.
    WhenMoved functionality is not available with Retention Policy . You can raise your concern to make this functionality available by opening a ticket with support.

  • Confusing Application of Archive and Retention Personal Tags and Policies

    I created some custom personal tags and applied it to the retention policy assigned to my account and started the managed folder assistant on my mailbox and when I saw the new tags in Outlook, I applied personal tags at the folder level of all of the folders
    in my Outlook 2010 profiles by right clicking on each folder, selecting Properties, then selecting Folder Policy, then selected the retention and archive policy I wanted and then clicked OK to save the settings.
    After about 15 minutes, I had finished going through all the folders, I went back to look at the folder properties and instead of showing the custom policies I just set, they have "Use Parent Folder Policy" selected on the Policy tab for both Folder
    Policy and Online Archive.  It looks like the settings are not being saved/applied or they are reverting back to defaults.  However, some messages show retention and archive dates and some messages are moving to my archive mailbox.
    This is confusing to me, so this looks like it is going to generate a large amount of tech support calls when we roll this out and it will be difficult to explain to end users how this works.
    Our retention policy does not contain any default archiving policy or retention policy on the Inbox (the 2 year default was not applied) to our policy.  So mail in the Inbox is not automatically moved unless a user applies a personal tag to archive
    and delete the messages.
    How is this supposed to work and how long does it take for folder policies to be applied from personal tags and then work as expected in Outlook?

    As for when the managed folder assistant runs, it depends on your Service Pack level.  For Exchange 2010 SP1 and later, the retention policies run 24x7 with a throttling policy applied to the Mailbox Folder Assistant.  Also, there is no guarantee
    that the managed folder process will necessarily finish in the time allotted.  In fact, there should be messages on the Exchange server side that document how many mailboxes were processed and I think, how many were not.
    For the timing in general, if a tag is applied, my understanding is that with the default settings it could be up to a day, if not longer until things begin processing. It depends on what window you have for retention policies to process, what might
    already be in the queue to process next, etc.
    For the Start and End date question, my assumption would be that on the day that it is supposed to start, it will be placed in the queue to be processed as soon as possible,  The same for the end date.
    Hope that helps.
    More good resources:
    http://windowsitpro.com/blog/workcycles-and-managed-folder-assistant-mfa
    http://technet.microsoft.com/en-us/library/bb123958(v=exchg.141).aspx
    http://blogs.technet.com/b/samdrey/archive/2011/11/16/exchange-2010-retention-policy-tag-not-available-immediately-after-definition-in-emc.aspx
    JAUCG - Please remeber to mark replies as helpful if they were or as answered if I provided a solution.

  • @Lob  and @Basic(fetch = FetchType.LAZY) doesnt work!

    I'm trying to use @Lob with lazy loading but it doesn't work.
    How can I lazy load a blob/clob? (without using another table) Is it possible?
    SGDB is oracle 10.2.0.2.0
    Oracle JDBC driver Version: 10.1.0.5.0.
    I'm using the JavaServiceFacade generated by JDev10131.
    TopLink version: Oracle TopLink Essentials - 2006.7 (Build 060720)
    @Entity
    @NamedQuery(name = "Doc.findAll", query = "select o from Doc o")
    @Table(name = "DOCS")
    public class Doc implements Serializable {
        @Lob
        @Basic(fetch=FetchType.LAZY)
        private byte[] doc;
        @Id
        @Column(nullable = false)
        private Long id;
        public Doc() {
        public byte[] getDoc() {
            return doc;
    ....gets/sets

    I'm trying to use @Lob with lazy loading but it
    doesn't work.Fetch type is a "hint" to the runtime and the spec doesn't require it to be implemented.
    Right now, lazy loading of basic mappings isn't supported in TopLink Essentials. For now you'll have to use a second entity and table if you must have lazy loading of the lob.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How to install OSB Ide in 64 bit  window 7 OS

    I have download 64 biit ide and point it while doing OSB installation but not workign getting error and I am using 11.1.1.5 version of OSB . Anyone please help me this Manoranjan

  • Exception in Module Processor

    Hi All, I want to know wot happens when an exception occurs in a module processor?i hav a requirement in which i hav to pass adapter module a message when nothing goes wrong in a custom module processor.If an exception is raised in the module process

  • Fonts not updating in Illustrator CS4

    Dear Adobe Community: I am using the text tool and adding text to a document.  This is "artistic" text, not paragraph text without any appearance filters or effects applied.  When I try to choose a different font than the default which I believe is M

  • Rationale for Repairing Disk Permissions

    I repair permissions before and after installations, and I suggest others to do so. However, I have read in some threads in Discussions there there is no technical basis for repairing disk permissions before installation, and that only repairing afte

  • XI - XI scenario

    Hello, I have a B2B scenrio with iDoc->XI->XI->iDoc configuration, I would like to know what are your recommendations for designing such an interface. It's quite tricky because I am dependant on the remote interface, and they preffer to expose web se