Ask a Question related to Coldfusion Database Access, Design and Development.
-
drmaves #1
MySQL - Blockfactor
Does MySQL support the attribute Blockfactor in CFQUERY?
drmaves Guest
-
#40471 [NEW]: PHP 5.2.1 failed to be compiled with MySQl 5.0.33, MySQL 5.0.27, MySQL 5.1.15
From: pcdinh at gmail dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description:... -
#40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' I got this trying to install DBI and DBD for mysql from... -
Seen this message? Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
Allen Marshall wrote: I just saw it in another newsgroup. Don't multi-post! -- Gunnar Hjalmarsson Email:... -
cf_menace #2
Re: MySQL - Blockfactor
Never heard of Blockfactor before. Had to Google it. There's no results for
"blockfactor" when searching MySQL.com, so I'd say it doesn't support it.
Howver, I believe the funcitonality you're trying to get is the same thing that
LIMIT furnishes.
SELECT someID, someLabel
FROM someTable
LIMIT #x# OFFSET #y#
LIMIT tells MySQL to return only "X" number or rows at a time. OFFSET tells
MySQL to start at row "Y".
HTH
cf_menace Guest
-
Neculai Macarie #3
Re: MySQL - Blockfactor
> Does MySQL support the attribute Blockfactor in CFQUERY?
It certainly doesn't error on it. In CFMX 6 it says it applies to ORACLE
native drivers, in CFMX7 it says that it might not be supported by some db
systems.
--
<mack />
Neculai Macarie Guest
-
drmaves #4
Re: MySQL - Blockfactor
cf_menance,
LIMIT actual limits the number of records returned so if your query found 100
records and your limit was set to 10 you would only have 10 records to work
with.
BLOCKFACTOR is different. It's supposed give CF a heads up on whether to
expect a large number of records or just one or two. The end result is that you
still have all the records selected to work with as opposed to LIMIT. Evidently
you can improve performance by giving CF an estimate of the number of records
it might expect to receive.
drmaves Guest
-
drmaves #5
Re: MySQL - Blockfactor
Neculai,
I read the CF docs on this as well; however, "might not be supported by some
db systems" is pretty vague if you ask me.
It still doesn't say specifically whether MySQL supports it.
I as well do not get an error but I'm wondering if it's having any effect or
is only a waste of my time using the setting.
drmaves Guest
-
Neculai Macarie #6
Re: MySQL - Blockfactor
> Neculai,
some>
> I read the CF docs on this as well; however, "might not be supported byor> db systems" is pretty vague if you ask me.
> It still doesn't say specifically whether MySQL supports it.
>
> I as well do not get an error but I'm wondering if it's having any effectI did some pretty basic testing and and it had no noticeable effect on the> is only a waste of my time using the setting.
speed of the queries.
--
<mack />
Neculai Macarie Guest
-
drmaves #7
Re: MySQL - Blockfactor
After an inquiry to Macromedia support the answer seems to be that the MySQL drivers that ship with MySQL 7 do not support BLOCKFACTOR.
drmaves Guest



Reply With Quote

