• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ColdFusion / SQL Server database - number of records?

Participant ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

Can ColdFusion and a SQL Server database handle around 5 million records in the database, or is there another database that would work better than SQL Server? Any ideas? Thanks!
TOPICS
Advanced techniques

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

ssailer wrote:
> Can ColdFusion and a SQL Server database handle around 5 million records in
> the database, or is there another database that would work better than SQL
> Server? Any ideas? Thanks!

if your servers' h/w are up to spec & your db/app are designed properly, sure.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

SQL server probably can. Bringing all 5 million into Cold Fusion might cause problems though.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

So, CF can't handle 5 million records? what can? Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

ssailer, what Dan meant was that if you try to read all 5 million records into CF at one time, you're definitely going to run into some memory management issues.

I doubt you're going to be doing something like this though:
<cfquery datasource="mydatasource" name="superlargequery">
select * from massivetable
</cfquery>
where massivetable has 5 million rows. I don't know what you'd do with that result set that wouldn't be better served by limiting the results or doing aggregate functions in the query.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

Actually, only one record would be returned at a time. Criteria would be entered for one field and it would need to be an exact match.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

non-issue, no-brainer on CF side. Presuming your database server is up to the task. 5 million records isn't really all that much

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 13, 2008 Nov 13, 2008

Copy link to clipboard

Copied

Thanks, everybody!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 17, 2008 Nov 17, 2008

Copy link to clipboard

Copied

LATEST
When you get into that size table, the difference between good performance and bad performance is the developer that creates/maintains the database, and the coder that writes the CF code.

Just about any hack can set up a table with a couple hundred rows, and an ugly CF page to retrieve whatever. Not much concern about memory, or response time, or thread management, etc. So, the happy coder thinks he did a good job. When that database grows to millions of rows and suddenly everything is slow as molasses, that is when poor coders point to CF... or the database... and claim that the software can't handle the job.

Summary? If your installation of CF and SQL can't handle it, I suggest the problem is between the keyboard and the chair.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation