Ask a Question related to Coldfusion Database Access, Design and Development.
-
eculpepper #1
ColdFusion / SQL Server performance issue
We are experiencing an issue with ColdFusion MX7, and SQL Server 2000. This
issue is regarding the performance problem that can arise when connecting a
Java application to a SQL Server 2000 database. We found a fix in the
Knowledgebase, however it did not correct the problem that we are experiencing.
The site that we are running has a table with about 27000 records in it which
is accessed every time that a person browses a page on the site (the query is a
unique find). Subsequently the entire site is slow with about 3 to 4 second
response time between page draws. We commented out the reference to the table,
and the site response time is instantaneous.
However this query is required for the site. What can we do to increase the
access time of the site and solve this issue?
eculpepper Guest
-
Performance issue
I have an array with around 40 different url values in it. Im trying to cfhttp each URL in turn, and then parse the contents of each URL one by one.... -
Linux server running coldfusion MX 7 jrApache/Brokenpipe issue
We are having a small issue that has suddenly started appearing on our Linux server running Coldfusion MX7, has anyone seen this error before and... -
7.x to 9.x Performance issue in the extreme
Greetings, The problem: I run an identical program on Server A and Server B. On Server A the program runs in 12 seconds. On Server B it takes 1.5... -
Performance Issue using SQLJ
Hi. We're looking at using SQLJ to see how we could incorporate it into our environment and achieve better throughput and cost savings over using... -
Iplanet LDAP server on Solaris 8. Performance issue
Hi everybody I have set an iplanet Ldap directory server with 170,000. I am very worried about its performance. When I search for an entry with an... -
paross1 #2
Re: ColdFusion / SQL Server performance issue
What are you selecting from this reference table? Is your query and database
optimized? For instance, are the fields that are referenced in the WHERE clause
or the JOIN indexed, and are you not using any conversion functions on your
joined fields, etc.?
Phil
paross1 Guest
-
eculpepper #3
Re: ColdFusion / SQL Server performance issue
The query is a simple one.
SELECT iKeyID from Table where Table.iKeyID = 1
WHERE iKeyID is the primary unique index. I do not believe that the issue is
with the query. It is with the java sql driver that uses Unicode encode which
makes SQL Server do a table scan. We have told CF to not use Unicode encoding
but I do not believe that it is using that setting.
eculpepper Guest
-
Scott_thornton #4
Re: ColdFusion / SQL Server performance issue
Create and execute the query as a stored procedure?
create procedure myname
(
@var integer
)
as
SELECT iKeyID from Table where Table.iKeyID = @var
or use a cfqueryparam tag in the where clause?
SELECT iKeyID from Table where Table.iKeyID = <cfqueryparam
cfsqltype="cf_sql_integer" value="#var#">
Scott_thornton Guest



Reply With Quote

