Performance & data deletion/purge

Hi all

I have Oracle 9i RAC IBM AIX 0n

Need your help to clarify the following points of generics.

1. I have a table with 10,00,000 lines. If I delete the 5,00,000 lines how it will improve performance.

2 gathering stats on this table and index will help improve performance or should I export & import it.

3. If the same case is with Oracle 10 g, shrinking storage space after you remove the lines will be the same improvement as import and export will do in the event of 9i.

4. What is the best way to purge/remove data from a large table (300 GB).

Thanks in advance

user7699943 wrote:
Hi all

I have Oracle 9i RAC IBM AIX 0n

Need your help to clarify the following points of generics.

1. I have a table with 10,00,000 lines. If I delete the 5,00,000 lines how it will improve performance.

It will be only if you consider he didn't need to read as many blocks as before.
As Justin said, if you rearrange the table, which resets the HWM, especially with full Table scans no performance improvement is acquired.

>

2 gathering stats on this table & index will help improve performance or I have to export & import it.

If you delete 50% of the data in a table, I would surely be to reorganize/rebuild the table by means of an Import/Export or a

SQL > ALTER TABLE MOVE.

command. The last of them will rebuild the table in the same tables. There must be enough free space on the rebuilding of the index subsequently is necessary
Then gather statistics on the re-created table. It will surely help boost performance.

>

3. If the same case is with Oracle 10 g, shrinking storage space after you remove the lines will be the same improvement as import and export will do in the event of 9i.

I think you mean "narrowing of the table"?
In my experience narrowing of the tables is very time consuming and brings a certain load on the database for a very long time. Especially if you're talking about the tables with millions of rows.
Narrowing of a table is preferred only if the table cannot be taken offline, but I still prefer the «Alter table move» action

4. What is the best way to purge/remove data from a large table (300 GB).

Agree with Justin here. Use partitioning.

HTH
FJFranken

Tags: Database

Similar Questions

  • When I opened tab check "send performance data," I don't have that choice of the tab. He wasn't there.

    I followed the instructions to check the firefox slowness and high utilization of the processor. Tools > options > advanced > General > check "Send performance data," but it there was not a box to check. All the other boxes were there. Just not 'send performance data."

    Quote: I followed the instructions to check the firefox slowness and high CPU usage.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode safe or make changes.
  • Where can I disable 'Send performance data to Mozilla' or if it is enabled?

    A few hours after the upgrade to Firefox 20, a bar has been shown at the bottom of the window telling me that some data was sent to Mozilla. the bar had a button called "Select what info" (or similar, I do not have a screenshot). By pressing the button doesn't not more opening the page root Options (the one in the row of icons at the top) and hidden bar.

    Help Mozilla on this option (https://support.mozilla.org/en-US/kb/send-performance-data-improve-firefox) has passed: it shows the old Options dialog box and refers to a checkbox control that no longer exists in Firefox 20.

    There is a new Panel in Firefox 20 for options - Firefox button > Options > Options (or tools > Options) > advanced > choice of data

  • How do I deselect the option "Submit-performance data" in XP, since none of these items under Options/preferences of Firefox?

    Having recently updated Firefox to 7.0.1 (x 86 en - GB), I was offered the opportunity to submit performance data. Before reading the "Other Info" bit, I clicked on the Yes"" button. When you read the bit of info 'Other Info', I was directed to:
    "
    (Also known as the telemetry) usage statistics. Starting with version 7, Firefox includes a feature that is disabled by default to send to non-personal use Mozilla, performance and statistical reactivity on the interface features user, memory and hardware configuration. The only potentially personal data to Mozilla when this feature has been activated is IP addresses. Usage statistics are transmitted using SSL (a method of protection of data in transit) and help us improve future versions of Firefox. Once sent to Mozilla, statistical usage are stored in form aggregated and made available to a wide range of developers, including Mozilla employees and public contributors. Once this feature is enabled, users can disable in Firefox Options/preferences. Simply uncheck the item "Submit-performance data.
    "
    However, I have no option under Tools/Options, on my XP, home edition, Service Pack 3, netbook.
    Thanks for all the help and all your efforts to make Mozilla exists.

    See tools > Options > advanced > general: system default: 'send performance data '.

  • Cipher.exe to overwrite the data deleted in Windows works with Windows Vista?

    Cipher.exe to overwrite the data deleted in Windows works with Windows Vista? He worked under Windows 2000, but not sure about Vista!  Otherwise Vista contains a command to clean free space HDD?

    Hello

    you need 3 of third party programs to clean free hard drive space

    For your question:

    always check the compatibility of vista programs on the link below

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    If a program is compatible with vista you can try right click on the setup.exe, and then selecting run as administrator

    It is not compatible with vista, you can try running it in a previous operating system mode

    This does not work for all programs

    read the information below

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/

  • Suddenly the column Date deleted to the trash has been replaced by the update

    original title: Recycle bin sort order problem

    Suddenly the Date deleted in Recycke Bin column was replaced by update.  I am more able to sort items deleted in the trash by deleted date.

    Suddenly the Date deleted in Recycke Bin column was replaced by update.  I am more able to sort items deleted in the trash by deleted date.

    Open the Recycle Bin > menu toolbar ( not ) see > sort by > more > scroll to find Date removed,click on it > move the button to the upper right then move Date removed upward > OK

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • cannot receive vCenter performance data

    Hello.

    I start with vFoglight to monitor my vCenter, and I can't receive vCenter performance data.

    I vFoglight hava installed on a host of Windows7 6.6.1. My vCenter is installed on a virtual machine and the operating system is Windows Server 2003. I Manager agent hava installed on vCenter host. I have a VMWarePerformance package deployed the host to vCenter and created an agent. The agent is active and data collting. But on the dashboard environment VMware, I see no performance information. There is only a single virtual centre with no performance data, and no there is no host ESX or Virtual Machines.

    I wonder if I need to deploy other cartridges or there is something that I have not properly config.

    Can someone help me?

    Additional accessories:

    It is clear now that I have the same problem like SOL87716, my vmware host uses the Chinese language.

    vFoglight is a stand-alone noncompliance, this means that there is no single cartridge for download.

    I connected the support engineer and open a support case, and then I got a legacy vmware agent 5.5.8.1.

    After I installed it on my vmware host, I can receive performance data now.

    Kind regards.

  • All the members (but 1) are removed from the entity dimension in planning and deployed to essbase. -What are the data deleted in essbase so? / The data can be restored by restoring the entity dimension?

    All the members (but 1) are removed from the entity dimension in planning and deployed to essbase.

    -What are the data deleted in essbase so?

    The data can be restored by restoring the entity dimension? EPMA the entity dimension is still in tact.

    It is unclear what exectly arrived, but looks like a change was made in the dimension entity planning (not EPMA) and then deployed (successfully).

    In essbase, we see that the entity dimension has only one member left for the appropriate plan types, as in the planning.

    If you remove members and then push that yes the essbase data is deleted, if you need back then you will need to go back to your restore process.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Import Performance data in VMware Capacity Planner

    VMware Capacity Planner has the ability to import performance data in data manager or you must collect data from performance via the Capacity Planner software?

    Hello wgmaurerEMC,


    You can collect data from target of UNIX and Linux machines running the CP shell on each target computer scripts

    rather than run the scripts through the host of collector.

    Please, see page 47 of the CP reference Guide attached on how to implement the manual execution of scripts.

    Best regards

    Lazar

  • Collect a free ESXi host performance data

    I need to create e PowerCLI script to collect the performance data (SUC, RAM,...) on a (free) ESXi host and guest virtual machines.

    Y at - it no samples can I start from?

    Concerning

    Marius

    It work?

    Try {}

    Get-PSSnapin-name VMware.VimAutomation.Core - ErrorAction Stop

    }

    Catch {}

    Add-PSSnapin VMware.VimAutomation.Core

    }

    SE connect-Viserver-Server 192.168.1.1 - root user | Out-Null

    $esx = get-VMHost

    Get-Stat - $esx - Stat "cpu.usage.average" at the time entity real - MaxSamples - 1

    Disconnect VIServer Server 192.168.1.1

  • POS 5.5 could not obtain data with analytical performance data warehouses

    Hi all

    I have two devices POS running version: 5.5.5.180.

    All of a sudden I can not connect to the Web Client for each device.

    POS status show all services in green on the two Pdvs.

    root@vdp:~/#: dpnctl status all
    Identity added: /home/dpn/.ssh/dpnid (/home/dpn/.ssh/dpnid)
    dpnctl: INFO: gsan status: up
    dpnctl: INFO: MCS status: up.
    dpnctl: INFO: Backup scheduler status: up.
    dpnctl: INFO: axionfs status: up.
    dpnctl: INFO: Maintenance windows scheduler status: enabled.
    dpnctl: INFO: Unattended startup status: enabled.
    
    

    By clicking on the Storage tab, displays the error message: "Unable to get data with analytical performance data warehouses" and no data warehouses are listed.

    • VCenter restarts, Pdvs, doesn't change anything.
    • I can connect to Pdvs very well.
    • CP are created.

    I found similar topics but no response... (POS 5.5 ERROR)

    Open a support case and turned out that the POS password user (a user defined in the domain of the @vsphere.local) that was used to access the vCenter has expired. Apparently, there's a bug in vCenter for some versions that makes them expire in 65 days.

  • Beyond the performance data not available to a host through Virtual Center


    Hello

    I have an ESXi host that relates to the ' No Data Available ' under his paw through Virtual Center performance. Fine appears real-time performance data, but the latest data are not appear and give the error as "No Data Available".

    Within the cluster of 4 hosts, alone is to have the point above. Others are appearing fine performance data.

    In another cluster host ESXi too connected to the same vCenter, I see one of the host is to have a similar question.

    I checked:

    • All work Rollup SQL is run successfully the default schedule.
    • Restarted vpxa service connection to the host directly using the vsphere client.

    I followed the KB article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2007388 . as suggested in the article when I run the Sub SQL query I see there is no data within who. 

    exec sp_spaceused vpx_hist_statx

    namelinesreserveddataindex_sizeunused
    VPX_HIST_STAT1NULL VALUENULL VALUENULL VALUE0 KB0 KB

    The output is similar (no data) if I run these queries:

    exec sp_spaceused vpx_hist_stat2

    exec sp_spaceused vpx_hist_stat3

    exec sp_spaceused vpx_hist_stat4

    Current configuration:

    ESXi 5.1.0 799733

    vCenter Server 5.1.0 Build 1123961

    Please help solve this.

    I actually planned for the downtime of the host and restarted it.

    Although loading performance data now.

    Thank you!

  • No available performance data

    I had questions, get historical to display performance data.  I can see data in real time.  I've scoured the forums and knowledge base articles and found only one that is relvant.  However, it did not solve my problem.

    We run esxi4.1 update 2.  I have inhertitied this system since the previous Director of sys.  I think at a certain point, the database has been corrupted and the entire vcenter server was rebuilt with a new database.

    The article I found is here

    I can't find the error message in the vxpd.log files but when I run the query "select count (*) from vpx_hist_stat1 ' it returns 0

    Originally the load_stats_proc procedure was not, adding that in there in accordance with article has no effect.

    8 all the jobs are there, and history shows that they are running successfully.

    Really, I don't know where to look for here.  Any help would be appreciated.

    I have not any article more KB than those already mentioned. However, I have seen this question several times before, and as a preventative measure, I would check levels of statistics within the parameters of your vCenter server for anything above 2, particularly given that you inherited from the environment. When the statistics of level 3 and 4 are used for long periods of time, it tends to cause this problem due to the extreme amount of measures which must be wound regularly.

  • PS Script to obtain performance data for 6 months last VM

    Hi all

    Its time for me to Rightsize the virtual machines before business continues in vSphere 5.0... We all know... vRAM

    If I want to import virtual machines from a CSV file and run through the past 6 mth performance data (use CPU Avg and Avg Mem) and remove in a CSV file or htm... Here is what I use, but never to see the output to the top. I mess up something in the region of ForEach.  Help, please!

    *********************************

    $filelocation = "C:\VMStatsReport.htm".
    $ErrorActionPreference = "SilentlyContinue".
    $import = import-Csv "C:\listofvms.csv".

    {ForEach ($vm in $import)

    $Interval = "180".
    $IntervalFinish = get-Date
    $IntervalStart = $IntervalFinish.addDays (-1 * $Interval)

    $CPUAvg = $vm | Get-Stat - Stat Cpu.Used.Summation - start $IntervalStart - finishing $IntervalFinish
    $MemAvg = $vm | Get-Stat - Stat Mem.granted.average - start $IntervalStart - finishing $IntervalFinish

    $report = @)
    $vms = "" | Select-Object VMName "CPU Count", SixMonthCPUAvg, TotalMemory, SixMonthMemAvg
    $vms. VMName = $vm. Name
    $vms. "" CPU Count "= $vm.summary.config.numcpu
    $vms. SixMonthCPUAvg = [String] ([Math]: round ((($CPUAvg |))) Measure-object-propriete value - average). Average), 1))
    $vms. TotalMemory = $vm.summary.config.memorysizemb
    $vms. SixMonthMemAvg = [String] ([Math]: round ((($MemAvg |))) Measure-object-propriete value - average). Average), 1))
    $report += $vms
    }

    $report | ConvertTo-Html-title "Report VMs" - body "report VMs < H2 > < / H2 > ' | Out-file $filelocation

    **************************************************

    Thank you

    VMSavvy

    There are some other problems with the script.

    You had the name (a string) of the guest in the $vm variable. The cmdlet Get-Stat does not object to the setting of entity name.

    The solution is to use the object returned by Get - VM.

    I assumed that your CSV file looks like this

    'Name '.

    "vm1.

    "vm2.

    The metric cpu.used.summation is available only when the interval is set to level 3.

    So, unless you have history 4 interval set at level 3, use another more common measure for the use of the processor. For example, cpu.usage.average.

    $filelocation= "C:\VMStatsReport.htm"
    $ErrorActionPreference = "SilentlyContinue"
    $import = Import-Csv "C:\listofvms.csv" -UseCulture | %{Get-VM -Name $_.Name}
    
    $report = @()
    
    foreach ($vm in $import) {
        $Interval = "180"    $IntervalFinish = Get-Date    $IntervalStart = $IntervalFinish.addDays(-1 * $Interval)
    
        $CPUAvg = $vm | Get-Stat -Stat Cpu.Usage.Average -Start $IntervalStart -Finish $IntervalFinish    $MemAvg = $vm | Get-Stat -Stat Mem.granted.average -Start $IntervalStart -Finish $IntervalFinish    $vms = "" | Select-Object VMName, "CPU Count", SixMonthCPUAvg, TotalMemory, SixMonthMemAvg    $vms.VMName = $vm.Name
        $vms."CPU Count" = $vm.summary.config.numcpu
        $vms.SixMonthCPUAvg = [String]([Math]::Round((($CPUAvg | Measure-Object -Property Value -Average).Average),1))
        $vms.TotalMemory = $vm.summary.config.memorysizemb
        $vms.SixMonthMemAvg = [String]([Math]::Round((($MemAvg | Measure-Object -Property Value -Average).Average),1))
        $report += $vms}
    
    $report | ConvertTo-Html -title "VMs Report" -body "

    VMs Report

    " | Out-File $filelocation
  • VCentre Server V4.1 performance data

    Hello

    I suddenly lost performance data for my VM except in real time. I can, however, define a custom for almost a day period, but not the day before.

    My Vcentre Server uses SQL shipped with the product and I don't think that there is a correspondence enterprise manager to look at the database. IM at a loss what changed and have restarted the VC and checked all services running including SQL

    Any suggestions where to look

    Thank you

    Tony

    A KB was written to solve this problem, please see http://kb.vmware.com/kb/1030305 for more information.

    Hope of workaround helps.

    Kind regards

    Arun Pandey

    VMware Inc.

    VCP3, VCP4, HPCP, HP UX CSA

    http://KB.VMware.com/

Maybe you are looking for

  • Attach images to an email via «Fotos»

    Hi all I use Outlook for Mac 2011 and want to join 'Fotos' photos to an e-mail message. Whenever I click the button to join my e-mail address, however, the Finder offers just me the iPhoto for the selection of photos folder. As I went to "Fotos" iPho

  • HP ENVY m6-1205dx: System disabled after the wrong password Admin

    Hello I write for the first time, so don't really know if its in line. My system has been disabled. HP ENVY m6-1205dx, Windows 8. A frozen after 3 unsuccessful attempts to enter the administrator password! Display types: System off [92025607] Please

  • The left button, scroll, zoom 5 x does not at all for the optical mouse for laptop Microsoft 4000 wireless

    Original title: laptop microsoft 4000 wireless optical mouse (1000 dpi) responding left button, scrolling, 5 x zoom works quite... tried to change the batteries, installed the app again and again and all, but do not get any results. the left button,

  • Date and time will come back 4 years every time when Vista restarts

    whenever I restart my pc, the time and the date was 4 years ago and my updates stop works to start specially my antivirus AVG ver 9, is the virus? settings or, even more I also get an error of checksum on starting and pressing the F1 key, it continue

  • client-server application

    I intend to transfer my application written in C/C++ for playbook... Basically, the application has a client and a server process communicating via sockets... Client process has a user interface with a few UI controls components, server process will