|
It does have a logical over it (select "unprocessed records" only)
A table scan SUCKS! It's SQL reading the entire table from top to
bottom. I can think of no reason there would be a table scan on an
insert. If there's a unique constraint there will also be an index to
enforce the constraint so a table scan isn't needed there. Are there
triggers on this table? Perhaps the trigger is doing something that
requires the table scan?
-Walden
> Gqcy wrote:
I have a process that just inserts rows ( INSERT INTO <lib.file> (field1, field2, etc) VALUES(value1, value2, etc)
things were great.... until I got like 400k records in the file,
then when I wanted to do a lot of writes at near the same time, performance died.
I see something in the SQL monitor about doing a "table scan" before each INSERT.
How do I NOT do this? (if I can) <<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.