Re: Another 3d model editor
Posted by: Timothy Graupmann
Date: January 23, 2005 01:01PM

> This was getting overlooked because of Reggie's comment.

This app relies on Connector/net, which I have some performance issues with.

I need to be able to input 7500 polygons, 7500 vertex normals, 7500 vertex colors, and 20k indices in 1 second to start with.

So far to increase performance I've tried the following:

- First of all, I have created the proper indexes.
- I used short index names to get a perf boost per MySQL documention
- I lock the table before inserting or selecting a large group of records using the following (Is there a better way?)

IDbCommand myCommand = myConnection.CreateCommand();
myCommand.CommandText = "LOCK TABLES tagml_vertex3d WRITE";
myCommand.ExecuteNonQuery();

foreach(Vertex3d newVertex3d in vertex3dList)
...
myCommand.ExecuteNonQuery();
....

- I unlock the table afterward (Is it possible to unlock just a single table?)

myCommand = myConnection.CreateCommand();
myCommand.CommandText = "UNLOCK TABLES";
myCommand.ExecuteNonQuery();

Are there any other peformance improvements I could do? Using MySQL 4.0. Connector 1.0.3.

Options: ReplyQuote


Subject
Written By
Posted
January 17, 2005 09:13PM
January 18, 2005 08:08AM
Re: Another 3d model editor
January 23, 2005 01:01PM
January 27, 2005 09:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.