12 messages in com.mysql.lists.dotnetFw: Blob performance
FromSent OnAttachments
pablosantosluac17 Aug 2006 08:23 
Jorge Bastos17 Aug 2006 08:26 
pablosantosluac17 Aug 2006 08:43 
Jorge Bastos17 Aug 2006 08:46 
pablosantosluac17 Aug 2006 09:13 
Jorge Bastos17 Aug 2006 09:22 
pablosantosluac17 Aug 2006 09:32 
Jorge Bastos17 Aug 2006 09:41 
pablosantosluac17 Aug 2006 23:47 
Jorge Bastos18 Aug 2006 01:22 
pablosantosluac18 Aug 2006 03:26 
DG...@ NEFACOMP18 Aug 2006 04:54 
Subject:Fw: Blob performance
From:Jorge Bastos (mysq@decimal.pt)
Date:08/17/2006 09:22:33 AM
List:com.mysql.lists.dotnet

anyway it's strange i use a P3 500 with 128RAM machine with Linux for developing (client's will have a better hardware so it'll run without no problems) and inserting blob's with that size +- takes just a few secunds

I'm using the latest community edition (5.0). The hardware is not very fast: a laptop... But anyway, using other DB is much faster...

Hum strange... What's your hardware, mysql version?

Well, I have just tried that (once you told me) but didn't detect any performance gain...

hum i don't have that feedback you may need some tunning in the mysql server do you have something like this in my.ini/cnf?

skip-name-resolve

to prevend reverse dns search throw dns's

Hi,

I'm developing an application that needs extensive blob support. I made some tests and I got the follwing performance values: inserting 50 records (one blob of 4Mb each) takes:

- 14 seconds in firebird - 20 seconds in SQL Server Express - 96 seconds in MySQL

I guess I'm doing something wrong. I just followed the sample at the connector's manual, writing something like:

string query = string.Empty;

query =

"INSERT INTO TESTDATA (iobjid, bdata) " +

"VALUES (?objid, ?val)";

// Save binary blob using named parameter

cmd.CommandText = query;

MySqlCommand mcmd = (MySqlCommand) cmd;

mcmd.Parameters.Add("?objid", objId);

mcmd.Parameters.Add("?val", data);

cmd.ExecuteNonQuery();

cmd.Parameters.Clear();

Should I change something?