ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 27th, 2004, 08:47 AM
vinyl's Avatar
vinyl vinyl is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 236 vinyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 21 sec
Reputation Power: 5
Arrow database type: mySQL, MS SQL and Access

I guess those are most used db types in CF, right? I need to know which one of them is most stable and faster - mySQL?

Also, please tell me if communication with all of them is in the same manner - trought DSN's and CFQUERY and if cfquery is with the same syntax for all of them, for example, will

<cfquery name="qry" datasource="dsn_name">
SELECT * FROM products WHERE product LIKE '#letter#%'
</cfquery>

work with all those db types if they have the same attributes (never worked with MSSQL, but I am sute that mySQL and Access has columns etc.)

If somebody have time to explain this detailed with some code examples (if necessary regarding differences), that would be great.

kiteless and other good people, thank you in advance

Reply With Quote
  #2  
Old January 27th, 2004, 10:38 AM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,480 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 33 m 17 sec
Reputation Power: 42
Given the same server hardware and competent admins, it goes:

Performance (fastest to slowest):
Oracle
SQL Server
MySQL
Access


Cost (low to high):
MySQL (free)
Access ($200)
SQL Server ($7000)
Oracle ($50,000+)

MySQL is a great DB and it blows away Access. It's only main problem (a big one in my opinion) is it's total lack of a GUI interface. There is an open source effort called PHPMyAdmin to let people manage MySQL but it pales in comparison to SQL Server's Management Console or TOAD (an Oracle Tool) and even Access. The flip side is that other than this, MySQL is fast and stable and FREE. It is not quite as fast or scalable as the "huge" databases like Oracle and SQL Server but for most people it is plenty for what they need. We use Oracle becuase we have HUGE databases.

Reply With Quote
  #3  
Old January 27th, 2004, 10:56 AM
vinyl's Avatar
vinyl vinyl is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 236 vinyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 21 sec
Reputation Power: 5
Thanks, I was expectiong to hear you

By your suggestion, I opened account at CrystalTech and purchuased their Intermediate Plan and I am pretty satisfied, thanx. They support mySQL and Access db (maybe even MSSQL, not sure), and if costs are so high as you mentioned, I don't think I'll ever find webost which supports Oracle and MSSQL db's, or at least, won't be able to pay their hosting account fees

Now, I built my site with Acess backend and I thought mySQL would be better solution - can you tell me how much in % is he faster/stable than Access, at least approximate value. What I also want to know regarding my code is would I need to change anything at my pages except the DSN ofcourse if I'd like to change database backend from Access -> mySQL? Of course, table structure and data will be transfered into appropriate mySQL db.

And what about if I (will ever) store data in Oracle or MSSQL, would it be the same?

Reply With Quote
  #4  
Old January 27th, 2004, 01:19 PM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,480 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 33 m 17 sec
Reputation Power: 42
The answer is, it depends. If you are only doing basic SQL then any database should handle it in about the same way. But there are many database-specific elements as well. Things like triggers, stored procedures, user-defined functions, transactions, and proprietary commands. For example, Oracle has PL/SQL. SQL Server has T-SQL. These are not compatible.

MySQL is much faster and more stable than Access. Access isn't even a true RDBMS, it is a file-based database. That said, if you are not expecting tons of queries or huge databases, Access may work just fine for you. It sure is easier to deal with than MySQL.

And you wouldn't even necessarily need to change your DSN to switch databases...just delete that DSN and recreate the same DSN name pointing to the new database.

Of course, if you do need to change your DSN, it will be very easy, just change 1 variable. You are OF COURSE using variables for all of your database info such as DSN Name, RIGHT? ;-) (If you are not, you should be)

Reply With Quote
  #5  
Old January 27th, 2004, 04:26 PM
vinyl's Avatar
vinyl vinyl is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 236 vinyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 21 sec
Reputation Power: 5
my access db has 2500 records and I guess there will be maximum 10 queries/sec, not more, is it able to handle it?

Reply With Quote
  #6  
Old January 27th, 2004, 07:25 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Access isn't strictly a RDBMS, btw ... (kiteless beat me to that point )

There are plenty of MySQL GUIs available - 2 at least for free download right from the MySQL.com website, plus many more can be found googling.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > database type: mySQL, MS SQL and Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway