Re: Fragement by round robin
- From: "Art S. Kagel" <art.kagel@xxxxxxxxx>
- Date: Mon, 20 Aug 2007 16:12:30 -0000
On Aug 20, 12:00 pm, mohitanch...@xxxxxxxxx wrote:
Version: IDS 10
Assuming a box has 15 CPU. And table is fragmented to go in 15
dbspaces. Now, if a table is fragmeneted by round robin and say there
are 10 inserts on the same table is going in parallel, then:
How does informix inserts them. Does it inserts them sequentially
because it's round robin or does it inserts them in parallel in 10
dbspaces ?
The access to the 'next fragment' entry is probably single threaded,
but the more intensive insert to the various fragments are made in
parallel.
Having more fragmentation is always better ? In my opinion I think
it's better when fragmented by expression, but depending on how
informix inserts/select/update it might be better for round robin.
Not a simple question. It depends on what you are optimizing for.
For insert speed round robin tends to excel. For querying and
updating specific records fragment by expression allows faster access
and more parallelism with less contention. For larger queries
accessing large subsets of the table, if fragments elimination can
reduce the scope of the search then fragment by expression is best.
For table scans under PDQPRIORITY where fragment elimination doesn't
apply all fragmentation schemes are about the same EXCEPT if
PDQPRIORITY >1 and OPTIMIZATION FIRST_ROWS and an order by matches an
index on the same key then by expression on that sort key for the
index will eliminate the sort in favor of merging the parallel index
returns which may be more responsive for interactive use (though not
neccessarily faster to return the entire query result set).
Art S. Kagel
.
- Follow-Ups:
- Re: Fragement by round robin
- From: mohitanchlia
- Re: Fragement by round robin
- References:
- Fragement by round robin
- From: mohitanchlia
- Fragement by round robin
- Prev by Date: Fragement by round robin
- Next by Date: Re: Cpu vp usage
- Previous by thread: Fragement by round robin
- Next by thread: Re: Fragement by round robin
- Index(es):
Relevant Pages
|
|