Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8280689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:46:14+00:00 2026-06-08T09:46:14+00:00

Fetching rougly 7Mb of data from SQL server 2008 R2 to a client takes

  • 0

Fetching rougly 7Mb of data from SQL server 2008 R2 to a client takes around 5 seconds. The machine is relatively powerful AMD 12 Core, 64Gb RAM, Windows Server 2008, 2 10Gbit cards.
Running the select on the server is even slower, then from client. Copying 7Mb file from that server to a local workstation is around 500ms.

Here is a small reproducer:

--create test table for reproducer
CREATE TABLE [dbo].[Test_Speed](
    [ED] [datetime] NULL
) ON [PRIMARY]

  --fill test table with data, insert took 3:51 mins
  declare @r int
  set @r = 1
  while (@r < 830000)
  begin 
  insert into [CDB_ODS].[dbo].[Test_Speed] select getdate()
  set @r = @r+1
  end

  --select all records, roughly 7Mb. 4 secs if run on the client, 5 secs on the server (1.4Mb sec)
  select ed from [dbo].[Test_Speed]


  /*
  SELECT on CLIENT
    SQL Server parse and compile time: 
   CPU time = 0 ms, elapsed time = 0 ms.
Table 'Test_Speed'. Scan count 1, logical reads 1833, physical reads 0, read-ahead reads 0, 
lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.

 SQL Server Execution Times:
   CPU time = 281 ms,  elapsed time = 4020 ms.
SQL Server parse and compile time: 
   CPU time = 0 ms, elapsed time = 0 ms.

 SQL Server Execution Times:
   CPU time = 0 ms,  elapsed time = 0 ms.


   --- SELECT on SERVER 
   SQL Server parse and compile time: 
   CPU time = 0 ms, elapsed time = 0 ms.

(829999 row(s) affected)
Table 'Test_Speed'. Scan count 1, logical reads 1833, physical reads 0, read-ahead reads 0,
 lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.

 SQL Server Execution Times:
   CPU time = 328 ms,  elapsed time = 5369 ms.
SQL Server parse and compile time: 
   CPU time = 0 ms, elapsed time = 0 ms.

 SQL Server Execution Times:
   CPU time = 0 ms,  elapsed time = 0 ms.

   */
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T09:46:16+00:00Added an answer on June 8, 2026 at 9:46 am

    Yes, this seems relatively normal to me. 7Mbytes is a fair amount of data.

    Performance depends highly on the client. Of course, things like network speed have an effect. A bigger effect is buffer sizes at various points along the way. For fastest performance, you want SQL Server to send over big batches of results all at once, which get quickly put into the application.

    Other options have a big effect as well. In Excel/VBA, there are different methods of bringing data in. If you use a cursor, you want a read-only, read forward cursor. Anything else can be much, much slower. One kind of cursor, for instance, will read the data one row at a time — so latency becomes the dominant factor in performance rather than bandwidth (I think this is updatable cursors, but I’m not positive).

    You’ll need to say more about your client and how it accesses the data. This is most likely a client side issue and not a database issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While fetching Boolean data from database with hibernate SQL query gives the following error
I am fetching data from MySql database to solr server, my point is can
I am fetching some questions from the server (database) and showing it to client
I am fetching data from a sql query into an asp table in cs
I am fetching some data from a database like this $sql =SELECT * FROM
I am fetching the some data from the server using XML parsing that is
I am fetching JSON data from my local server and was wondering what functions
I am fetching some data from a site using its API-key and some other
I am fetching some values in a forEach clause data.forEach(function(content){ ... controller.setAttribute(value from data);
I'm fetching some data from an MSSQL table using the mssql_fetch_object, but the text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.