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

  • SEARCH
  • Home
  • 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 5850605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T13:09:49+00:00 2026-05-22T13:09:49+00:00

I am executing a query that gets some data from a remote server. It

  • 0

I am executing a query that gets some data from a remote server.

It is a simple select query say

select * from opendatasource(----).[Database].[dbo].[Table1]

Now Table1 (has 4 columns) contains 15 hundred-thousand records and is growing in size.

On my server where I get the result set of the query it takes around 6 seconds to get the data. It looks slow to me.

The Table1 has a primary key field of datatype char(28) and no other index of any kind is defined.

This seems to be the problem.

What might be a possible workaround to make the database do work faster?

Help is appreciated

Thanks

  • 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-05-22T13:09:50+00:00Added an answer on May 22, 2026 at 1:09 pm

    You are pulling whole table. I don’t think you can make it faster.

    Unless:

    • you filter the number of pulled rows (where condition)
    • add index covering you where condition
    • limit the number of returned field (select field1, field2 vs select *)
    • get faster connection between the client (wherever you run the script) and server
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm executing a query like this select field from table; In that query, there
I'm executing the following query: Select guiPolygonID, dbo.fn_Yval(p1X, p1Y, p2X, p2Y, 4.003318) From [vPolygonSegments]
I'm using JasperReports engine, and one of the reports gets data from database executing
I have a query that I'm executing from a .NET application to a SQL
When executing the following (complete) SQL query on Microsoft SQL Server 2000: SELECT B.ARTIFACTTNS,
I am trying to execute an SQL query on an Adaptive Server Anywhere database.
I'm trying to insert some data from a XML document into a variable table.
I have some methods that return a List of T like say GetAllEvents. In
I'm trying to make a select statement that joins results from three in-line table
Specifically I'd like to detect when a query has been executing for over 5

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.