Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 4FB65174E989 for ; Fri, 24 Feb 2012 10:34:26 -0400 (AST) Received: from smtp.optionshouse.com ([38.98.137.6] helo=smtp.peak6.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S0wE1-0000aV-I6 for pgsql-performance@postgresql.org; Fri, 24 Feb 2012 14:34:25 +0000 X-AuditID: 0a64cb1e-b7b86ae000000b8b-16-4f479f66ca73 Message-ID: <4F479FDE.1070509@peak6.com> Date: Fri, 24 Feb 2012 08:34:06 -0600 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: "Reuven M. Lerner" CC: Glyn Astill , "pgsql-performance@postgresql.org" Subject: Re: Very long deletion time on a 200 GB database References: <4F45FB55.1020600@lerner.co.il> <1329990620.15378.YahooMailNeo@web171403.mail.ir2.yahoo.com> <4F4730B4.2050602@lerner.co.il> In-Reply-To: <4F4730B4.2050602@lerner.co.il> Content-Type: text/plain; charset="UTF-8"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.107.46] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBIsWRmVeSWpSXmKPExsXCxcQroZs2393fYNIaNYuZc9rYLa7PPMds 8f7RbiYHZo+pzx6weFzYN43d4/iZRpYA5qgGRpvEvLz8ksSSVIWU1OJkW6UAV0dvMwWXzOLk nMTM3NQiJYXMFFslMyWFgpzE5NTc1LwSW6XEgoLUvBQlOy4FDGADVJaZp5Cal5yfkpmXbqvk Geyva2FhaqlrqGQXjwUkNLFk7P59jb3gHkvF19l72RoYbzN3MXJySAiYSFxsmccIYYtJXLi3 ng3E5hXQkFjy9CYLiM0ioCpx+MAZMJtNQE1i4e6bYPVCArIS+1edYwWx+QWEJfZ9aAKaycEh KhAmseCdJ8QYQYmTM5+AtYoI6Ejs7n7BBFLCLFAoMbFDCyQsLOAscerxOfYuRi6giR2MEhvO 7wM7jROo/nD/LDCbWcBCYvGbg+wQtrzE9rdzmCFOkJO40/CcDeJ8BYk5V9tZJjAKzUKyehaS 9llI2hcwMq9iFC8uS0zOyDQtKM4tKTDUK0hNzDbTy0st2cQIiuWU03I7GKcvVTzEKMDBqMTD u6DOzV+INbGsuDL3EKMEB7OSCK/ZYqAQb0piZVVqUX58UWlOavEhRlNgkE1klhJNzgemmbyS eENjQ0tTS2MzAyMTSwslcV5OHlt/IYF0YGrITk0tSC2C6WPi4JRqYDTY9+rxUYu7PndX1VSl drHcX5x6bfO6ny2vDsZpvVwxc9Ppf2JeqxJ8dje2Fi2P+K+ecPvBm+9tJ6IYhWRyBVs8FSez nI0zLJ2jlX/w9Sz3ig/C9U+3HTGyDwqS/XtvhWn3VekdbwP0lu9rCm55GiE32UzAOrZ9cp5c 8PdI26WB0z+lZL+uKVRiKc5INNRiLipOBACInAkr+wIAAA== X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/198 X-Sequence-Number: 46370 On 02/24/2012 12:39 AM, Reuven M. Lerner wrote: > - CPU is virtually idle when running the deletes, using about 1% of > CPU I think you found your problem. See if you can get the Windows admins to give you some info on how busy the disks are (percent utilization, IOPS, something) the next time you try this. Increasing your memory settings may help, but a 1% CPU usage usually suggests it's waiting for disk blocks to be read before it can actually do something. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-444-8534 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email