Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

which would be faster ?
I have 2 tables that i want to do an insert select from

from QA Window 1

insert <newtable>
select * from <oldtable>


insert <newtable1>
select * from <oldtable1>

----------------------------
QA window 2

insert <newtable>
select * from <oldtable>

----------------------

QA window 3

insert <newtable1>
select * from <oldtable1>


----------------------------

Will QA Window 1 where I have the 2 inserts running serially be slower than
when I run QA window 2 and 3 in parallel, assuming they are all on the same
disk or will it be the same ? Just seeking answers based on experience and
theory




Report this thread to moderator Post Follow-up to this message
Old Post
Hassan
07-28-05 04:26 PM


Re: which would be faster ?
Hassan  wrote:
> Will QA Window 1 where I have the 2 inserts running serially be
> slower than when I run QA window 2 and 3 in parallel

Probably, but no way to tell without testing. You'll increase the disk
IO executing in parallel.




--
David Gugick
Quest Software
www.imceda.com
www.quest.com


Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
07-28-05 04:26 PM


Re: which would be faster ?
So 2 is faster ?

"David Gugick" <david.gugick-nospam@quest.com> wrote in message
news:%23LR7Z64kFHA.3960@TK2MSFTNGP12.phx.gbl...
> Hassan wrote: 
>
> Probably, but no way to tell without testing. You'll increase the disk
> IO executing in parallel.
>
>
>
>
> --
> David Gugick
> Quest Software
> www.imceda.com
> www.quest.com
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hassan
07-28-05 06:25 PM


Re: which would be faster ?
hi Hassan
just see the execution plan. u might get any idea. the result also depends
on the data that u are using

--
best Regards,
Chandra
http://chanduas.blogspot.com/
http://groups.msn.com/SQLResource/
---------------------------------------



"David Gugick" wrote:

> Hassan wrote: 
>
> Probably, but no way to tell without testing. You'll increase the disk
> IO executing in parallel.
>
>
>
>
> --
> David Gugick
> Quest Software
> www.imceda.com
> www.quest.com
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Chandra
07-28-05 06:25 PM


Re: which would be faster ?
Hassan  wrote:
> So 2 is faster ?

I'll repeat myself :-)

Probably, but no way to tell without testing.


--
David Gugick
Quest Software
www.imceda.com
www.quest.com

Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
07-28-05 06:25 PM


Re: which would be faster ?
I did a little experiment for this scenario with 150 MB in "oldtable"
and 150 MB in "oldtable1". There was no significant performance
difference. All was done on the same one SCSI disk (both sources and
both destinations).

Then I did the same experiment, but this time "oldtable" and "newtable"
were on a different disk from "oldtable1" and "newtable1". It will come
as no surprise that in this case the seperate processes were
considerably faster.

HTH,
Gert-Jan


Hassan  wrote:
>
> I have 2 tables that i want to do an insert select from
>
> from QA Window 1
>
> insert <newtable>
> select * from <oldtable>
>
> insert <newtable1>
> select * from <oldtable1>
>
> ----------------------------
> QA window 2
>
> insert <newtable>
> select * from <oldtable>
>
> ----------------------
>
> QA window 3
>
> insert <newtable1>
> select * from <oldtable1>
>
> ----------------------------
>
> Will QA Window 1 where I have the 2 inserts running serially be slower tha
n
> when I run QA window 2 and 3 in parallel, assuming they are all on the sam
e
> disk or will it be the same ? Just seeking answers based on experience and
> theory

Report this thread to moderator Post Follow-up to this message
Old Post
Gert-Jan Strik
07-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 12:31 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006