| От | Josh Berkus |
|---|---|
| Тема | Re: [SQL] Why very high CPU usage |
| Дата | |
| Msg-id | web-1456567@davinci.ethosmedia.com обсуждение исходный текст |
| Ответ на | Why very high CPU usage ("Samuel J. Sutjiono" <ssutjiono@wc-group.com>) |
| Список | pgsql-general |
Samuel, > I ran a search query against two tables keywords and catalog. > Keywords table has about 765,000 records and catalog hase about > 147,000 records. The query returns 9,000 records. This query had 70 - > 80% of CPU usage. Are there any configuration parameter(s) that I > need to check and change ? And this is a problem because .... ? High CPU usage is a *good* thing. Under perfect tuning, Postgres would hit about 97% CPU usage ... for about 0.1 seconds (or less, depending on your processor). The more CPU power used, the faster the query is solved. If you're having performaince problems, I suspect that they are located somewhere other than your CPU. -Josh Berkus
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера