Using EXTENT SIZE + NEXT SIZE for TEMP tables will impact performance in informix DB? -
i want know if there performance impact if using extent size, next size
while creating temp tables in informix db.
that smells premature optimization me. in 20 years of writing informix sql, don't think i've ever found need set extent size
or next size
on explicitly created temp table. assuming have dbspaces on decent speed disks allocated temporary tables, there's aren't many performance tuning options. temporary tables aren't logged in first place, there's not lot of overhead.
the theoretical benefit in declaring extent size
might ensure there sufficient temp space available before commencing long running query, seems blunt instrument. not guarantee won't run out of space anyway, , simultaneously allocates space unavailable other queries. said, classic example of premature optimization.
long story short, answer no, there's no performance benefit in setting size attributes.
Comments
Post a Comment