Oracle 11g with too many years of data in tables

I have a facility with transactional tables that has records for many years. Queries on these tables are slow and I need to solve this problem in order to improve the speed of my application.

I think deleting all records of the past five years, but it's going to be a very complex task. I heard an order to mark some records in a table like inmmutables so applications will treat them in a different way and then I won't need to delete anything.

Anyone heard of this solution? What are the commands and steps to do?

Thank you

With the archiving of data, or any deletion of data, you can get a performance improvement, or you can't get any improvement.

I heard an order to mark some records in a table like inmmutables so applications will treat them in a different way and then I won't need to delete anything.

Where have you heard of such a device? Are you sure that this is a feature of Oracle?

Tags: Oracle

Similar Questions

  • Apple ID associated with too many credit cards

    Apple ID associated with too many credit cards

    This can be useful:

    Change or remove your information from payment of Apple ID - Apple Support

  • Adobe Digital Editions will not activate with too many activation error

    Adobe Digital Editions will not be activated with too many activation error.  Technical support refused to help.  What can I do?

    To reset the client contact activation support cat https://helpx.adobe.com/contact.html?step=ADE_adobe-id-signing-in_stillNeedHelp and ask for the reset of the adobe ID.

  • Oracle 11g with Oracle 9i RMAN backup

    Dear all

    Can we do the backup of Oracle 11g with Oracle 9i RMAN database, is it possible and did everything a try this?

    Thanks in advance.

    concerning

    Yes its possible.

    Check this matrix,

    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/compat003.htm#i634479

    HTH
    Aman...

    Published by: Aman... on January 11, 2010 18:07
    updated the link from 11.1 to 11.2 docs.

  • Oracle 11g with problem of pdf cocoon.war and glassfish?

    Hi all
    I m install oracle 11g express on CentOS OS, oracle apex earphone 1.1.2.131.15 5.6
    GlassFish v2 and cocoon 2.1.11 and connect to oracle apex glasfish works very well

    Problem start when I had cocoon xml build and deploy cocoon.war on glassfish,
    addition of fop_post on cocoon/fop_post (as described on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but the pdf don't work!

    (I've been putting all the steps on the machine of 11.2 to 32-bit suse and ubuntu 8.04 - 32 bytes and pdf open work well)
    Y at - he no idea what happen whith this pdf error?
    Is the problem with 64 bytes some specific parameters, with java jdk, Cocoon, glassfish, or something on apex of oracle 11g?

    Gordan

    Published by: useruseruser on June 20, 2011 21:49

    Hi Gordon,.

    Once again, great to hear that!
    Could you rent close this thread and mark any post useful or correct if your question is answered?

    Thank you

    Udo

  • Connection to Oracle 11g with MySQL 5.1

    Hey all,.
    I have searched all over the web for this, and I can't find information that applies to my case. I have an Oracle 11 g DB on a Windows Server 2003 SP2 installer and installing the heterogeneous services ODBC driver. I want to connect it to a different Windows 2003 SP2 machine running MySQL Community.

    On the side of the Oracle, I set up the systems to MySQL ODBC connection, and it connects successfully. I also configured tnsnames.ora as follows:

    mysqlecommerce =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = dvlps11.cosine.com.cy)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SID = mysql_gateway))
    (HS=OK))

    I have initmysql_gateway.ora with the following two lines:

    HS_FDS_CONNECT_INFO = mysqlecommerce
    HS_FDS_TRACE_LEVEL = ODBC

    and I get the following in the listener.ora file:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = mysql_gateway)
    (ORACLE_HOME=C:\Oracle11g\product\11.1.0\db_1)
    (PROGRAM = dg4odbc)
    )
    )

    I also created a dblink as follows:

    create the 'MYSQLECOMMERCE' of the public database link
    connect to MYSQLDB
    identified by '< pwd >.
    using 'mysqlecommerce ';

    Now when I try to run a simple SQL selection such as:

    Select 'id_category' ps_category"@mysqlecommerce «»

    I get the following response:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [MySQL] [ODBC 5.1 Driver] [mysqld - 5.1.36 - community-log] you have an error in your syntax SQL; consult the manual for your version of the MySQL server for the right syntax to use near '' id_category' FROM 'ps_category' A1' at line 1

    ORA-02063: preceding 2 lines of DG4ODBC

    Can someone please help me understand what is happening?

    Thank you in advance!

    The syntax error is caused by your database MySQL does not not in ANSI mode. By default, DG4ODBC sends a code compliant ansi in the foreign database, which means for column sensitive to case and table names it surrounded by double-quotes. MySQL DB not working not in mode compatible ANSI rejects them and uses a back tick to preserve the case - so it reports a syntax error in the case of double qoutes.

    To solve the problem please have a look to My Oracle Support note:
    Problems of selection of data to Mysql using 11.1.0.6 DG4ODBC - error in your SQL syntax [ID 553030.1]

  • Installing Oracle 11g with ASM

    Hi all

    I'm new with oracle 11g and I want to create a database with ASM and I can't get there.
    Could someone tell me the step to make or send a link here?
    Fact the below steps
    1 - install the software oracle only
    2. install and configure grid infrastructure
    3. create the database with asm

    Thanks in advance

    Salvation;

    Please check the docs below for steps

    http://www.Oracle.com/technology/products/database/ASM/index.html
    http://www.Oracle-base.com/articles/11g/AsmEnhancements_11gR1.php
    http://www.pafumi.NET/RAC11g_and_ASM_on_VMware.PDF

    Respect of
    HELIOS

  • When you try to connect to my email it says he was the block because someone tried to open a session with too many bad passwords.

    Blocked e-mail?

    I have not tried to connect to my email for a week, but when I tried to log on it (I only tried once), it tells me that my email is blocked because someone tried to open a session with too to bad passwords. What is someone trying to hack into my email?

    Hello handset,

    What e-mail account are referring? If it's Hotmail or Live email, then click on the links below and re - ask your question. Thank you.

    Windows Live Mail

    Windows Live Hotmail

  • Problems with too many user profiles on computers Windows 7 Professional?

    Is anyone aware of any issues related to Windows 7 computers when too many user profiles are created on the computer. I work in a school and I recently read an article by someone in another educational environment, indicating that they were having problems when too many profiles have been created on a computer.

    Given that integrated user profiles manager only allows you to delete each one profile, it's almost an option to the volume of user profiles that exist in such a laboratory environment. Remove Group Policy Computer Configuration-> policies-> administrative templates-> system-> user-> user profiles profiles of a certain number of days on system restart
    which exists in Server 2008 R2 does not.

    I appreciate your comments.

    Hi Skenny10,

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.

    Please post your question in the Forums in TechNet Windows Server.

    Gokul - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Help with too many downloads

    My computer died.  I proceeded to download Lightroom and got an error saying that I had too many downloads.  The old computer is dead.  What should do?

    install the application of office cc, https://creative.adobe.com/products/creative-cloud

    Use it to install your lr cc.

  • histogram with too many pixels

    I use photoshop to design covers and I must get a specific percentage for each color used in the design, so that the carpet manufacturers can dye the suitable amounts of wool.

    I'm simply converting the image to indexed color, and ensuring that if a carpet of three color there is only three colors indexed in the design.

    then I'm selecting colors using the magic wand and work working from the histogram what percentage of this color picture is by dividing the number of selected pixels, by non-contiguous non anti-aliasing of magic wand, by total pixels in the image.

    most of the time it works fine, but sometimes a color area will be clearly read as much having too many pixels, sometimes even more pixels that are read in the image as a whole.

    I do not understand why this happens, there are no layers in the image, certainly, this must be really simple?

    Help, please!

    good if you cut the selection then paste in place and this for each of your indexed color and then go the selected layer in the histogram, this seems to give a specific number of pixels.

  • super slow old laptop with too many startup programs

    RUNNING XP ON AN OLD LAPTOP WHICH IS REALLY SLOW, HOW CAN I DELAY OR SAFELY REMOVE EXCESSIVE STARTUP PROGRAMS

    Follow the tips below and also answer the following questions: brand and model of the pc, current antivirus, operating system and service pack.

    Stanley Zhang tips

    Will probably want to clean this machine...

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    ·                                 MalwareBytes (FREE)

    ·                                 SuperAntiSpyware (FREE)

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know usingGoogle (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do a house cleaning and the dust of this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used. Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your Windows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need. This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on theroot of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing youpouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

  • Connect By with too many lines

    Hello
    I have a table of contracts. Each may have different payment intervals: M quarterly q, Y annually, monthly or one-time payment of E.
    Now I want a select that displays all dates of start to maturity (duration) when the collection of accounts outstanding takes place.
    DROP TABLE contract;
    CREATE TABLE contract (
         nr             NUMBER (5)
        ,dat_begin      DATE
        ,invoiced       VARCHAR(1)
        ,duration       NUMBER(5)
        );
    INSERT INTO contract (nr,dat_begin,invoiced,duration)
        VALUES (345,TO_DATE('01.01.2008','dd.mm.yyyy'),'M',1);
    --INSERT INTO contract (nr,dat_begin,invoiced,duration)
    --    VALUES (456,TO_DATE('01.01.2008','dd.mm.yyyy'),'Q',2);
    INSERT INTO contract (nr,dat_begin,invoiced,duration)
        VALUES (567,TO_DATE('01.01.2007','dd.mm.yyyy'),'Y',1);
    --INSERT INTO contract (nr,dat_begin,invoiced,duration)
    --    VALUES (678,TO_DATE('01.01.2008','dd.mm.yyyy'),'E',2);
    
    WITH
    first_month AS(
        SELECT  TRUNC(dat_begin,'MM') AS first_date
               ,nr
               ,DECODE (invoiced
                        ,'M',1
                        ,'Q',3
                        ,'Y',12
                        ,'E',1000
                        ) AS intervall
               ,duration
        FROM    contract
        )
    SELECT  ADD_MONTHS(first_date,(LEVEL - 1) * intervall)  AS all_dates
           ,nr
           ,duration
           ,intervall
           ,CONNECT_BY_ROOT nr
    FROM    first_month
    CONNECT BY  LEVEL <= duration * 12 / intervall
    Now, I expect to get 12 dates for contract 345 and the other for 567. But...
    ALL_DATE   NR DURATION INTERVALL LEVEL CONNECT_BY_ROOTNR
    -------- ---- --------  -------- ----- -----------------
    01.01.08  345        1         1     1               345
    01.02.08  345        1         1     2               345
    01.03.08  345        1         1     3               345
    01.04.08  345        1         1     4               345
    01.05.08  345        1         1     5               345
    01.06.08  345        1         1     6               345
    01.07.08  345        1         1     7               345
    01.08.08  345        1         1     8               345
    01.09.08  345        1         1     9               345
    01.10.08  345        1         1    10               345
    01.11.08  345        1         1    11               345
    01.12.08  345        1         1    12               345
    01.01.07  567        1        12     1               567
    01.02.08  345        1         1     2               567
    01.03.08  345        1         1     3               567
    01.04.08  345        1         1     4               567
    01.05.08  345        1         1     5               567
    01.06.08  345        1         1     6               567
    01.07.08  345        1         1     7               567
    01.08.08  345        1         1     8               567
    01.09.08  345        1         1     9               567
    01.10.08  345        1         1    10               567
    01.11.08  345        1         1    11               567
    01.12.08  345        1         1    12               567
    each row after row 13 ' 01.01.07 567' I wasn't expecting.
    Of course, I can add a predicate CONNECT_BY_ROOT = NR. But I'd like to understand why I get 11 lines for nr with root 567 345.

    Concerning
    Marcus

    Hello

    In a subquery of counter, where you use "CONNECTION BY LEVEL".< x"="" to="" generate="" the="" integers="" 1,="" 2,="" ...,="" x,="" the="">
    in the clause FROM must have only one line.

    Follow these steps:

    WITH
    first_month AS(
        SELECT  TRUNC(dat_begin,'MM') AS first_date
               ,nr
               ,DECODE (invoiced
                        ,'M',1
                        ,'Q',3
                        ,'Y',12
                        ,'E',1000
                        ) AS intervall
               ,duration
               ,cntr.n
        FROM    contract
        )
    ,
    cntr AS
    (   -- Begin counter sub-query
        SELECT  LEVEL   AS n
        FROM    dual
        CONNECT BY  LEVEL <=
         (     -- Begin scalar sub-query to get max range
         SELECT     MAX (duration * 12 / intervall)
         FROM     first_month
         )     -- End scalar sub-query to get max range
    )   -- End counter sub-query
    SELECT  ADD_MONTHS(first_date,(cntr.n - 1) * intervall)  AS all_dates
           ,nr
           ,duration
           ,intervall FROM    first_month
    JOIN     cntr          ON cntr.n <= duration * 12 / intervall
    ;
    

    As you can see, this solution is very similar to to Blushadow.

    "CONNECT BY" involves a parent-child relationship.
    When the CONNECT BY condition does not refer to all the values stored in the table, as in "CONNECT BY LEVEL<=>
    then each row of the table is considered the parent of all the other ranks. So if you have lines J in the table,
    you will have lines J at LEVEL = 1, lines J * J = 2 level, J * J * J ranks to LEVEL = 3,..., lines power (j, k) = k level.

    I don't think that the query you posted has produced the results you've posted.
    The query has five columns in the SELECT clause and the result set includes six.

    What is the purpose of the last column with CONNECT_BY_ROOT? If this is supposed to be the same as nr.
    then you can have another column containing nr.

  • ReadyNAS 104 times out when trying to access directories with too many files.

    I am facing a problem where the contents of the directories which exceed a certain number of files (I'm not sure of the exact limit) may not display. I tired to view through the Finder on OSX files, through the web and even on the iOS app browser interface. The directories contain a large number of image (jpeg and png, for the most part) files. Directories with fewer files seem to open and display correctly, even when they have similar content (image, in this case files).

    I'm running a configuration using X-RAID with 3TO discs in each of four bays.

    This question is severely limiting the usefulness of my SIN, so I'd appreciate a quick answer on how to solve this problem.

    Thanks in advance.

    Changing the backend setting solves the problem.

    TheNoel says:

    "The difference is night and day. The largest directory containing 12 000 files loads quickly and is easy to navigate via SMB.

  • Too many spare disks when creating table

    I shall preface this by saying: I'm new on Equallogic San...

    I have a PS6100 with 16 drives of 2 TB.  When you perform the initial configuration on the table, it's from 4 disks as "rescue" any RAID level, I chose.  The option to right click on the drive and choose 'Add the disk to the RAID' is grayed out.

    Having 4 discs/8 TB of storage "spare" seems much too excessive.  I would like only 1 or 2 disk hot spares.  I don't know if there is a problem preventing the table of allowing them to be "online" or if there is a setting to specify the number of spare parts.  If a setting is enabled, I can't find it anywhere.

    Please let know us if this is normal or if there is anything I can do to get some of that extra space added to my table.

    Thank you!

    Hmmmm

    the old PS60x0 comes with 16x3.5. The PS61x0 and later as

    24 x 3.5 "

    12 x 3.5 "

    or 24 x 2.5 "

    IIRC it isn't so modell with 16 discs.

    "Deleted" Dell RAID5 Option in one of the last FW Version from the GUI, if a customer drives of 1 TB or more because the risk of failure of a disk doubles increases when you make the raid rebuild underway long with large disks.

    If you want to force the use of a RAID5 + spare, single, you must create the middle of raid from the command line.

    We use RAID50 for the older model 16 disk which means: usable discs = Total of discs - 4 (2 + a 2 rescue disk parity)

    Kind regards

    Joerg

Maybe you are looking for

  • How can I insert a new blank page immediately after a proposed page

    I'm trying to change an iBook of 147 pages, and I want to add a new blank page immediately after page 73.  I tried ctrl-click on the page, but the new page is added at the end of the chapter, which is obviously not where I want to.

  • drivers not installing Ralink not - please URGENT

    This is my second post on this, please someone help? I now get an error message on the desktop. HP Pavilion e15 with a stereo interface pseudo problem downloaded tunnel so do not install drivers. Machine still under warranty I URGEMMENT NEED of a RES

  • Satellite L300D starts in a white screen with the mouse cursor

    Hello Asked by my friends to help them solve their L300D. Their son had him and they are not sure of what he did, but now when it loads in VIsta, all they get is a black screen with a cursor of mouse in the middle. The slider looks as if it was a les

  • Almost every game unplayable

    Dear Lenovo community, I have a Lenovo Ideapad Z360 with a Nvidia Geforce G310M with Optimus technology. I installed all the drivers come with the cd (Windows 7, 32-bit). I tried to play the following games: HL2, portal, HL2 E1 & E2, Call of Duty 4 m

  • Effects of the use of EF lens and a EF-S camera crop factor calculations.

    I've been reading about sensors APS - C and the differences between EF and EF-S objectives. I have two questions pending about how the EF-S-objectives are marketed. (1) objectives EF - S need to have the factor of 1.6 x applied for effective focal le