Can I disable logging for session in Oracle 10g?

I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
How to do it?
What is the best choice? Can I disable logging from session in Oracle 10g?
Thank you
Edited by: jetq on Jul 23, 2009 9:46 AM

Hi,
"Delete" without generating redo-log is not possible.
If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
Have fun.

Similar Messages

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • SNR License Issue. How Can I Disable SNR for all Users?

    Hi,
    I Have an issue with SNR on CUCM 10.5 and with assignement of license type
    I have a cluster with 400 users.
    200 users use ip phone 3905 and should be use an Essential License.
    When system check for assignement of license type , itassign a Basic License instead of an Essential License, because it see that users have SNR Enabled.
    All users in my system have SNR enabled, and I can not disable it. All my user have Enable Mobility unchecked, and all my phone have Device Mobility Off, but system however see SNR enable.
    How can i disable SNR for all users? This is a feature that client don't need.
    I dont' have a sufficent number of licenses for support all 3905 in Basic License.
    thanks for help.
    Andrea

    Well actually, Mobile Identity wouldn't apply to a 3905 unless those phones had another line on a Dual-Mode device like an iPhone or Android phone.  So unless you have either of those in your system you can scratch that idea.  Someone else may chime in here and try to help a bit more as RD/RDP are the main SNR culprits.

  • How can I disable notification for new install update for adobe??

    How can I disable notification for new install update for adobe (adobe reader, flash player, etc.)
    Is there way from SCCM2012 or group policy or any easy way?????
    Please help me

    If you mean the built-in functionality of Adobe Reader and Adobe Flash, it's different mechanism for both.
    For the reader, check this guide for example:
    http://www.adminarsenal.com/admin-arsenal-blog/bid/84409/Adobe-Customization-Wizard-XI-Tutorial
    For flash, check this guide for example:
    http://jthys.wordpress.com/2012/07/07/disable-automatic-updates-for-adobe-flash-shockwave-player-reader/
    After you've studied the above guides, you need to implement those to be used with ConfigMgr application deployment so that when you deploy Reader/Flash, you get the result you want = no automatic update functionality.

  • Lync - Can I disable video for P2P but enable it for conferencing?

    Can I disable video for P2P but enable it for conferencing?
    I know this is an odd request but can anyone help me find any information that confirms if this is possible or not?

    Actually there is an extended policy introduced with one of the previous cumulative update.
    Having applied the latest CU on both server and the clients, IgnoreEnableP2PVideoPolicyInConf policy would enable the exact behaviour.
    Before running the cmdlet below for a client policy, please confirm that that AllowIPVideo is set to True and EnableP2PVideo is set to False for that user.
    set-csclientpolicy IgnoreEnableP2PVideoPolicyInConf -PolicyEntry @{add=New-CsClientPolicyEntry -Name IgnoreEnableP2PVideoPolicyInConf -Value 1}
    Hope that helps
    Perfect
    same bug in lync 2013 and It works for Lync 2013 too

  • Disable Logging for DWR

    I started using DWR (great product), however I am tired of looking at the DWR logging messages on the console.
    Example:
    12:28:21,438 INFO [ExecuteQuery] Executing: public java.util.List com.at.struts
    .dwr.RetreiveActionItems.getCompletedItems()
    I am running JBoss and I tried to disable it in the log4j.xml by doing the following:
    <category name="uk.ltd.getahead.dwr">
           <priority value="ERROR"/>
           <appender-ref ref="TRAP_LOG"/>
      </category>
      <category name="com.at.struts.dwr">
             <priority value="ERROR"/>
             <appender-ref ref="TRAP_LOG"/>
      </category>Could someone please tell me how to disable logging for DWR?

    SIGH
    Crossposted. See original topic:
    http://forum.java.sun.com/thread.jspa?threadID=686655

  • How to block Sql Plus sessions in Oracle 10g

    Hi,
    I want to block all sql plus sessions in oracle 10g, as we have a application and we need each and every one to use this application not the sql plus session.
    Kindly update us as soon as possible. and also thanks in advanced.

    Understand the concept Karl, but a layered defense seldom works in the IP world. If I manage to get through the firewall, then how can you prevent me access, at IP level, at any other ISO stack layer? If you manage to get through, then your firewall policies could just be too weak :) at least you must have some kind of an IDS infrastructure in place..
    what I mean is, you can have infinite number of threats.. and this will be part of your Risk Analysis. Determining all possible threats to the assets, what are being protected and their associated value, and predicting the rate of occurrence.... with all of these you could probably come up with contingency plans and incident response.. And most of all, you should not ignore the fact that people are creative, ingenious, and curious, and they'll prove this to you by testing your security implementations. So you'll have to periodically evaluate your security.. that's why there are audits.. Also, you must balance Security, Performance, Usability, and your Budget.
    Yes, you can argue that if the entire firewall goes down (thus no IP defense), then something like DBV (or even denying IPs in sqlnet) can provide some defense. But is that not then a case of too little too late? It's better too little too late, than no protection at all... Imagine if there's no DBV, or if you have not implemented the concept of "Least Privilege"? or if the backups and exports are not encrypted? That would be more devastating.. that's the importance of database security options and features in providing "defense in depth"
    I question just what purpose and how effective IP packet security is at higher layers. It can never substitute doing this instead at firewall level. Well, it's not all about network security. All facets must be considered and the inter-relationships should be understand. Like the core information security and access management, physical and personnel security, training them, etc... And all of these are equally important in providing a secure ecosystem
    As for security that relies on the client to pass secure data (like executable name or o/s user name)... all this can easily be spoofed. Even if the app and Oracle driver are somehow digitally signed and these signatures can be verified on the server side, we only need to look at Vista to see how secure this really would be. Microsoft attempted to encrypt every single h/w and s/w layer from the physical DVD track to the pixel on the monitor.. and this was defeated. And this was done as o/s kernel level. It is less complex to hack at driver level and even trivial to do it at application level.Security is about risk management. Blocking SQL*Plus does not negate the risk of SQL from the wild being run on a production server. For example, the client is a VB client using ODBC. It is easy to create a proxy that accepts the ODBC connection from the VB client and proxy the OCI packets to the real Oracle server. Now you have a man-in-the-middle than can inspect every single SQL call made to Oracle, and inject any PL/SQL or SQL code it wants.
    Security is far beyond writing a login trigger to deny SQL*Plus sessions and calling that a defense. >
    Yes I agree with you. That's why there are independent organizations and regulating bodies that provides security best practices, to give us a headstart on comming up of strong security policies.
    And one of my favorites is the one provided by IASE (sponsored by Defense Information Systems Agency) where there's lot of content regarding hardening and policies
    http://iase.disa.mil/stigs/stig/index.html
    http://iase.disa.mil/stigs/checklist/index.html
    http://iase.disa.mil/stigs/SRR/index.html
    - Karl Arao
    http://karlarao.wordpress.com

  • Can I run 32 bit version of Oracle 10g grid  on Linux x86-64?

    Since Oracle did not release 64 bit version of Oracle 10g grid for Linux X86-64. Can I run 32 bit version of Oracle 10g grid on Linux x86-64? If so did anyone tried this? and also any known issues?

    All I had to do was use the 32bit version of "/usr/bin/gcc" and "/usr/bin/g++" to run the installation
    That is:
    bin]# cp -p /usr/bin/gcc /usr/bin/gcc_old
    bin]# mv /usr/bin/gcc /usr/bin/gcc323
    mv: overwrite `/usr/bin/gcc323'? y
    bin]# ln -s /usr/bin/gcc296 /usr/bin/gcc
    bin]# cp -p /usr/bin/g++ /usr/bin/g++_old
    bin]# mv /usr/bin/g++ /usr/bin/g++323
    mv: overwrite `/usr/bin/g++323'? y
    bin]# ln -s /usr/bin/g++296 /usr/bin/g++
    AFTER INSTALLATION REMEMBER TO
    move back the 64bit files to their former state.
    bin]#rm /usr/bin/g++
    bin]#rm /usr/bin/gcc
    bin]#mv /usr/bin/gcc_old /usr/bin/gcc
    bin]#mv /usr/bin/g++_old /usr/bin/g++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can we validate a userid/pasword in Oracle 10g

    Hi Everyone,
    Can we validate a userid/password in Oracle 10g while we are already connected to Oracle.
    The way I am doing it in 9i is,
    create a database link and read some data from the database using the database link.
    Any suggestions please.
    Thanks!

    If you are already connected to Oracle, why would you need (or want) to validate a user name & password? If the connection was successful, Oracle has already validated the user name & password...
    Are you trying to build your own proxy authentication mechanism? If so, I'd strongly suggest using Oracle's built-in functionality instead.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • Why i can't not create new database in oracle 10g express

    why i can't not create new database in oracle 10g express?
    should i use oracle 11g standard edition?
    thanks

    In Oracle a schema is what a 'database' is in Sqlserver.
    And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
    However, probably you don't need a new database at all, and a schema will suffice.
    Sybrand Bakker
    Senior Oracle DBA

  • Lots of Inactive perl sessions in Oracle 10g r2 on Debian Linux 64 bit

    Hi,
    There are lots of Inactive perl session in Oracle 10g release 2 10.2.0.3.0 on Debian Linux 64 bit, is it normal
    ps aux|grep oracle is showing following in processes of perl
    /home/u01/app/oracle/product/10.2.0/database1/perl/bin/perl /home/u01/app/oracle/product/10.2.0/database1 /sysman/admin/scripts/db/dbarchfull.pl

    Hi,
    There are lots of Inactive perl session in Oracle 10g release 2 10.2.0.3.0 on Debian Linux 64 bit, is it normal
    ps aux|grep oracle is showing following in processes of perl
    /home/u01/app/oracle/product/10.2.0/database1/perl/bin/perl /home/u01/app/oracle/product/10.2.0/database1 /sysman/admin/scripts/db/dbarchfull.pl

  • Can any one provide steps to install oracle 10g on RHEL5

    can any one provide steps to install oracle 10g on RHEL5...:)

    go through http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
    & http://www.emrealadag.com/dosyalar/it/Ora10gonRhel5.pdf
    Edited by: CKPT on Nov 23, 2010 7:15 PM

  • Can I disable adblock for specific web pages?

    I would like to disable adblock for two websites, can this be done, or is the only option to have it enabled or disabled for all web pages? If I can disable it for two websites, how do I do it?

    Yes, you can tell disable adblock on sites you choose. Go to each
    web site one at a time. After the page has loaded, go to
    the adblock icon and right click on it. One of the options
    is to disable adblock on that site. Be very careful as there
    is also an option to disable on '''''ALL SITES'''''.

  • Can I disable firewall for only VoIP; does firewall affect both ends of call?

    Hello AT&T Forum! Question 1: Can I disable the AT&T modem for only my VoIP phone line and have it enabled for everything else? I have got Vonage VoIP telephone. I have been having issues with callers on the other end. It happens on both outbound calls and inbound calls. The person(s) on the other end tell me that my voice is choppy. It does not happen on every call. On most of the calls the person on the other end can hear me really good. It's just some of the calls that it's choppy on the other end. Also, on my end it's always crystal clear. A Vonage technician has told me that if the problem continues then I will have to disable the firewall in my modem. It seems that if it were the firewall causing the problem it would be choppy on my end as well. But it's not choppy on my end. Question 2: If the firewall were causing the line to be choppy on the other end would the line on my end be choppy as well? Thank you in advance.   

    
    Question 1:
    What is the model of your wireless gateway? Different gateways have different settings.
    Question 2:
    Well, there are different inbound/outbound firewall rules, but I'm not sure if the firewall is actually your problem.
    What AT&T tier do you subscribe to?

Maybe you are looking for

  • OFFICE 2013 HOME AND BUSINESS does not work With Blackberry Destop Software 7.1

    Hi, I have read somewhere that I should use BlackBerry Desktop Software 7.0, but where can I found it to download it and install it? Or when does RIM plan to release a new version of its BlackBerry Desktop Softwware that comply with Office 2013? Best

  • Ipod Touch Won't Sync To Itunes

    Here's my story. Please let me know if you can help. I purchased a 4th generation Ipod Touch, I plugged it into my computer and It said I needed the version 10.5. or later, so I went and purchased the new version of Mac OS X Snow Leopard 10.6.3. I in

  • CSS Help! Inserting flash into a div has caused layout change

    Hi, I am trying to insert flash into a div. I'm new to CSS so I think I must be doing something wrong. As soon as I insert the flash the layout goes wrong and all divs below it are pushed down out of my "main" div. I've now taken the flash.swf out an

  • Can't delete dynamic parameter after deleting command

    I have a report that I inherited.  It used commands instead of stored procedures to retrieve the data.  I needed the data in a stored procedure, so I went through and systematically switched everything over to the stored procedure fields.  When I tho

  • Iomega Home Media Network Hard Drive contents not appearing in iTunes

    I'm running iTunes 10.5.1 on my MacBook which is running OS X 10.6.8 I've got an iomega Home Media Network Hard Drive ( http://tinyurl.com/l8jmaa ) NAS hooked up to my home intranet, and I use it as the master repository for all my music for iTunes,