/ Forside / Teknologi / Udvikling / SQL / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
SQL
#NavnPoint
pmbruun 1704
niller 962
fehaar 730
Interkril.. 701
ellebye 510
pawel 510
rpje 405
pete 350
gibson 320
10  smorch 260
Langsom performance på tabel med image fel~
Fra : Ukendt


Dato : 13-11-06 19:06

Mailen kommer lige på engelsk da jeg først postede den i en udenlands NG
uden hel.

Hi

I have a SQL server 2000 SP4 on a windows 2003 2x3Ghz XEON 4 GB ram.

We have a table looking like this with currently 6 rows. Total data is aprox
10 kb i all row all together.

CREATE TABLE [dbo].[BIOMETRICPROFILE] (
[BIOMETRICPROFILEID] [bigint] IDENTITY (1, 1) NOT NULL ,
[FINGERPRINTTEMPLATE1] [image] NOT NULL ,
[FINGERPRINTTEMPLATE2] [image] NOT NULL ,
[FINGERPRINTTEMPLATE3] [image] NOT NULL ,
[FINGERPRINTTEMPLATE4] [image] NOT NULL ,
[FINGERPRINTTEMPLATE5] [image] NOT NULL ,
[FINGERPRINTTEMPLATE6] [image] NOT NULL ,
[TYPE] [nvarchar] (50) COLLATE Danish_Norwegian_CI_AS NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

select * from BIOMETRICPROFILE takes ~4 seconds (!) to execute thourgh Query
analyzer. Alle other tables has no performance problems.

We have a SQL 2005 express instalation on the same server. If we restore a
backup from the sql 2000 database the query takes aprox ~ 15 ms.What is
going on here?

Has SQL 2000 problems with image fields? or how can we find the problem?

Regards
Anders






 
 
Rene S. Nielsen (24-11-2006)
Kommentar
Fra : Rene S. Nielsen


Dato : 24-11-06 01:59

Hej

Nu kan der jo være mange ting med sådan ms sql server, men jeg ville nok
starte med at kigge på memory allokation.

Du skriver godt nok at din server er med 4 gb ram, sql2000 kan godt finde på
at sie at den bruger de 4 gb, men det gør den ikke hvis man ikke har sat
forskellige options på win2003. Jeg kan ikke huske dem på stående fod, men
der er noget med at sql2000 ikke kan allokere mere en 1 gb, hvis disse
options ikke er sat. Det er blandt andet en af de ting som er rettet i 2005.

Men som sagt det kan være rigtig mange ting.

Håber det er til bare lidt hjælp

Mvh
Rene

PS. vælg Oracle :)




"news.tele.dk" <anders> skrev i en meddelelse
news:4558b3ee$0$12638$edfadb0f@dread14.news.tele.dk...
> Mailen kommer lige på engelsk da jeg først postede den i en udenlands NG
> uden hel.
>
> Hi
>
> I have a SQL server 2000 SP4 on a windows 2003 2x3Ghz XEON 4 GB ram.
>
> We have a table looking like this with currently 6 rows. Total data is
> aprox
> 10 kb i all row all together.
>
> CREATE TABLE [dbo].[BIOMETRICPROFILE] (
> [BIOMETRICPROFILEID] [bigint] IDENTITY (1, 1) NOT NULL ,
> [FINGERPRINTTEMPLATE1] [image] NOT NULL ,
> [FINGERPRINTTEMPLATE2] [image] NOT NULL ,
> [FINGERPRINTTEMPLATE3] [image] NOT NULL ,
> [FINGERPRINTTEMPLATE4] [image] NOT NULL ,
> [FINGERPRINTTEMPLATE5] [image] NOT NULL ,
> [FINGERPRINTTEMPLATE6] [image] NOT NULL ,
> [TYPE] [nvarchar] (50) COLLATE Danish_Norwegian_CI_AS NOT NULL
> ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
> GO
>
> select * from BIOMETRICPROFILE takes ~4 seconds (!) to execute thourgh
> Query
> analyzer. Alle other tables has no performance problems.
>
> We have a SQL 2005 express instalation on the same server. If we restore a
> backup from the sql 2000 database the query takes aprox ~ 15 ms.What is
> going on here?
>
> Has SQL 2000 problems with image fields? or how can we find the problem?
>
> Regards
> Anders
>
>
>
>
>



Søg
Reklame
Statistik
Spørgsmål : 177455
Tips : 31962
Nyheder : 719565
Indlæg : 6408144
Brugere : 218879

Månedens bedste
Årets bedste
Sidste års bedste