Re: Reduce palloc's in numeric operations.
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2012-10-17T15:04:37Z
Lists: pgsql-hackers
Kyotaro HORIGUCHI wrote: > Hello, I will propose reduce palloc's in numeric operations. > > The numeric operations are slow by nature, but usually it is not > a problem for on-disk operations. Altough the slowdown is > enhanced on on-memory operations. > > I inspcted them and found some very short term pallocs. These > palloc's are used for temporary storage for digits of unpaked > numerics. This looks like a neat little patch. Some feedback has been provided by Heikki (thanks!) and since we're still waiting for an updated version, I have marked this Returned with Feedback for the time being. Please make sure to address the remaining issues and submit to the next commitfest. Thanks. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Replace XLogRecPtr struct with a 64-bit integer.
- 0ab9d1c4b316 9.3.0 cited