Re: Performance problem in sql ce
- From: "Ginny Caughey MVP" <ginny.caughey.online@xxxxxxxxxxxxxx>
- Date: Mon, 21 Apr 2008 07:03:42 -0400
Even with correct indexes, having lots of joins is a known performance bottleneck. How many is "lots"? I guess it depends on the data. The only workaround I'm aware of is to denormalize your data.
Ginny
"Gagan" <Gagan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2262FDFC-E4AD-4337-AF87-30432E95922B@xxxxxxxxxxxxxxxx
Hi,
I am very disappointed with the sql queries performance in sql ce. In my
some queries i have inner joins on 9 tables some tables have more then 150000
records. Db size is around 15 MB. If i run that query with particular where
clause (ex RoomNo. = 100) then it gives result in 1 minute otherwise i wait
for 15 min. & i did not get results. However i am using proper indexing on
SARG still response time is not acceptable. I also tried by putting db on sd
card doesn't work.
Can any body help me to find out where i am wrong or the limitations of sql
ce queries.
--
Ginny Caughey
Device Application Development MVP
www.wasteworks.com
Software for Waste Management
.
- Follow-Ups:
- Re: Performance problem in sql ce
- From: Gagan
- Re: Performance problem in sql ce
- References:
- Performance problem in sql ce
- From: Gagan
- Performance problem in sql ce
- Prev by Date: RE: Distributing SQL CE 3.5
- Next by Date: Re: Performance problem in sql ce
- Previous by thread: Performance problem in sql ce
- Next by thread: Re: Performance problem in sql ce
- Index(es):
Relevant Pages
|