SunQuest
           MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 1st, 2004, 09:34 PM
WendellTagros WendellTagros is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 WendellTagros User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SELECT Statement

Hi,

I have a table Jobs with the following fields

id_jobs char(8), job_title char(100), job_desc char(1000), id_country, id_skills, id_industry

the table has 40 records
when i issue a select statement in my SP.

SELECT id_jobs, job_title, job_desc, id_country, id_skills, id_country FROM jobs ...

it took me more that 1 min to load the first 10 records.


compared with this statement

SELECT id_jobs FROM jobs ....


this code is being called from my ASP Page. We have a shared hosting of db

Hoping for your insights.!


Thanks,

Wendell

Reply With Quote
  #2  
Old September 2nd, 2004, 04:16 AM
sjosse sjosse is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 sjosse User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try adding 1 column at the time to find out which one is causing the bottleneck

Reply With Quote
  #3  
Old September 3rd, 2004, 01:49 AM
WendellTagros WendellTagros is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 WendellTagros User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
its the job_title and job_desc i think that's causing the bottleneck.. why is this happening?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > SELECT Statement


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway