SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Data load for 2013 is taking too long
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gaby_58
Starting Member

30 Posts

Posted - 07/25/2013 :  17:09:42  Show Profile  Reply with Quote
We have 2009 thru 2013 data in the database, all the data 2009 thru 2012 comes out quick except 2013 data, it doesn't come out and hangs forever, what could be the problem and how to resolve this

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 07/26/2013 :  02:28:39  Show Profile  Reply with Quote
is table partitioned? do you've an index on date field?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

gaby_58
Starting Member

30 Posts

Posted - 07/26/2013 :  11:09:40  Show Profile  Reply with Quote
Not sure, how do I find it and what will this help? Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 07/26/2013 :  11:18:01  Show Profile  Reply with Quote
have a look at sys.indexes for index info and
to get partitioned tables use logic like


select distinct t.name
from sys.partitions p
inner join sys.tables t
on p.object_id = t.object_id
where p.partition_number <> 1


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

gaby_58
Starting Member

30 Posts

Posted - 07/26/2013 :  11:21:57  Show Profile  Reply with Quote
Could you give an example to use this
Go to Top of Page

Paul J. Brooks
Starting Member

USA
7 Posts

Posted - 11/26/2013 :  05:40:13  Show Profile  Reply with Quote
I m a stranger with this topic.i wanna discus on this topic.if any one is interested then plz reply me.i m waiting.Thanks for sharing this information.
unspammed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000