July 1, 2010 at 7:12 am
This should be the easiest question for you all.
My question is:
how many records i can insert into a table per second?
Note:
I am not using select * into...
I dont want to use bulk insert.
There are no triggers, primary keys and indexes on the table
No other application is accessing this table.
All the columns this table are of type varchar(200)
Total Number of columns are 108.
Plz tell me if you need more information.
July 1, 2010 at 7:38 am
virender.singh (7/1/2010)
This should be the easiest question for you all.My question is:
how many records i can insert into a table per second?
It depends.
Depends on hardware, size of table, indexes present, concurrent activity, probably several more things as well.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2010 at 7:59 am
You will find comparison table in this article:
http://msdn.microsoft.com/en-us/library/dd425070(SQL.100).aspx">
http://msdn.microsoft.com/en-us/library/dd425070(SQL.100).aspx
July 2, 2010 at 1:28 am
Eugene, you included some tags in that link by mistake. This version works:
http://msdn.microsoft.com/en-us/library/dd425070(SQL.100).aspx
I'm not sure it will help virender too much, but it's all good useful information.
As far as the original question is concerned, it really does depend, but even with single-row INSERT statements, most servers should be able to do many thousands of rows per second. This is, of course, a daft way to do it.
Eugene's link shows better methods.
Paul
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi
July 2, 2010 at 1:59 am
Thank you Paul, I have no idea of how these rubbish tags end-up in the link I've posted. 😀
July 2, 2010 at 2:32 am
virender.singh (7/2/2010)
@Paul : I will cheer for newzeland during next india-newzeland battle;-)
Cheer for South Africa next time we play India! We're more likely to win. 😉 :hehe:
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2010 at 2:44 am
GilaMonster (7/2/2010)
virender.singh (7/2/2010)
@Paul : I will cheer for newzeland during next india-newzeland battle;-)Cheer for South Africa next time we play India! We're more likely to win. 😉 :hehe:
I will be cheering for my India...20-20, we suck, but ODI and Test, india are teh team to beat! Beating them isnt as easy for Smith's gang as SQL server is easy for you, Gail! :w00t: 😛
July 2, 2010 at 3:08 am
ColdCoffee (7/2/2010)
...I will be cheering for my India...20-20, we suck, but ODI and Test, india are teh team to beat! Beating them isnt as easy for Smith's gang as SQL server is easy for you, Gail! :w00t: 😛
...
After one of my Indian friends explained me the cricket rules (which I've failed to understand during the 10 years life in AUS), I can also support some team.
The best cricket game I ever seen wasn't too long ago (last world champ or cap in SA?). It was a very special game, as all Indians on our floor were supporting team from...
PAKISTAN!!! :w00t: 😀 :w00t:
Eeeee, it was between Pakistan and Australia, and if Pakistan would win, India team whould be playing in final. It didn't happen so :ermm:
Actually, should be the SPORT forum group be added as a one with dedicated forums for the different SPORTS 😀
I'm not sure if Editor will like this idea :w00t:
July 2, 2010 at 3:20 am
GilaMonster (7/2/2010)
virender.singh (7/2/2010)
@Paul : I will cheer for newzeland during next india-newzeland battle;-)Cheer for South Africa next time we play India! We're more likely to win. 😉 :hehe:
Humph! 😎
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply