Re: Database for C#
From: DalePres (don-t-spa-m-me_at_lea-ve-me-a-lone--.com)
Date: 07/10/04
- Next message: Harris Reynolds: "RE: connection problem"
- Previous message: Radovan Radic: "Intercept Paste on TextBox control"
- In reply to: Matthias Kwiedor: "Database for C#"
- Next in thread: Nick Malik: "Re: Database for C#"
- Reply: Nick Malik: "Re: Database for C#"
- Reply: Roy Fine: "Re: Database for C#"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Jul 2004 09:56:38 -0500
If I needed absolute top performance without installing something like MSDE
or SQL Server, I would write a simple binary tree system and make your own.
It is the only way you're going to get great performance.
The problem you're going to have isn't in the fact that the other options,
Access, FoxPro, etc. are file based systems; SQLServer uses disk files to
store data too. The problem is the access methods; ODBC, ADO, etc. are just
too slow when accessing file based systems while, with SQL Server, ADO, etc.
mostly just communicates with the server.
So, while I recommend using MSDE for a client application that requires
better performance than Access, if that just is not a possibility, roll your
own. Writing a simple, application specific, b-tree system is not very
difficult. You only need a handful of methods:
Search a node (recursively),
Add a node,
Delete a node,
Split a node
Create a child node
with those and probably just a few more, you could create your own lightning
fast, application-specific, database system.
Years ago, circa 1990 or 1991, BYTE magazine had a great article on writing
your own b-tree systems. It included psuedocode for about 10 functions
that, at the time, I built upon to create a complete database system. I
suppose that's not a lot of help now (a quick search of byte.com doesn't
come up with the article) but certainly there's something similar available
on the net.
Dale
"Matthias Kwiedor" <crazyivan9@hotmail.com> wrote in message
news:Xns95229984B5168crazyivan9hotmailcom@207.46.248.16...
> Hi!
>
> In my current Project i use MS Access as Database. I know some Databases
> like SQL Server, Oracle, mySQL and the DB/2 from IBM, but no more "Stand-
> alone" Databases.
>
> Did anyone know a Database, where i can use like MS Access (this means,
> without needing to install a Database like mySQL or SQL Server) and has
> more performance as MS Access? The last time i used MS Access (about 4
> years ago) i had some performance Problems with more than 10.000 Datasets!
>
>
>
> Thanks for your help or/and comments
>
>
>
> Regards
>
> Matthias
- Next message: Harris Reynolds: "RE: connection problem"
- Previous message: Radovan Radic: "Intercept Paste on TextBox control"
- In reply to: Matthias Kwiedor: "Database for C#"
- Next in thread: Nick Malik: "Re: Database for C#"
- Reply: Nick Malik: "Re: Database for C#"
- Reply: Roy Fine: "Re: Database for C#"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|