Partition rotation to drop the partition range partition.

Hello,
We have a dba owned package which will rotate the partition, auto_date_rotate('tablename', 'param2'); 2 nd parameter is days in advance meaning if it is 2 days, it will keep 2 days worth data. Now, I have to automate my purge job using the above package. how can i find no of times i need to rotate? when i run the job? i have 3 tables 1 with 30 mins range and other 2 with 1 day range. please give your ideas, I am new to partitioning on tables.
Thanks in advance..

Hello,
We have a dba owned package which will rotate the partition, auto_date_rotate('tablename', 'param2'); 2 nd parameter is days in advance meaning if it is 2 days, it will keep 2 days worth data. Now, I have to automate my purge job using the above package. how can i find no of times i need to rotate? when i run the job? i have 3 tables 1 with 30 mins range and other 2 with 1 day range. please give your ideas, I am new to partitioning on tables.
Thanks in advance..

Similar Messages

  • Impact of drop the bad partition

    Hi,
    We have one partitioned table, As the part of adding new partions we are drop the bad partition(name of partition).
    Is there any impact of our DB.
    If that partition is having data what will be tha impact??
    ALTER TABLE ASR.AR_ILS_INTERIM_ILL DROP PARTITION BAD_PART VALUES LESS THAN (MAXVALUE)
    LOGGING
    NOCOMPRESS
    TABLESPACE DETAIL_PART
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 25M
    NEXT 25M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    DB is in : 9.2.0.6
    Plz help me...

    Srini wrote:
    Hi,
    We have one partitioned table, As the part of adding new partions we are drop the bad partition(name of partition).
    Is there any impact of our DB.
    If that partition is having data what will be tha impact??
    ALTER TABLE ASR.AR_ILS_INTERIM_ILL DROP PARTITION BAD_PART VALUES LESS THAN (MAXVALUE)
    LOGGING
    NOCOMPRESS
    TABLESPACE DETAIL_PART
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 25M
    NEXT 25M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    DB is in : 9.2.0.6
    Plz help me...the data in that partition will no long be accessible.

  • Acrobat 8 Professional 8.1.2 crashes When selecting "Rotate Pages" from the "Document" drop down men

    When selecting "Rotate Pages" from the "Document" drop down menu Acrobat 8 Professional 8.1.2 crashes. Every time, no error mesage. Have run "Repair Acrobat Installation" with no success. Any suggestions? Thanks

    I am also experiencing the same problem only recently.  I have used the program for almost a year without any problems except now.  Adobe Acrobat 8 standard, ver 8.1.5.
    Whenever I insert pages or rotate, I get an immediate shut down window, “Adobe Acrobat 8.1 ahs encountered a problem and needs to close.
    I am no longer able to use this program.  Abobe Acrobat 5.0 still works fine.  Does anyone have a solution?  I already did a repair and reloaded the program.

  • How can I drop the java objects from a schema

    hi..good afternoon all...
    How can I drop the java objects from a database schema???
    suppose the credentials are scott/tiger@db1
    Another thing is that...I have to do this from cmd(command prompt) as there is no plsql developer or sqldeveloper installed in the machine.
    plss help...thanks in advance...

    hi...i have already tried all the options..but it is showing the error..
    ora:01435 - user does not exist
    but when i have given the command...
    select object type, object_name, status from user_objects where object_type like'%JAVA%';
    then it is showing that the java_object is present....
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    SQL>
    SQL>
    SQL> set linesize 200
    SQL>
    SQL>
    SQL>
    SQL> select object_type, object_name, status from user_objects where object_type
    like '%JAVA%';
    OBJECT_TYPE OBJECT_NAME
    STATUS
    JAVA CLASS javaclass1
    VALID
    JAVA SOURCE javaclass1
    VALID
    SQL> drop java source javaclass1.java;
    drop java source javaclass1.java
    ERROR at line 1:
    ORA-01435: user does not exist
    SQL>

  • How to drop the last diskgroup in ASM 11g?

    Hello,
    I installed an ASM instance and created a DATA diskgroup using the Oracle installer. I would like to drop the diskgroup and re-create it using partitions instead of disk devices in order to use ASMLib.
    I have not found a way to get rid of the DATA diskgroup yet. How do I get rid of it?
    [+ASM@asm]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 3 20:12:05 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> DROP DISKGROUP data INCLUDING CONTENTS;
    DROP DISKGROUP data INCLUDING CONTENTS
    ERROR at line 1:
    ORA-15039: diskgroup not dropped
    ORA-15027: active use of diskgroup "DATA" precludes its dismountI used the following for data_0000 - data_0005, thinking it would be a good idea to drop each disk before dropping the diskgroup - which worked, although I had to use force for data_0000;
    SQL> alter diskgroup data drop disk data_0006;
    ... etc...
    SQL> alter diskgroup data drop disk data_0000 force;It all looks a bit weired now:
    SQL> select name, header_status, path from v$asm_disk;
                        MEMBER        /dev/sda
    _DROPPED_0000_DATA  UNKNOWN
    DATA_0001   MEMBER        /dev/sdb
    DATA_0002   MEMBER        /dev/sdc
    DATA_0003   MEMBER        /dev/sdd
    DATA_0004  MEMBER         /dev/sde
    DATA_0005   MEMBER        /dev/sdf
    SQL> alter diskgroup data dismount force;
    Diskgroup altered.
    SQL> alter diskgroup data mount;
    Diskgroup altered.
    SQL>

    Thanks for the reply.
    Unfortunately I cannot use EM since I do not have any database installed that uses the ASM instance yet, and to my knowledge ASM alone does not provide a web console.
    Anyway, I finally just manged to drop the diskgroup. Normally a diskgroup needs to be mountedto be dropped, but the force clause can be used for a diskgroup that is dismounted. So I tried it with the diskgroup dismounted... and it worked.
    SQL> alter diskgroup data dismount force;
    SQL> drop diskgroup data force including contents;
    Diskgroup dropped.
    Thanks!
    Edited by: Markus Waldorf on Sep 3, 2010 6:13 PM

  • INST-08010: Error in validating the port range for auto port allocation

    Hello guys, I am using the installer to install OBIEE 11.1.7.0 on my machine. When I get to step 6, I receive the error messages below:
    INST-08010: Error in validating the port range for auto port allocation. At least 2 ports should be free within the range 7000-7500 for the Adminserver and Adminserver SSL.
    Ensure that a minimum of 2 ports are free within the range 7000-7500 for auto port allocation to work correctly for the Adminserver and Adminserver SSL.
    INST-08010: Error in validating the port range for auto port allocation. At least 3 ports should be free within the range 9500-9699 for the Weblogic Components for BI (WLS Managed Server, Managed Server SSL and NodeManager).
    Ensure that a minimum of 3 ports are free within the range 9500-9699 for auto port allocation to work correctly for the Weblogic Components for BI (WLS Managed Server, Managed Server SSL and NodeManager).
    INST-08012: Error in validating the port range for auto port allocation. At least 3 consecutive ports should be free within the range 9500-9699 for the OPMN, in addition to 3 free ports required for Weblogic Components for BI (WLS Managed Server, Managed Server SSL and NodeManager).
    Ensure that a minimum of 3 consecutive ports are free within the range 9500-9699 for auto port allocation to work correctly for the OPMN, in addition to 3 free ports required for Weblogic Components for BI (WLS Managed Server, Managed Server SSL and NodeManager).
    My Operating System  below:
    Linux Red Hat 5.9 X86 64bit
    My uname -a are below:
    Linux redhat59 2.6.18-348.el5 #1 SMP Wed Nov 28 21:22:00 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    My /etc/hosts file are  below:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1   localhost.localdomain localhost
    10.10.80.19 redhat59
    My /etc/sysconfig/network are below:
    NETWORKING=yes
    NETWORKING_IPV6=no
    HOSTNAME=redhat59
    GATEWAY=10.174.27.228
    My /etc/sysconfig/iptables are below:
    # Generated by iptables-save v1.3.5 on Tue Dec  3 17:01:17 2013
    *filter
    :INPUT ACCEPT [425:33860]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [307:40164]
    COMMIT
    # Completed on Tue Dec  3 17:01:17 2013
    My ifconfig are below:
    eth0      Link encap:Ethernet  HWaddr 52:54:00:55:9B:C9
              inet addr:10.174.27.233  Bcast:10.174.27.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:200216 errors:0 dropped:0 overruns:0 frame:0
              TX packets:95849 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:110668992 (105.5 MiB)  TX bytes:209784134 (200.0 MiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:109200 errors:0 dropped:0 overruns:0 frame:0
              TX packets:109200 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:257845896 (245.9 MiB)  TX bytes:257845896 (245.9 MiB)
    my /etc/sysconfig/network-scripts/ifcfg-eth0 are below:
    # Virtio Network Device
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=10.174.27.255
    HWADDR=52:54:00:55:9B:C9
    IPADDR=10.174.27.233
    NETMASK=255.255.255.0
    NETWORK=10.174.27.0
    ONBOOT=yes
    Have any suggestion please?
    Many Thanks
    D

    In setDomainEnv.sh set debugFlag=false or you can just remove it.
    NodeManager is a charm after that. it can take any number of ports.
    Cheers !!

  • Why is the AEXn Range @ pure 5GHz only 30 feet?

    I recently went through the hassle of upgrading to wireless N twice - the first time not realizing the problems present in 2.4GHz channel bonding. After realizing this and upgrading all my hardware to 5GHz compliant hardware including the AEXn Gigabit Edition, I was pretty happy that I got 5GHz and 300Mbps connections.
    However, I've always seen that N is touted as a faster and farther range alternative. However, in a space where there are no walls, my 5GHz signal range is only about 30 feet. After that, it drops off sharply - even more so when I move slowly up the stairs. Once I reach the top of my stairs, the signal is gone.
    On 2.4GHz N only mode, I get range all over the house and consistently achieve a 13 to 30Mbps in the farthest reach of the house at well over 200 feet through walls and such. While within decent range of 50 feet or less, I achieve the maximum 130Mbps for 2.4GHz. Why is the signal degredation so ridiculously high when using 5GHz? I was trying to find the power output for the 5GHz antenna but have been unable to find it. Alternatively, is there a way to mod the AEXn to transmit both 5GHz and 2.4GHz simultaneously? Or is that a hardware limitation that cannot be adjusted?
    As a side note, I've eliminated all 5GHz handsets and cell phones from the house while running my tests. In addition, I have also replaced all our house phones with 1.9GHz phones with the only 2.4GHz device being a baby monitor, which is off most of the time. There is also about 500 feet from my router to neighbors on both sides of my house - so it's hard to picture them causing 5GHz interference. any suggestions?
    Message was edited by: Chuck H.

    I pretty much have the same experience. To get 5GHz channel service on my third floor I had to "extend the network" with a second AEBSn, which drops the effective rate from 300 to 108. Still better than 54, but not as good as 300. On the first floor get 300.

  • E1200 - drop the internet connection

    I previously owned a wrt54g G router and had that for many years before it finally died. I wanted to stick with Cisco since the last one lasted so long and never gave me any issues. I bought the 1200 and setup was pretty simple as the user interface was the same. The first issue I had was that the router would drop the internet connection and I would have to disconnect the ethernet line from the router and plug it into my ps3 or other device to get the modem to activate the internet again. Somehow the router will not grab a signal once it is lost. Reseting the router will not work or will unplugging it. This has happened about 3 times already in about 2 weeks. My home is about 3000 sq ft and although the signal in my office used to be at 2 bars with the G router I now have 3 bars so not that big of a range difference with the N router. I will be returning this and switching to a Belkin to try out.

    There are many reasons why you experience poor signal or connection. Your intermittent wireless connection has a relation to the kind of setup that you have in your home or office. Is the connection dropping on all wireless computers or just one?
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
    1] Open the software and go to the option which says "Router Settings"
    2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
    3] Lower the MTU (Maximum Transmission Unit) from 1500 to 1492 or less (usually found on your router's main/ basic setup page)
    4] Then go to the Wireless tab, keep network mode as mixed,
    For Channel Settings of 2.4 GHz you can make Channel Width to 20 MHz only and Channel to 6, 9, 11..
    For Channel Settings of 5 GHz you can make Channel Width to 20 MHz only and Channel to 40 or 161...
    These settings would have surly helped you...

  • Router dropping the internet connection

    Hi,
    I have a home network with a Linksys E4200 connected to the ISP's fiber box. The problem is that when I'm connected to the Linksys, either wired or wireless, the connection to the internet will drop after what seems to be a random amount of time (normally anywhere from 2-10 minutes). I can restore the connection by doing any of these things:
    -reboot Linksys
    -disconnect and reconnect cable from router to fiber box
    -if on wireless connection, make changes to the router wifi settings, like change the wifi channel.
    The internal network stays up, and I can ping both the internal and external ip of the router, but not the fiber box. I have also had the same behavior with an Edimax Wifi AP and less frequently with a Edimax router (once every 1-2 days). I have done everything I can think of:
    -changed the wifi channels
    -changed the ip ranges, subnets, turned router DHCP off and back on
    -booted the fiber box
    -changed cables
    -updated all routers to the latest firmware, the network cards with latest drivers
    ...and loads other things that I don't remember right now. 
    For the wifi side of things, there are no other networks in range that could interfere. The same problem occurs on both my and wife's Win 7 laptops and on the iMac (latest OSX). 
    Here's a fun detail: while the Linksys has lost its connection to the internet, I can still access the internet through the old Edimax router connected to the same fiber box, either wired or wireless. 
    Does anyone have any ideas what the cause could be?. I've exhausted all my good ideas so I'd be thankful for any suggestions
    Cheers,
    -Jens

    You can try the following combination of settings:-
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
              1] Open the software and go to the option which says "Router Settings"
              2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
             3] Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
             4] Then go to the Wireless tab, keep network mode as mixed,
     For Channel Settings of 2.4 GHz you can make Channel Width to 20 MHz only and Channel to 6, 9, 11..
     For Channel Settings of 5 GHz you can make Channel Width to 20 MHz only and Channel to 40 or 161...
             5] Then click on Security tab disable SPI Firewall Protection, uncheck Filter Anonymous Internet Requests...
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the user name field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.

  • Ora-00604,ora-01422 error while dropping the table

    Hi gurus,
    I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
    ORA-00604 : error occurred at recursive sql level 1.
    ORA-01422: exact fetch returns more than requested number of rows.
    Need urgent help.
    Thanks in advance

    Is there an AFTER EVENT trigger defined on this database? Can you check that?
    Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly).

  • Urgent : Unable to maintain the Number ranges for Excise Groups

    Hi CIN experts............
    In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production.
    J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific.
    When I go to Tools - Number Ranges to maintain number range for J_1IRG23A1, J_1IRG23A2 objects I didn't find these excise groups.
    Im able to see these Excise groups in Tools - Number ranges in Development server, but not in Production.
    Can any one guide me something to resolving the issue ?
    regards
    Durga Ram

    Hello Nagaraju,
    Can you please tell me the customozing path for maintaining the number ranges for PM log entries.
    I require to mention customizing path in my document.
    Puneet

  • Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Here's the short-cut solution:
    Green Apple tracks are MIDI files (so to speak). If you drag one from the loop browser (Capitol C Orchestral hit, as you mentioned in this exable) directly into the arrange page it creates the MIDI file and the instrument to play it back on.
    HOWEVER.If you create and audio track first, THEN drag the green Apple loop onto that track, the loop will get "bounced" with the reverb in tact and you'll have the exact sound that you heard in the preview.
    Make sense?

  • After sorting photos into albums, the albums disappeared on me. I dragged and dropped the photos and went back to check that they were in place before exiting the program. When I went back, the folder was there but no albums. Help!

    Working on an IMac - with IPhoto v.9.6 
    This is my first experience with IPhoto... trying to move files from a PC over to a Mac.
    I don't have a ton of photos but I created about 6 albums - standard albums - and dragged and dropped individual photos into each of the albums. I named each of the albums as well so I would know what was in each. After i was finished, I created a folder called 2014 and moved each of the albums into that folder. Before moving ANY of the albums, I opened each of them up to make sure that all the photos I wanted in each were indeed there - and since there were some errors on my part, I deleted any duplicates first. SO, I KNOW the photos were actually in each of the albums BEFORE i moved them into the 2014 folder.
    My intention was to then delete the photo files in my document file but once I got there I thought I would go back and double check the IPhoto file just to make sure... and the pictures were NOT in the albums where I had placed them... is there a need to save this before you move on and if so, to where and how? I was under the impression that once files were moved to albums, they remain there.
    The photos are still in the photo library but unsorted now again... I cannot even open the 2014 folder at this point.
    Thanks for any help!!

    Was back on IPhoto this morning. The folder did not open at all so I deleted it. Beside Albums, nothing showed at all. It was like I had done no work at all except to import my photo folder. Nothing was in my trash bin either.
    I started again and created one album at a time. I dragged and dropped photos into the album and exited out of IPhoto, opened up other programs and then returned to IPhoto to see if the album was still there and it was this time. I created a second album and did the same thing. This time, for some reason, the albums seem to be staying in place. I am not doing anything differently than last time. After creating three albums, I created a folder called 2014 and dragged and dropped the three albums into the folder and exited IPhoto. They were still there when I returned - YEAH! It seems to be working - for now! I am keeping my fingers crossed that my photos are not going to disappear but I am not going to delete my photo folder from my files just in case!
    Thanks for the suggestions but this may just have been a funny glitch... not sure what happened. I didn't change anything or do anything differently this time except that I am doing it one album at a time and exiting the program between creating each of them and coming back to check... very strange.

  • I am having problems opening pages in safari. the rotating wheel at the right end of the address window doesn't stop even after the page has filled up. then if i try to open other pages it gets stuck and won't open them.

    I started having problems opening pages today. When first open a page it seems to download the page OK, but the rotating wheel on the right-hand end of the address field keeps rotating after the page is completely filled up. Then if I try to open other pages it becomes slower and eventually stops filling-in the pages, while the rotating wheel keeps rotating.
    I wonder whether junk is being downloaded into my mac, or what is going on. Help will be geatly appreciated.

    When was the last time you emptied the Safari cache?
    From your Safari menu bar click Safari > Empty Cache
    If that didn't make a difference, go back to the menu bar click Safari > Reset Safari. Select the top 5 boxes then click Reset.
    And how much free space on the startup disk?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 15% free disk space. Freeing Up Hard Disk Space - Mac Guides
    If emptying cache or resetting didn't help and there's enough free space on the startup disk, login to another user account, launch Safari. Same problems there indicates a system wide problem. Log back into your admin account so you can check the startup disk.
    Launch Disk Utility. /Applications/Utilities
    Select MacintoshHD in the panel on the left then select the First Aid tab.
    Click: Verify Disk (not Verify Disk Permissions)
    If the startup disk needs repairing, follow the instructions for Using Disk Utility to verify or repair disks
    I wonder whether junk is being downloaded into my mac
    Nothing should "download" to your Mac unless you initiate the download yourself. You can check the Downloads folder from the Safari > Window menu or your Downloads folder in the Finder.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

Maybe you are looking for