Re: Memory usage\Performance problem
- From: "Magnus Österberg" <magnus.osterberg@xxxxxx>
- Date: Wed, 31 Aug 2005 09:26:34 +0300
Thank you Robert, these all are things that I'll keep in mind.
One more thing though; why is the sqlservr.exe process consuming 395 mb RAM
when the entire server is idle?
My "cron job" is inserting a few 1000 rows of data at night, but now it is
late morning here in Finland, and the entire machine is more or less idle.
On my other servers, the RAM consumption on idle is about 20-30 mb only.
Anyone got any ideas?
/Magnus
"Robert Klemme" <bob.news@xxxxxxx> wrote in message
news:3ngkc3F1dnm7U1@xxxxxxxxxxxxxxxxx
> Magnus Österberg wrote:
>> I guess my expectations on selecting based on a non-indexed column
>> were somewhat high. When I added an index, my query executes in
>> seconds.
>> One index solved this problem, but my table contains 30-40 similar
>> columns, and I don't think indexing every column is a good idea.
>
> Two things come to mind:
>
> 1. rethink your table design. If these columns are so similar you might
> be better off with a second table which is joined. But that of course
> depends on your data - just an idea.
>
> 2. Create indexes (possibly composite indexes) for most used queries. You
> might even get away with a single (or few) composite index if your queries
> only use a leading portion of this index's fields.
>
>> Isn't there any other ways of speeding up selects? Well, I guess
>> not...
>
> Well, there are tons of other options, like having data files on several
> disks, putting tx log on a separate disk, adding memory, .... It all
> depends. :-)
>
> Kind regards
>
> robert
>
.
- Follow-Ups:
- Re: Memory usage\Performance problem
- From: Erland Sommarskog
- Re: Memory usage\Performance problem
- References:
- Memory usage\Performance problem
- From: Magnus Österberg
- Re: Memory usage\Performance problem
- From: Erland Sommarskog
- Re: Memory usage\Performance problem
- From: Magnus Österberg
- Re: Memory usage\Performance problem
- From: Robert Klemme
- Memory usage\Performance problem
- Prev by Date: Re: Why the performace differs?
- Next by Date: Re: Memory usage\Performance problem
- Previous by thread: Re: Memory usage\Performance problem
- Next by thread: Re: Memory usage\Performance problem
- Index(es):
Relevant Pages
|