12 messages in com.mysql.lists.dotnetFw: Blob performance| From | Sent On | Attachments |
|---|---|---|
| pablosantosluac | 17 Aug 2006 08:23 | |
| Jorge Bastos | 17 Aug 2006 08:26 | |
| pablosantosluac | 17 Aug 2006 08:43 | |
| Jorge Bastos | 17 Aug 2006 08:46 | |
| pablosantosluac | 17 Aug 2006 09:13 | |
| Jorge Bastos | 17 Aug 2006 09:22 | |
| pablosantosluac | 17 Aug 2006 09:32 | |
| Jorge Bastos | 17 Aug 2006 09:41 | |
| pablosantosluac | 17 Aug 2006 23:47 | |
| Jorge Bastos | 18 Aug 2006 01:22 | |
| pablosantosluac | 18 Aug 2006 03:26 | |
| DG...@ NEFACOMP | 18 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
----- Original Message ----- From: "pablosantosluac" <pabl...@terra.es> To: "Jorge Bastos" <mysq...@decimal.pt>; <dot...@lists.mysql.com> Sent: Thursday, August 17, 2006 5:13 PM Subject: Re: Blob performance
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...
----- Original Message ----- From: "Jorge Bastos" <mysq...@decimal.pt> To: "pablosantosluac" <pabl...@terra.es>; <dot...@lists.mysql.com> Sent: Thursday, August 17, 2006 5:46 PM Subject: Re: Blob performance
Hum strange... What's your hardware, mysql version?
----- Original Message ----- From: "pablosantosluac" <pabl...@terra.es> To: "Jorge Bastos" <mysq...@decimal.pt>; <dot...@lists.mysql.com> Sent: Thursday, August 17, 2006 4:43 PM Subject: Re: Blob performance
Well, I have just tried that (once you told me) but didn't detect any performance gain...
----- Original Message ----- From: "Jorge Bastos" <mysq...@decimal.pt> To: <dot...@lists.mysql.com> Sent: Thursday, August 17, 2006 5:27 PM Subject: Re: Blob performance
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
----- Original Message ----- From: "pablosantosluac" <pabl...@terra.es> To: <dot...@lists.mysql.com> Sent: Thursday, August 17, 2006 4:23 PM Subject: Blob performance
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?
-- MySQL on .NET Mailing List For list archives: http://lists.mysql.com/dotnet To unsubscribe: http://lists.mysql.com/dotnet?unsub=mysq...@decimal.pt
-- MySQL on .NET Mailing List For list archives: http://lists.mysql.com/dotnet To unsubscribe: http://lists.mysql.com/dotnet?unsub=pabl...@terra.es




