Revathi Rangachari | 1 Mar 2012 19:16
Picon
Favicon

query_cache_type and Aborted Clients

Hi 

Can anyone please let me know: 
(1) if query_cache_type is disabled, will it result in the number of 'Aborted Clients' getting increased.  

The possible explanation I have is that because the slow queries are taking a long time to execute, and the
fact that the query_cache_type is also disabled, will it result in the clients getting disconnected from
the server due to wait_timeout set both at the mysql level and application level?  

In my mysql setup the wait_timeout is 30 secs and the query_cache_type is disabled. I have an ever
increasing number of Aborted Clients 

+------------------+--------+
| Variable_name    | Value  |
+------------------+--------+
| Aborted_clients  | 661117 |
| Aborted_connects | 156    |
+------------------+--------+

The wait_timeout at application level is 5 secs.

Thanks in advance for any explanation on my query
Revathi R

--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals

(Continue reading)

Rick James | 1 Mar 2012 22:23
Picon
Favicon

Re: query_cache_type and Aborted Clients

Which wait_timeout?  There are about 3 -- session vs global and 
interactive versus batch.

query_cache is (probably) totally independent of connections.

Aborted_clients is since startup, and will be "ever increasing" -- 
useless without dividing by something:

Aborted_clients/Uptime -- if > 1, then increase wait_timeout
Aborted_clients/Connections -- if > 30, then increase wait_timeout
Aborted_connects/Uptime -- when this is > 1, you might have a hacker 
trying to get in
Connections/Uptime -- if > 1, you might think about why you need to 
reconnect so often.

If a client sits there too long (more than wait_timeout), he will be 
disconnected.  30 seconds is plenty for web-type applications.

For investigating slow queries, please provide
* SHOW CREATE TABLE
* SHOW TABLE STATUS
* EXPLAIN SELECT ...
* SHOW VARIABLES LIKE '%buffer%'; and how much RAM do you have?

On 3/1/12 10:16 AM, Revathi Rangachari wrote:
> Hi
>
> Can anyone please let me know:
> (1) if query_cache_type is disabled, will it result in the number of 'Aborted Clients' getting increased.
>
(Continue reading)

nyaghma | 2 Mar 2012 00:03
Picon

Question about developing mysql cluster

Hi,

I am Navid Yaghmazaeh, a Ph.D. student at the University of Texas at  
Austin. I'm member of a team working on a research project about  
adding some features to mysql cluster. A brief description of our  
project is that we are working on making mysql more durable by storing  
logs on disk at the end of each transaction. We want
to add this property to mysql in parallel to current property of  
making state of the system durable by epochs, so mysql cluster could  
support both level of durability at the same time.

In order to do so, we have to modify the Ndb code. I have some  
question about changing the mysql cluster code and if you could help  
me I would be greatly thankful.

Could you please link me to documents about protocols used in Ndb,  
specially in Ndb kernel, such as global checkpointing protocol or two  
phase commit protocol and protocols for committing transactions.? I  
have read the "Mysql Cluster API Developer Guide", but it is mostly  
about the Ndb API, and does not describe the Ndb kernel and the  
protocols used there.

Could please guide me where could be a good point to start modifying  
Ndb kernel code? As Ndb is a huge code and has many different modules  
which work together though they are separate in semantics, it would  
help a lot if you could help me about choosing a good starting point  
for applying changes.

Is there any available unit and integrity tests available in order to  
be able to test our changes and make sure everything is going well?  
(Continue reading)

Revathi Rangachari | 5 Mar 2012 19:36
Picon
Favicon

Re: query_cache_type and Aborted Clients

Hi Rick 

Thanks for the explanation.  

(1)  wait_timeout is global..in my setup.

(2) > Aborted_connects/Uptime -- when this is > 1, you might
> have a hacker > trying to get in - 
...........In my case this is 2. How will I find out a hacker is trying to get in? My log_warnings is set to 1.

(3)  Disabling query_cache_type  - will it increase the CPU utilization? 

(4)  For investigating slow queries, I will not be in a position to share all the information that you had
asked for, due to security policies, however if you can provide some guideline as to how to proceed with the
investigations using the commands given below, I will give it a try.  

Thanks
Revathi R

--- On Fri, 3/2/12, Rick James <rjames <at> yahoo-inc.com> wrote:

> From: Rick James <rjames <at> yahoo-inc.com>
> Subject: Re: query_cache_type and Aborted Clients
> To: internals <at> lists.mysql.com
> Date: Friday, March 2, 2012, 2:53 AM
> Which wait_timeout?  There are
> about 3 -- session vs global and 
> interactive versus batch.
> 
> query_cache is (probably) totally independent of
(Continue reading)

Rick James | 5 Mar 2012 19:55
Picon
Favicon

Re: query_cache_type and Aborted Clients

I don't know how to spot a hacker.  The available protection:
* Limit SUPER to root <at> localhost
* All applications are GRANT ... ON dbname.* ... -- so that if a hacker 
does get in (or there is "sql injection", he cannot get to `mysql` db.
* read-write separation.  Where practical, have two different logins -- 
one for read+write parts of your app, one for readonly.  Again, the 
attempt is to limit the damage.
* Use sufficient hardened passwords (obviously) for _all_ logins.

Query cache --
If there is 'continual' write activity, the QC is useless -- _Any_ write 
to a table purges _all_ entries in the QC for that table.  That purging 
takes CPU effort, and blocks some operations.
Tables that never change, and have a lot of _identical_ queries, can 
benefit greatly from the QC.

Slow queries --
Obfuscate the names (but not the datatypes); we can help without 
compromising security.
There a zillion and one different cases.  I could write a book, and it 
would not be complete.

On 3/5/12 10:36 AM, Revathi Rangachari wrote:
> Hi Rick
>
> Thanks for the explanation.
>
> (1)  wait_timeout is global..in my setup.
>
> (2)>  Aborted_connects/Uptime -- when this is>  1, you might
(Continue reading)

Revathi Rangachari | 7 Mar 2012 00:32
Picon
Favicon

have_query_cache and query_cache_type

Hi

(1)  Under what circumstances the have_query_cache can become 'NO'.

(2)  Is it possible to set it as 'YES'. When I tried to do that I get error message as - ERROR HY000: Variable
'have_query_cache' is a read only variable

(3) If have_query_cache is 'NO' and if I enable query_cache_type and set query_cache_size TO 128MB, will
the queries be read from the query cache?

Thanks
Revathi R

--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals

Yves Trudeau | 7 Mar 2012 03:38
Picon
Gravatar

Re: have_query_cache and query_cache_type

Hi,
   this is a compile option, the variable have_query_cache
is there to illustrate if the current binary has been compiled with the 
query cache or not.

Regards,

Yves

On 12-03-06 06:32 PM, Revathi Rangachari wrote:
> Hi
>
> (1)  Under what circumstances the have_query_cache can become 'NO'.
>
> (2)  Is it possible to set it as 'YES'. When I tried to do that I get error message as - ERROR HY000: Variable
'have_query_cache' is a read only variable
>
> (3) If have_query_cache is 'NO' and if I enable query_cache_type and set query_cache_size TO 128MB, will
the queries be read from the query cache?
>
> Thanks
> Revathi R
>
>
>

--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals
(Continue reading)

Cursos - AF Figueiredo | 10 Mar 2012 06:39
Picon

Recepcionistas

SÃO PAULO

 

VAGAS LIMITADAS

 

CURSO

APRIMORAMENTO PARA RECEPCIONISTAS E ATENDENTES

 


(APOSTILAS E CERTIFICADOS DE REALIZAÇÃO DO CURSO)

Para garantir sua vaga, realize a inscrição  CLICANDO AQUI 

  Cadastre novos e-mails clicando aqui

:: OBJETIVO:

 

Aperfeiçoar o desempenho de atendentes, secretárias e telefonistas por meio de conteúdos que irão facilitar a aquisição de competências cognitivas, atitudinais, relativas ao cargo que ocupam.

Manter ou melhorar a imagem da empresa uma vez que as (os) recepcionistas são consideradas(os) os "cartões de visita" de uma organização pública ou privada.

Melhora no atendimento dos clientes.

 

:: SÍNTESE DO PROGRAMA:

 

- Qualidade no atendimento;
- Atendimento telefônico;
- Organização e Agenda;
- Apresentação Pessoal;
- Comportamento e Ética Profissional;
- Elementos críticos da comunicação;
- Tipos diversos de comunicação;
- Percepção adequada das situações;
- Empatia como diferencial;
- Encantando o cliente;
- Atuação extra;
- Atendimento e tratamento de pessoas/clientes.

 

:: METODOLOGIA:

 

Exposições dialogadas, exercícios vivenciais (situacionais), dinâmicas, com a abordagem de aspectos práticos e análise de situações reais de trabalho.

 

:: PALESTRANTE:

 

Qualificações:

- Trabalha há mais de dez anos com: ênfase em Treinamento e Desenvolvimento; Gestão de Carreira;
- Desenvolvimento de Lideranças; Coaching Gerencial e em projetos de Pesquisa de Clima Organizacional;
- Na posição de Coordenadora e Consultora tem a experiência foi desenvolvida nas empresas Movicarga, Fórum Confecções, Volpiano Consultoria, Armazéns Gerais Columbia e Cia. de Cigarros Souza Cruz;
- Psicóloga, pós-graduada em Desenvolvimento e Gestão de Pessoas pela Fundação Getulio Vargas;
- Mestre em Administração de empresas pela Universidade São Caetano do Sul;
- Vasta experiência em competência no:
. Desenvolvimento e aplicação de ferramentas para avaliações de perfil para identificação de competências;
. Montagem de plano de ação de desenvolvimento e diagnóstico de necessidades;
. Desenvolvimento e aplicação de treinamentos gerenciais, técnicos, comportamentais e operacionais;
. Ênfase em documentos e processos pertinentes a ISO 9001/2000.

 

:: PÚBLICO ALVO:

 

Pessoas que desejam atuar como Recepcionistas e/ou Atendentes em empresas de qualquer porte e área de atuação, assim como aqueles profissionais que já atuam na função, mas pretendem reciclar seus conhecimentos.

 

:: LOCALIZAÇÃO E INVESTIMENTO:

 

Data: 17 de março de 2012 - SÁBADO

Horário: Das 09:00 às 18:00 hs (com dois intervalos para coffee-break)

Auditório CBBW

Av. Paulista, 1.776 - 03° Andar (elevador 03 ou 04) - a 350 metros da Estação Trianon do metrô - São Paulo

Investimento: R$ 295,00 (duzentos e noventa e cinco reais) por participante.

- Com 3 ou mais inscritos de uma mesma empresa, será concedido o desconto de 10% sobre o montante total.
- Estudantes será concedido 10% de desconto, mediante envio do comprovante de pagamento da mensalidade e pagamento deste curso pela própria pessoa física.

 

Para garantir sua vaga, realize a inscrição  CLICANDO AQUI 

 

PABX: (11) 3831-8630 / assessoria <at> affigueiredo.com.br / www.affigueiredo.com.br

Atenção: O serviço "Informações Empresariais" não possui cunho oficial acerca de nossos posicionamentos.
Remover: Caso não queira mais receber nossos e-mails, por favor, Clique Aqui


--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals
Revathi Rangachari | 20 Mar 2012 21:21
Picon
Favicon

Slow query log file not getting updated

Hi

In one of the replicated slave servers, the slow query log file is not getting updated.  The configuration
settings in this slave are similar to other slaves.

Is there any other reason, why the slow query log file not getting updated? Updates were happening earlier. 
The log file was truncated once due to its increasing size. Could this be a reason for updates not happening?

Appreciate a line in reply

Thanks
Revathi R

--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals

Baron Schwartz | 21 Mar 2012 12:32
Favicon
Gravatar

Re: Slow query log file not getting updated

The general MySQL list is better for this type of question.

The typical problem is that the server is writing to an open
filehandle that has been deleted from the filesystem, and the file
that you think the server should use is actually not open.  You can
find out like this on a typical Linux system:

$ lsof -p $(pidof mysqld) | grep deleted

On Tue, Mar 20, 2012 at 4:21 PM, Revathi Rangachari <masrrev <at> yahoo.com> wrote:
> Hi
>
> In one of the replicated slave servers, the slow query log file is not getting updated.  The
configuration settings in this slave are similar to other slaves.
>
> Is there any other reason, why the slow query log file not getting updated? Updates were happening
earlier.  The log file was truncated once due to its increasing size. Could this be a reason for updates
not happening?
>
> Appreciate a line in reply
>
> Thanks
> Revathi R
>
> --
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe:    http://lists.mysql.com/internals
>

-- 
Baron Schwartz
Win free MySQL conference tickets! http://goo.gl/mvZ4W

--

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals


Gmane