Deletion is very slow

Hello

I try to delete rows from a large table and its size is 50 GB. There are total of the 251448124
in it, but I'm removing a year like 2007, 2008 and so on.

But my query takes too long when deleting.

Query:

remove port
where year as "P2008% ';

11626564 deleted rows.

Elapsed time: 01:18:53.46

Can anyone help me regarding this issue?

Thank you for your cooperation.

Kind regards

Adnan Hamdus Salam

Hello

If delete you the question statement and remove a large amount of data in the table, you certainly need to free up space by reducing space.

But if you use partitions based on the year, then you just need to let down the partition, this time, you don't even worry about cleaning space.

Before you create a partition, you may need to check if it is not having an impact on performance, we must also make good use of the size of partition on queries on your table.

Kind regards
Wilson

Tags: Database

Similar Questions

  • Please help - button Delete is very slow - I have regestered but I can't get any help

    can some discuss with me as I continue to put themselves in the sync tab - do not know how to

    What is your anti-virus software?

  • Thunderbird 38.4.0 very slow to open or delete messages (about 5 seconds) CAUSE: Bitdefender AV

    Very slow to open or delete messages in Thunderbird. Compacting folders, emptied the files Junk and trash, no improvement. Just improved 38.4.0 (about 3 hours ago)

    If you have not changed anything except thunderbird update, then it is probably caused by antivirus software. See https://wiki.mozilla.org/Thunderbird: test: Antivirus_Related_Performance_Issues and https://wiki.mozilla.org/Thunderbird: test: Memory_Usage_Problems

    Let us know what Dominique ind please

  • Very slow contacts and to open and contacts being deleted

    I found that my contacts are very slow to load and change and that contacts are being deleted without my knowledge.

    Hi svenvy,
    I don't know where you keep your contacts but maybe it's that you need to condense their or check if the Web page contains errors. If it's Firefox, please visit: Firefox is slow - how to make it faster

  • Cannot scroll to delete several email messages-just one at a time and very slow-help?

    MacBook

    10.10.5 Yosemite

    Can not hold the command to scroll down and delete send several messages, just one at a time and VERY slow-help?

    If the emails are side by side, select one, then hold down the SHIFT key and select the last one. Hold the command key and clicking on the individual emails should work. What happens when you try?

  • very slow Powerbook fine, iMacs

    My family uses 2 iMacs (1 2013, 1 earlier) and an Apple Powerbook at home. 2 iMac is incredibly slow, but the speed of the Powerbook is fine. IMacs both have a lot of unused storage and memory and I completely restored two iMacs and deleted unnecessary files, but they are very slow. I have everything back up on Dropbox and wonder now if the slowness is something to do with the combination of the signal at high speed and by using several connections of Dropbox in the House.  We have a Virgin Media Hub Super 2ac with advertised broadband router of up to 150 Mbps. I made a speed control using www.speedtest.com and the download speed is 105.81 Mbps and download speed is 9.70 Mbps. Any ideas anyone?

    You can view a report of etrecheck for later analysis

    www.etrecheck.com

    but I would like to disable and remove dropbox to test the system and if they improve the problem there.

  • My wifi/internet is very slow since the IPhone Update 9.3.4.

    I have an IPhone 6 and since the update (3 days ago) my wifi/Internet is very slow.

    Minutes of need for pages to load, and the App Store and the ITunes App not to load any. Photos and videos need a time very Long if they work at all.

    The wireless router is not the problem because my laptop works fine with it.

    Thank you for responding!

    Here's a tip for the user on the problems of Wi - Fi. Suggest from the top and bottom.

    Alternatively, you can try to reset the App Store first, since it won't load at all. Please follow these steps:

    Close the App Store completely from the window of the selector app by double clicking the Home button and slide up the App Store preview pane until it disappears from the display. Then sign out of the iTunes Store (in the settings).

    Then restart the unit.

    Then sign into the iTunes Store and try to download again.

    (1) restart you device.

    (2) resetting the network settings: settings > general > reset > reset network settings. Join the network again.

    (3) reboot router/Modem: unplug power for 2 minutes and reconnect. Update the Firmware on the router (support Web site of the manufacturer for a new FW check). Also try different bands (2.4 GHz and 5 GHz) and different bandwidths (recommended for 2.4 to 20 MHz bandwidth). Channels 1, 6 or 11 are recommended for 2.4 band.

    (4) change of Google DNS: settings > Wi - Fi > click the network, delete all the numbers under DNS and enter 8.8.8.8 or otherwise 8.8.4.4

    (5) disable the prioritization of device on the router if this feature is available. Also turn off all apps to VPN and retest the Wi - Fi.

    (6) determine if other wireless network devices work well (other iOS devices, Mac, PC).

    (7) try the device on another network, i.e., neighbors, the public coffee house, etc.

    (8) backup and restore the device using iTunes. Try to restore as New first and test it. If ok try to restore the backup (the backup may be corrupted).

    https://support.Apple.com/en-us/HT201252

    (9) go to the Apple store for the evaluation of the material. The Wi - Fi chip or the antenna could be faulty.

    Council: https://discussions.apple.com/docs/DOC-9892

  • manipulation of file/folder Win 8.1Thunderbird very slow

    Long story short: Win 7 has been corrupted, so I installed Win 8.1. All programs work well, with the exception of Thunderbird. Any action of Thunderbird is extremely slow, up to a few minutes to perform any action. The program is unusable in normal windows mode. However,.

    Thunderbird works fine in safe mode, even with the antivirus software (Iolo / System Mechanic) currently running.

    A cause may be that any action I take with files bigger than a few bytes of Thunderbird is very slow. Copy, move, delete all the files of Thunderbird is extremely slow. I tried to copy other big files and folders in the T-bird folders and delete them, and they work fine. It's just the Thunderbird files that seem to be stuck in the glue.

    I added Thunderbird to my allowed firewall programs, so this is not it.

    I uninstalled and reinstalled Thunderbird, nothing helps.

    There may be other things that you must disable in System Mechanic, such as analysis of messages incoming and outgoing and scanning of attachments.
    Alternatively, you can ask in a forum for System Mechanic.

  • Internet MacBook becomes very slow

    THE PROBLEM

    A week ago from the internet on my Macbook has become very slow. Web sites load then, but it may take up to five minutes on some occasions, or even longer. This happens systematically 10 seconds to 5 minutes after the connection to the web. At first everything is super fast, then all pages/apps using the internet starts to turn.

    ATTEMPTED SOLUTIONS

    • Replaced the modem & router: I bought a new modem-router combo to replace my original separate modem and router, no change in question.
    • Tried a third modem/router: a friend gave me his modem router to try and the same issue. (In both cases I had my ISP to update the MAC address)
    • Tried other devices: I tried the connectivity to other devices (iphone & ipad) and found no problem. Speedtest app appears 32mbps to the low and 5 Mbps + constantly.
    • Tried another browser: was using firefox, I tried Chrome - same question. In addition, any application on my computer using the web runs slowly, no browsers only.
    • Tried to connect to the Internet through direct ethernet modem: no improvement
    • Tried to restart the computer and the modem/router: it is 7 + times for two days with no change
    • Tried to connect to the web via a mobile hotspot on my phone: problem persists.
    • Updated my computer and all applications: no change
    • I started in safeboot and the problem disappeared

    GENERAL INFORMATION

    • Model name: MacBook Pro
    • Model identifier: MacBookPro8, 1
    • Processor name: Intel Core i5
    • Processor speed: 2.4 GHz
    • Number of processors: 1
    • Total number of cores: 2
    • (By heart) L2 Cache: 256 KB
    • L3 Cache: 3 MB
    • Memory: 8 GB
    • Running OSX El Capitan 10.11.6
    • Modem router: Motorola 6580
    • ISP: wow!
    • The only recent change I did was update flash.

    Thank you

    Hello Indianajoe7,

    Thank you for using communities of Apple Support. It is my understanding that the internet is slow on your MacBook Pro. I know how important internet speed can be for many applications and General everyday use. I'm happy to help you.

    You did a great job trying to fix this yourself! Given that the problem didn't occur in safemode, our next step is to check your login items. Please follow the instructions below:

    Important: To print these instructions, click the Share button in the Help window, and then choose print.

    Test your login items

    1. Choose the Apple menu > System Preferences, and then click users and groups.

    2. Click on your account under the current user name, and then click connection points.

      Make a list of the login items, you will need to remember later.

    3. Select all the elements of connection, and then click the button Delete .

    4. Choose the Apple menu > restart.

    5. If this solves the problem, reopen the preferences users and groups, add the elements of connection one at a time and restart your Mac after the addition of each of them.

      If the problem persists, follow the steps above to remove only the last element of connection that you added.

    OS X El Capitan: If you think you have incompatible connections

    Have a wonderful day!

  • After the malware problem, firefox is very slow, even though I uninstalled it twice.

    I have a malware problem. I have restored the windows and installed the Malwarebytes program. Also, I deleted the registry. After that, I send using firefox. However the mozila was very slow but not internet explore.
    Then, I uninstalled and installed mozila twice but the problem remains.

    Please try to run AdwCleaner and see if Firefox accelerates. If this does not help, try the following steps.

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from mozilla.org office (or choose the download for your operating system and language on this page) and save the file to install it on your computer.
    2. Once the download is complete, close all Firefox Windows (or open the Firefox menu

      Click the close button

      ).

    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Do not use an uninstaller to third parties as part of this process. This could permanently delete your Firefox profile data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. They can be retrieved easily unless they have been backed up on an external device! See back up and restore the information contained in the profiles of Firefox.

    Please report to say if this helped you!

  • Since this morning my Thunderbird is not - responding whenever I try to open or send an email it is not responding and is very slow and I have to close it. Difficulty?

    Since this morning my Thunderbird is not - responding whenever I try to open or send an email it is not responding and is very slow and I have to close it. I tried to delete the global-messages - db.sqlite but it does nothing. Any ideas?

    Check if this happens in safe mode:

    Did you try to compact your email?

    And the record of repair?

    • Click with the right button of the mouse on Inbox > > Properties > > File Repair
  • Navigation between windows diff in firefox is very slow. Help, please.

    Firefox responds very slowly when I want to go to a different window that is already open, or if I press on + Options button to open the new window / tab, the response is very slow. Sometimes firefox responds at all, a message arrives that "Firefox is not responding", and after that the browser starts to reload all pages. It's pretty boring. Kindly help.
    I use WIN 7. the system has 3 GB of RAM, 2.2 GHz processor from intel, 32 bit OS.

    I deleted the sessionstore.js and .bak files and then reset the browser. This accelerated its response. thnx a lot to you two.

  • My iPad WiFi Air video very slow loading same 3 full bar signal

    My iPad WiFi Air video very slow loading same 3 full bar signal... Any suggestion?

    Should I send to AppleCare or upgrade to the latest version of iOS?

    Yes, update to the latest version, 9.3.1. Also here are a few general suggestions for problems of Wi - Fi. Suggest you start at the top and down, maybe they'll help...

    (1) perform a forced reboot: hold the Home and Sleep/Wake buttons simultaneously for about 15-20 seconds, until the Apple logo appears. Leave the device to reboot.

    (2) resetting the network settings: settings > general > reset > reset network settings. Join the network again.

    (3) reboot router/Modem: unplug power for 2 minutes and reconnect. Update the Firmware on the router (support Web site of the manufacturer for a new FW check). Also try different bands (2.4 GHz and 5 GHz) and different bandwidths (recommended for 2.4 to 20 MHz bandwidth).

    (4) change of Google DNS: settings > Wi - Fi > click the network, delete all the numbers under DNS and enter 8.8.8.8 or otherwise 8.8.4.4

    (5) disable the prioritization of device on the router if this feature is available.

    (6) determine if other wireless network devices work well (other iOS devices, Mac, PC).

    (7) try the device on another network, i.e., neighbors, the public coffee house, etc.

    (8) to restore the device (ask for more details if you wish).

    https://support.Apple.com/en-us/HT201252

    (9) go to the Apple Store for the evaluation of the material.

    Council: https://discussions.apple.com/docs/DOC-9892

  • 2011 27 "iMac running very slow - please help

    Hello, I know it's an old computer, but it makes no sense as to why it is slow. When I got it, it was fast as lightning, now he struggles to keep Chrome and Photoshop open at the same time. I have reset the PRAM and SMC a couple of times, no results. The fans do not run particularly fast, and it's never really too hot. It's very slow start as well, and most of the time that I hesitate to open anything at startup for 5-10 minutes for fear of this gel horribly.

    OS X Yosemite

    10.10.5 version

    iMac (27 inch, mid 2011)

    Processor Intel Core i5 at 2.7 GHz

    4 GB 1333 MHz DDR3 memory

    AMD Radeon HD 6770 M 512 MB graphics card

    I'm free to Go 602,21 Go 999,35. Is not as if he reaches its peak to storage, and it's not as if it was a bad computer. Checked for anti-virus, so nothing has jumped to the top. Love insight as to why this iMac has become a potato.

    Thank you

    scripttion

    Please download and run a report of EtreCheck and then copy and paste the results into your answer.

    https://etrecheck.com

    That should reveal the reason why your Mac is slowing down.

    Otherwise, it's just a guessing game.

    Personal data is shared in the report

    One thing you can try since it is slow to start. Open System Preferences > users and groups > login items. Delete a connection point at the time, and then restart your Mac to test.

  • 7 Firefox is very slow to opening pages as compared Web o firefox6

    Compared to firefox6, this version, ff ver # 7.0.1 is very slow to open Web pages. It takes a long time to display the Web page. I tried to disable add ons and did everything I could, but it seems that there is a no solution.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

Maybe you are looking for