|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Tuesday, June 04, 2013 6:36 AM
Points: 415,
Visits: 1,468
|
|
Hi,
I am importing whole data (with out any where condition) from a database, and that database tables donot have any indexes.
Is there any impact on performance of the script if tables don't have indexes? As per my knowledge, if the table have clustered index it will be good. because the data pages will in an order so fetching will be good.
Please correct me if i am wrong.
Thank you,
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, September 21, 2012 2:54 AM
Points: 91,
Visits: 74
|
|
It depends on the size of your database, number of tables and rows in them.
******* Sudhakar
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Tuesday, June 04, 2013 6:36 AM
Points: 415,
Visits: 1,468
|
|
What is the base line for that? If my table is having few millions of records (ex: 20 millions) then what is best approach.
Obviously we have to create index on source tables only right? if we are not using any where clause how the index will be beneficial?
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 7:21 AM
Points: 983,
Visits: 13,356
|
|
| If there is no where/order by clause in your query then indexes are unlikely to help you.
|
|
|
|