[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 01-06-2007, 03:20 AM   #1 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


Best Database - Mysql / MS Access / MS SQL

Hello

I tried to search on net but did'nt get the answer.

Which database is good for medium size Database.

1. MYSQL
2. MSSQL ( Microsoft) 2000/2003
3. MS Access - i think it will hang if more Records

Pl. suggest which database to use and advantage and disadvantages.

Thanks
Anurag
anurag is offline  
Old 01-06-2007, 03:50 AM   #2 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


It depends primarily on your platform. If you are using Unix you will have to go with MySQL as MS SQL and Access are Windows only (alternatively you could also use PostgreSQL or Firebird or any other database which runs on Unix).

If you run Windows you have the full range of choice. However for a recommendation one has to know the overall purpose of the DB as well as the expected size of data.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-06-2007, 05:20 AM   #3 (permalink)
Stud Sausage
 
Join Date: Dec 2006
Location: England
Posts: 1,546
34.41 NP$ (Donate)

Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of

Adoption Breast Cancer Breast Cancer Cancer Survivorship
*nix wise, i would use MySQL. True it is a 'dummed down' version of true databases such as Access (i.e. no referential integrity etc) but it does what most people want.

I wouldn't use anything other than MySQL or PostgreSQL, but MySQL over the latter.
__________________
My NamePros Tools
(firefox plugin, google gadget etc)
Matthew. is offline  
Old 01-06-2007, 06:23 AM   #4 (permalink)
NamePros Regular
 
Join Date: Aug 2006
Location: USA
Posts: 725
212.90 NP$ (Donate)

enlytend is a name known to allenlytend is a name known to allenlytend is a name known to allenlytend is a name known to allenlytend is a name known to allenlytend is a name known to all


Access doesn't scale well for multiple, concurrent users ... I wouldn't advise it for a web application.

I'm partial to MySQL and Postgres myself, but then I'm not a big Micro$oft fan in general.

As neroux ponted out, if you're on *nix MSSQL and Access aren't among your options ...
enlytend is offline  
Old 01-06-2007, 06:47 AM   #5 (permalink)
NamePros Regular
 
Join Date: Mar 2006
Location: United Kingdom
Posts: 344
482.75 NP$ (Donate)

lee101 is a jewel in the roughlee101 is a jewel in the roughlee101 is a jewel in the rough


I would say MySQL, assuming it is web based, although I have never used MsSQL before and have only used an Access database with the Access software, admittedly it has a nice UI for managing, but it seems a bit bloated is alls you want to do is store data. And I would say MySQL is easier to work with, i.e. create a PHP backend to access it.

Lee
__________________
http://bypasstopsite.com - Submit your proxy!
http://biggertwitter.com - Make twitter a bit bigger!
Currently Developing - Linux Screenshots
lee101 is offline  
Old 01-06-2007, 07:14 AM   #6 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


An additional comment as I saw some rather specific suggestions. I think its difficult to give a good advice without knowing the exact background details and requirements. It could range from Access up until to a clustered Oracle setup.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-06-2007, 10:06 AM   #7 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


helllo All,

Thanks for your kind help.

I am using Windows platform and have choice of using ASP/ PHP/.net for frontend(application).

I searched on net and as suggested by enlytend, if we try to create more than 5 connections using MS-Access, system will hang.

I think Oracle and Mainframe ( IMS / DB2) are more for large databases and maintenance and licence is very expensive.

So as suggsted options are only between MYSQL ans SQL Server. My issue is how many maximum users can use MYSQL or SQLSERVER at a time.

For example which have around 1000 or 2000 users accessing the database, is it ok to use MYSQL or SQLSERVER. Or system will not work. ( I think i say medium size database) and how many maximum records in one table can store without major problem ( I know MS-Access will not open if try to store more than 5000 records in one table).

Hope I am able to give more or less requirement.

Again thanks for help.

Anurag
anurag is offline  
Old 01-06-2007, 10:31 AM   #8 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


Are these 1000 to 2000 simultaneous users? In this case it wouldnt be medium sized anymore and you might even want to look into a clustered solution. Otherwise the size of the data will be more important.

What do you want to store? What is the expected size? Can you give a rough outline of your requirements?
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-06-2007, 02:58 PM   #9 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


neroux, Thanks for your kind supprot.

yes. 1000 to 2000 simultaneous users.
what you mean by clustered solution.

basically it is blog site and 1000 to 2000 users will be online at a time. I am not sure about the size of database. I would say may be aruound 1GB. But aruond 50000 or more records in one table.

so 2000 simultaneous users will access, modify or update the tables.

So initially less user but when when user size will grow , I don't want to be in trouble if users get error because of Database issue.

I know moving to new database (mysql --> sql server --> oracle) and again testing is a big pain

I think now yougot some rough idea, still need more input.

Quote:
Originally Posted by neroux
Are these 1000 to 2000 simultaneous users? In this case it wouldnt be medium sized anymore and you might even want to look into a clustered solution. Otherwise the size of the data will be more important.

What do you want to store? What is the expected size? Can you give a rough outline of your requirements?
anurag is offline  
Old 01-06-2007, 04:38 PM   #10 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


With 1000 to 2000 simultaneous users Access is definitely out as it wouldnt be able to handle such an amount of transactions (after all its a desktop database and if used for a web application it should be only used for small setups). With such a high user load you might really want to look into a clustered solution (see here for more information about clusters), not only for load balancing but also for availability.

For such an installation (and with proper hardware) MS SQL and Oracle would definitely not disappoint you but I'd say MySQL would be able to handle it as well (especially in a cluster environment). It will probably basically come down to your particular experience with a database system and how much you can spend.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-06-2007, 11:21 PM   #11 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


neroux, I agree with you. do you have any idea around how many maximum users at a time MS SQL and MYSQL can handle.

My idea is to use clustered enviornment for application too. Any idea about any good clustered software. I think if initial requirement and analyis is good , my life will be easier.

One more point : does it make any difference that I use ASP or PHP. I want to ask if I use php instead of asp so performance will be good. Or you suggest any other language ( like JAVA or ????)

Basically I am open for all the options
anurag is offline  
Old 01-06-2007, 11:50 PM   #12 (permalink)
New Member
 
Join Date: Jan 2007
Posts: 8
0.00 NP$ (Donate)

plong0 is an unknown quantity at this point


on the topic of ASP vs PHP vs JSP (Java)...
ASP is MS technology, runs on MS servers
PHP is Open Source technology, installed as a module to any server
JSP is free (don't think it's fully open sourced yet, Sun just open sourced Java recently) and runs on the Apache Tomcat server (or other compatible ones)... it can run standalone or can be integrated to Apache and other servers

The traditional Open Source server is a LAMP setup ... Linux, Apache, MySQL, PHP ... so us Open Source guys (or M$ haters in general) like that one

JSP isn't as popular, but is a really nice setup for Java developers... You basically have all the power of a Java application running on the server, but web-enabled. Probably isn't as well suited for heavy traffic sites since Java isn't exactly optimized yet, being OO and interpreted (not compiled) and all...

Python might be another one to look at... I know Google uses it for a lot of their stuff. I haven't worked with it yet, but it's next on my list of languages to learn. and it's gaining popularity on the desktop app side insanely fast, so there's another bonus for taking that route.
plong0 is offline  
Old 01-07-2007, 01:18 AM   #13 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


plong0 , thansk for help.

I have experience in ASP and PHP but not much in JSP or Python .

I think i will use ASP or PHP. but not sure which one is good. As i have windows Setup so free to use either of them.

Advantage or disadvantage of ASP or PHP.
anurag is offline  
Old 01-07-2007, 02:21 AM   #14 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


Quote:
Originally Posted by anurag
neroux, I agree with you. do you have any idea around how many maximum users at a time MS SQL and MYSQL can handle.
I cant give you absolute numbers on this as this will heavily depend on the available hardware and the configuration. One question I forgot to ask so far is whether these 1000 to 2000 users will be peak number or the typical one. In the former case you could set out even for a smaller system and let your users maybe experience a little lag in the high time, in the latter your system definitely should be able to handle it.

Quote:
Originally Posted by anurag
My idea is to use clustered enviornment for application too. Any idea about any good clustered software. I think if initial requirement and analyis is good , my life will be easier.
There isnt any particular software, but your overall setup (your application, external parts, database, ....) application would need to take into account the clustered environment. You will find more information about SQL Server at http://www.microsoft.com/sql and for the MySQL Cluster at http://www.mysql.com/products/database/cluster/.

Quote:
Originally Posted by anurag
One more point : does it make any difference that I use ASP or PHP. I want to ask if I use php instead of asp so performance will be good. Or you suggest any other language ( like JAVA or ????)

Basically I am open for all the options
The language doesnt really matter, choose the one you have most experience in.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-07-2007, 02:35 AM   #15 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


Thanks neroux for your kind reply.

Basically I am developing new application and expecting 1000 users (the typical one). I have plan for Dedicated servers ( Dual core with 1-2 GB RAM and other Required hardware).

One option is to keep 2 servers ( one for Database and other for application) , all this I am taking about posibilities.

But first thing is development and main issue is Database. As suggested by you, any prgramming language will do.

I am looking for long term so atleast system will be in good shape for atleast next 2 yrs.
anurag is offline  
Old 01-07-2007, 04:46 AM   #16 (permalink)
NamePros Regular
 
Join Date: May 2006
Location: London, UK
Posts: 685
6.50 NP$ (Donate)

vincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to behold


Interesting project, I'm considering something similar.

Can you clarify you projections in regards to users please, as this point is reallyt important IMHO.?

The expectation "2000 simultaneous users will access, modify or update the tables."

Is this your estimate of:
1a. 'Total registered users' from site launch/very soon after launch .
or
1b. 'Total registered users' within 2 years.

If '1b', then you won't have much to worry about in regards to clustering.

Let's not forget that registered users rarely update their blogs more than once per day, and even then, not all users will do so at the same time.
Even if you take an estimate based on all updates within a peak day time in same time zone let's say a 1 hour 'lunch time':

2,000 / 1 hour = 33 per minute

Any decent server setup will handle that.

If your expectations are '1a' then same thing appliess, except you need to provide an estimate of expected registered users over next 2 years.

The next point to consider is probably more important.

How many visitors are you expecting to view these blogs?
To put the server requirements into context, a very popular single user blog can bring a decent server to it's knees.

Interesting topic, and may be helpful if anyone running a popular blog site starts to contribute their experiences.

Best wishes,

- Vince
vincenzo is offline  
Old 01-07-2007, 05:32 AM   #17 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


Vince

Thanks for sharing information.

I think proper planning to needed. I have plan to launch the blog in next 4-5 months ( once coding and testing is done) and assuming at one time around 1000 users will access the same topic.

It is possible that even if user access the site ( not create or update operation in one particular table) but we have valid reason that server may be down if 1000 users try to access same table at same time. We need to use field locking, indexing and view to optimize the database.

hope you understand my point.

I think it will worse if 100 users are creating or updating data in the above table.

Reading your point 1a or 1b, I say it will be mix of both, if i am lucky , i will think 1000 users will be in next 1 yr.

Once site is up, i don't want to say that " site is down for Maintencnce", if database is not responding becasue of excess load ( i hate sites which dispaly this message)
anurag is offline  
Old 01-08-2007, 12:35 PM   #18 (permalink)
New Member
 
Join Date: Jan 2007
Posts: 8
0.00 NP$ (Donate)

plong0 is an unknown quantity at this point


Quote:
Originally Posted by anurag
plong0 , thansk for help.

I have experience in ASP and PHP but not much in JSP or Python .

I think i will use ASP or PHP. but not sure which one is good. As i have windows Setup so free to use either of them.

Advantage or disadvantage of ASP or PHP.
I would recommend PHP then. But I have a strong bias against M$, and am all for Open Source.

Another advantage is that you will likely find a lot more community support for PHP than ASP. So if you need tutorials or need help with coding, you're better off with PHP. As an example, look at the user base here and on other freelancing sites... most people are PHP coders.
plong0 is offline  
Old 01-08-2007, 01:18 PM   #19 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


Quote:
Originally Posted by plong0
I would recommend PHP then. But I have a strong bias against M$, and am all for Open Source.

Another advantage is that you will likely find a lot more community support for PHP than ASP. So if you need tutorials or need help with coding, you're better off with PHP. As an example, look at the user base here and on other freelancing sites... most people are PHP coders.
In context with plain ASP I would give the same suggestion. With ASP.NET definitely not. Considering the vast amount of tools and libraries for .NET I would even assume the opposite. Also you will find many PHP developers but many of them will be also amateurs. The percentage of them among .NET developers is much smaller.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-10-2007, 01:14 PM   #20 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


plong0 and neroux thanks for your help.

I too think the same. ASP and MYSQL is not a good option so i think i will go for PHP and MYSQL
Thanks for your help.

Only issus is that mysql will be able to handle head load or not.
anurag is offline  
Old 01-10-2007, 01:35 PM   #21 (permalink)
NamePros Regular
 
Join Date: May 2006
Location: London, UK
Posts: 685
6.50 NP$ (Donate)

vincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to behold


By the way, have you considered using ready-made applications for multiple blog hosting?

WPMU (WordPress MultiUser)
Bloghoster.net
BlogSystem (by netartmedia.net)

All use PHP and MySQL and although last 2 oabove are commercial scripts, they do give you full source code.

Best wishes,

- Vince
vincenzo is offline  
Old 01-10-2007, 03:24 PM   #22 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


Quote:
Originally Posted by anurag
I too think the same. ASP and MYSQL is not a good option so i think i will go for PHP and MYSQL
Thanks for your help.

Only issus is that mysql will be able to handle head load or not.
Do you mean ASP and MS SQL or actually MySQL?

In any case I wouldnt second it however. The only issue I'd see with ASP is that it is not anylonger officially supported by Microsoft. ASP.NET is now the way to go.
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-11-2007, 09:32 AM   #23 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


yes Vince. I have seen . Personally I like wordpress. But still i think WordPress MultiUser is not good if compare with WordPress Single user.

Other 2 products are good but still i am evaluating the good and bad about this. As i may need to modify the product in future so need the modify rights for source code.


Quote:
Originally Posted by vincenzo
By the way, have you considered using ready-made applications for multiple blog hosting?

WPMU (WordPress MultiUser)
Bloghoster.net
BlogSystem (by netartmedia.net)

All use PHP and MySQL and although last 2 oabove are commercial scripts, they do give you full source code.

Best wishes,

- Vince
I mean MySQL

I know ASP is no more supproted by microsoft but persnoally I don't like ASP.NET . I a mthinking to go for PHP.

I am confused in PHP or ASP.


Quote:
Originally Posted by neroux
Do you mean ASP and MS SQL or actually MySQL?

In any case I wouldnt second it however. The only issue I'd see with ASP is that it is not anylonger officially supported by Microsoft. ASP.NET is now the way to go.
anurag is offline  
Old 01-11-2007, 12:56 PM   #24 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


Quote:
Originally Posted by anurag
I mean MySQL
ASP will work with MySQL just as well as PHP. There is no difference.

[QUOTE=anurag]I know ASP is no more supproted by microsoft but persnoally I don't like ASP.NET . I a mthinking to go for PHP.
Why dont you like ASP.NET? But if you are more familiar with PHP then you should go with it.

Quote:
Originally Posted by anurag
I am confused in PHP or ASP.
Confused how?
__________________
Paris loves CityPics

muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com

-- Do not let others be treated this way!
neroux is offline  
Old 01-12-2007, 01:41 PM   #25 (permalink)
NamePros Member
 
anurag's Avatar
 
Join Date: Mar 2005
Location: Heaven
Posts: 175
238.00 NP$ (Donate)

anurag is an unknown quantity at this point


I think i will go for PHP. No more confussion as PHP is better than ASp in Performance, security and support.


[QUOTE=neroux]

Quote:
Originally Posted by anurag
I know ASP is no more supproted by microsoft but persnoally I don't like ASP.NET . I am thinking to go for PHP.
Why dont you like ASP.NET? But if you are more familiar with PHP then you should go with it.


Confused how?
anurag is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:34 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85