Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
query-cache
- Page 1
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
by Biiim
… better handle the queries you want to run,
Query
cache
for instance will
cache
the most common queries so they don't have… get dropped to save time and memory usage, the PHP
query
uses a specific ID so the rows are cut down… after a couple of years this starts slowing down the
query
immensely `AND tbl.create_time > NOW() - INTERVAL 2 WEEK` (with…
Query Cache
Programming
Databases
18 Years Ago
by Dani
…="http://dev.mysql.com/doc/refman/4.1/en/
query
-
cache
-configuration.html"]http://dev.mysql.com/doc/refman/4….1/en/
query
-
cache
-configuration.html[/url] Right now, my query_cache_size is set to…
Re: Query Cache
Programming
Databases
18 Years Ago
by Dani
… is on one server). As soon as I enabled the
query
cache
, server load average went down to a comfortable 1. It…
Query Cache Denied
Hardware and Software
Networking
11 Years Ago
by agriz
…/networking/threads/196468/bind-is-denying-queries-even-with-allow-
query
-set ) options { listen-on port 53 { 127.0…/A/IN' denied client 66.249.71.250#62577:
query
(
cache
) 'ns2.handbagssaled.com/A/IN' denied client 69.64….44.20#20680:
query
(
cache
) 'furnituresalesalejj.com/A/IN' denied I am getting such…
mysql query cache
Programming
Databases
12 Years Ago
by aithabuddy
How to clear the mysql
query
cache
? RESET
QUERY
CACHE
; is not working. Thanks in advance
Re: mysql query cache
Programming
Databases
12 Years Ago
by cereal
Have you tried flush
query
cache
? Bye.
Re: mysql query cache
Programming
Databases
12 Years Ago
by manojsamtani
Agreed with Cereal :) use "FLUSH
QUERY
CACHE
;" over mysql prompt SPAM DELETED
Re: Query Cache
Programming
Databases
18 Years Ago
by kub365
You can set it in your my.cnf file.
Re: Query Cache
Programming
Databases
18 Years Ago
by Dani
Update: I just remembered my admin MySQL username and password :) I was able to run the command via the mysql prompt as well as via the file edit. Yay! Best of all, changing the variable via the command line instead of file editing doesn't require restarting the MySQL server.
Re: Cache PHP page that has paginating
Programming
Web Development
10 Years Ago
by LastMitch
… the page, how can I add these pages to
cache
? What's the best concept? You can try to… used this: if( !isset($_SESSION['totalResults']) ) { //Code to
query
your database for a row count } else { //use the total… read this http://stefanomanfredini.info/2010/09/single-
query
-
cache
-and-pagination-
cache
-until-a-future-post-and-ad-hoc-joins-…
Re: Query Cache Denied
Hardware and Software
Networking
11 Years Ago
by agriz
Any clue to fix this?
sub query caching
Programming
Databases
13 Years Ago
by alenD
…=t2.arg0 statement, will select result be retrieved from the
query
cache
or will it be re-executed? I am using mysql… has a function to return number of retrieved for a
query
. Or any other suggestions? thanks
Please help me with this bug: Fatal error: Call to a member function query() on a non
Programming
Web Development
12 Years Ago
by Nguafack
… Store a
query
in the
query
cache
for processing later * @param String the
query
string * @return the pointed to the
query
in the
cache
*/ public …num_rows; } /** * Get the rows from a cached
query
* @param int the
query
cache
pointer * @return array the row */ public function …
Bind is denying queries even with allow-query set
Hardware and Software
Networking
14 Years Ago
by dddexter
… as well, but it didn't help): [CODE]... options { ... allow-
query
{ any; }; forward only; forwarders { 192.168.56.2; }; };…CODE]d named[15789]: client 192.168.56.67#43919:
query
(
cache
) 'd.domain.swi/A/IN' denied d named[15789…]: client 192.168.56.67#32746:
query
(
cache
) 'www.google.com/A/IN' denied[/CODE] I'…
Query about a 'perf stat' output
Hardware and Software
Linux and Unix
8 Years Ago
by lml108
….43 insns per cycle [58.33%] 412,816,464,977
cache
-references # 205.308 M/sec [58.33%] 38,645,898…,456
cache
-misses # 9.362 % of all
cache
refs [58.33%] 4,692,761,524…
Re: Query about a 'perf stat' output
Hardware and Software
Linux and Unix
8 Years Ago
by rubberman
It depends. Some seem to indicate the percentage of the CPU that the process is using. Others will indicate what percentage of
cache
hits don't find the data needed in the
cache
and so require reloading the data from memory (ram). You might want to read the man page for perf-stat for more information.
Re: sub query caching
Programming
Databases
13 Years Ago
by debasisdas
It will come from
cache
if the data in the table did not get changed between your select and create as select statements. To ensure that the number of records are >0 use select count (*) not select *
Re: sub query caching
Programming
Databases
13 Years Ago
by smantscheff
Quote from [url]http://stackoverflow.com/questions/658937/
cache
-re-use-a-subquery-in-mysql:[/url] [QUOTE]See what …
Re: how to increase the performance of the mysql query
Programming
Databases
12 Years Ago
by fobos
… (on demand). set query_cache_size to your expected size in MB
query
-
cache
-size = 20M To check if your mysql server already enable…
query
cache
, simply run this
query
: SHOW VARIABLES LIKE ‘%query_cache%’; To check if your…
Re: SQL_FOUND_ROWS() Makes query slow
Programming
Databases
12 Years Ago
by smantscheff
Show us the result of EXPLAIN <yourquery> for both cases. Make sure that you have a
query
cache
set up. If that does not help, you cannot speed up the
query
, but you can
cache
the results of SQL_CALC_FOUND_ROWS in a variable and display it until major changes happen to your data.
Query caching help
Programming
Web Development
12 Years Ago
by veledrom
… see the time it takes to run a
query
and
cache
it but it doesn’t work and I …heading; ?></h1> <?php echo anchor('
cache
/benchmark_cache', 'Start
query
benchmark'); ?> </body> </html>…;[/CODE] [B]CONTROLLER [/B]:
cache
.php [CODE]<?php if …
Re: Cache query result
Programming
Databases
4 Years Ago
by Dani
It's rather simple ... just get and set. Basically ... $result = $
cache
->get('key'); if ($result === false) { $result = mysql_query($key); $
cache
->set('key', $result); } echo 'The result is: ' . $result;
Re: Cache query result
Programming
Databases
4 Years Ago
by Dani
… simpler, faster, and has less overhead. I use it to
cache
large portions of pre-generated HTML to reduce the amount… a key too early and I just need it to
cache
long strings of content to save a few milliseconds from…
Cache query result
Programming
Databases
4 Years Ago
by Biiim
…
query
where the data in the
query
updates frequently so the
query
won't stay in the
cache
but… I don't need the
query
… the server, It can just do the
query
once and get the 4 numbers - then… = l.id) This is the EXPLAIN for the
query
"1" "PRIMARY" "…
Re: Cache query result
Programming
Databases
4 Years Ago
by RuMedia
A result
cache
is an area of memory, either in the Shared Global Area (SGA) or client application memory, that stores the results of a database
query
or
query
block for reuse. The cached rows are shared across SQL statements and sessions unless they become stale.
Re: Cache query result
Programming
Databases
4 Years Ago
by Dani
… stale. What I do is I use an in memory
cache
such as Memcached (non-persistent) or Redis (persistent) where I… store the results of the
query
for up to X minutes. They are both key-value… pair caches. I then
query
memcached unless there’s a miss in which case I…
Re: Cache query result
Programming
Databases
4 Years Ago
by Biiim
…\Client(); $D = []; $D['data'] = []; if(!$redis->exists('TAP')){ //RUN
QUERY
, GET DATA //SAVE DATA TO REDIS $redis->hmset('TAP…
Query string parameters in PHP
Programming
Web Development
14 Years Ago
by whitestream6
…m trying to get multiple variables to work in the
query
string with PHP. This is my code: [CODE]&…url]http://www.autoweek.nl/carbase_data.php?id=45405&
cache
=no[/url] [url]http://library.digiguide.com/lib/…programmenextshowing/238308&hPage=2[/url] where the
query
string has multiple parameters. Feel free to improve …
Re: Query string parameters in PHP
Programming
Web Development
14 Years Ago
by Airshow
…: [url]http://www.autoweek.nl/carbase_data.php?id=45405&
cache
=no[/url] [url]http://library.digiguide.com/lib/programmenextshowing/238308…&hPage=2[/url] where the
query
string has multiple parameters.[/QUOTE] Your url can't be…
Re: Query Locked All Other MySQL Processes
Programming
Web Development
11 Years Ago
by veedeoo
… = -1 ; If mysqlnd is used: Number of
cache
slots for the internal result set
cache
; http://php.net/mysqli.cache_size mysqli.cache_size…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC