| From: | Арсен Арутюнян <arutar(at)bk(dot)ru> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Indexes and loops or some kind of pg error? |
| Date: | 2016-12-26 20:55:58 |
| Message-ID: | 1482785758.904131037@f369.i.mail.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hello.
I have a few questions:
1) JobStatusTest1 function has only one request and JobStatusTest2 function has as many as six requests.
Why function JobStatusTest2 is faster?
JobStatusTest1 : 981.596 ms
JobStatusTest2 : 849.133 ms
2) Two functions JobStatusTest3 and JobStatusTest4 perform the same actions. But one of the function performs the same steps in the cycle.
Why is the speed of the functions so incredibly much different?
JobStatusTest3 : 1430.777 ms
JobStatusTest4 : 2.386 ms
best
Arsen Arutyunyan
| Attachment | Content-Type | Size |
|---|---|---|
| =?UTF-8?B?YnVncmVwb3J0LnNxbA==?= | application/octet-stream | 5.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Shepard | 2016-12-26 23:23:29 | Syntax error needs fresh eyeballs |
| Previous Message | Günce Kaya | 2016-12-26 11:59:45 | Re: Er Data Modeller for PostgreSQL |