Distributing Databases
Author
Discussion

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
Does anybody know the best/cheapest option for distributing some software with a database app embeded?

e.g. if we want to create a contact system based on an Access database but with our own frontend. Does the user need an access licence?

Other options to consider would my mysql I suppose, but it needs the server software installing. And costs $300.

Has anybody written their own database software to handle 100k records for example?

TIA

LaurenceFrost

691 posts

279 months

Monday 15th November 2004
quotequote all
DO NOT USE ACCESS FOR THIS.

You are forced to give each user a copy of the database, which is set up for replication. This causes no end of problems, because you each have to synchronise at the end of each day.

So if any more than 2 of you have a copy, you much create a synchronisation plan (who synchronises with who, and when do they do it) and it's just such a mess.

A far better way is to centralise a database, and have each person connect to it remotely. MySQL is a good idea, although you will have to pay for hosting. This can be had for as little as £100 per year though.

You could even set up your own server with a broadband connection. As long as you have a static IP address for the connection this would also work very well.

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
It's not going to be a web app - it'll be written in delphi and run on windows.

Can't access manage concurrent connections with the main db sat on a server?

Sorry to sound daft, but I'm used to working with Oracle.

I'm thinking more along the lines of licence requirements of using an mdb file over a full db server software setup.

>> Edited by size13 on Monday 15th November 11:17

LaurenceFrost

691 posts

279 months

Monday 15th November 2004
quotequote all
Access can hold concurrent connections (255 theoretically), but it cannot solve any queries on the server.

If you have your typical Order (100 records) and Order_Line (1000 records) tables, and you want to know the items ordered for a given order, access will send you all 100 Order records, and all 1000 Order_Line records.

Upon receiving the data, the MS Jet Engine will throw away the 99 Order records it doesn't want, and the 995 or so Order_Line records it doesn't want.

You can see the problem!

MySQL doesn't need to be a web app database. As long as it can be connected to remotely via an IP address, you can use it from a Windows application.

Haven't used Delphi, but can't see a problem as long as it can support ODBC connections.

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
Thanks, so Access isn't ideal for the larger scale.

I've used MySql for both Windows and PHP web apps, so that's not a problem. I was just thinking of the cheapest option.

ta.

Plotloss

67,280 posts

297 months

Monday 15th November 2004
quotequote all
mySQL is free isnt it?

tim_s

299 posts

281 months

Monday 15th November 2004
quotequote all
"Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) is the free, redistributable version of SQL Server that’s ideal for client applications that require an embedded database, new developers learning how to build data-driven applications, and Web sites serving up to 25 concurrent users."

www.microsoft.com/sql/msde/default.asp

>> Edited by tim_s on Monday 15th November 12:56

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
Plotloss said:
mySQL is free isnt it?

Only if the software you write is open source, otherwise you need the commercial version

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
tim_s said:
have a look into MSDE (Microsoft SQL Server Desktop Engine) which is designed for desktop apps. it's basically a cut down version of sql server.

www.microsoft.com/sql/msde/default.asp

>> Edited by tim_s on Monday 15th November 12:55

Thanks for that - reading now

Plotloss

67,280 posts

297 months

Monday 15th November 2004
quotequote all
I thought you only paid under the GNU if you sold it on, i.e. not if you are using your own software for your own use commercially.

size13

Original Poster:

2,033 posts

284 months

Monday 15th November 2004
quotequote all
We do want to sell things on

Plus, from mysql.com licencing...

If you distribute MySQL Software within your organization, you should purchase a commercial license.

Depends how you read that statement.

Plotloss

67,280 posts

297 months

Monday 15th November 2004
quotequote all
Well there you go...

MSDE will do what you want of it, its quite good and if you happen to have the MSSQL Enterprise Manager kicking about you can administer MSDE with that...

tim_s

299 posts

281 months

Monday 15th November 2004
quotequote all
Plotloss said:
Well there you go...

MSDE will do what you want of it, its quite good and if you happen to have the MSSQL Enterprise Manager kicking about you can administer MSDE with that...


plotless, how do you administer msde through enterprise manager?

Plotloss

67,280 posts

297 months

Monday 15th November 2004
quotequote all
Doesnt EM expose the running instance of MSDE just like an SQL Server?

I havent used MSDE but I was reading my SQL Server 2000 in 4 nanoseconds (or whatever) book the other day and it says you can in there...

Don

28,378 posts

311 months

Monday 15th November 2004
quotequote all
Plotloss said:
Doesnt EM expose the running instance of MSDE just like an SQL Server?

I havent used MSDE but I was reading my SQL Server 2000 in 4 nanoseconds (or whatever) book the other day and it says you can in there...


yep. works just like regular sql server.

gopher

5,160 posts

286 months

Monday 15th November 2004
quotequote all
There are some other alternatives

Sql Express is due out soon, expected to be very cheap or free

http://lab.msdn.microsoft.com/express/sql/

and VistaDB which looks good, small, seemingly quite fast, however does not yet support stored procs, and I did get a couple of issues when using it, but nothing that could not be worked around.

www.vistadb.net/

Cheers

Paul