MySQL

Tools on http://www.severalnines.com do not work.

Hi List,

I have been trying to use bencher and chkfrag from
http://www.severalnines.com. But I continue to receive the following
errors../chkfrag: error while loading shared libraries:
/usr/local/mysql/lib/libndbclient.so.4: cannot restore segment prot
after reloc: permission denied.

I am running this with NDB 7.0.6 and the owner of the
library is mysql.mysql.

Any ideas?

Thanks Joshua Gordon.

BULK DATA HANDLING 0.5TB

Hi guys,

I'm working in a telecom company. I have table called deliverylog in which
30 million records gets inserted per/day. The table has grown to 0.5TB I
have to keep 60days record in the table. So, 60days * 30 million = 1800
million records. The query is taking a lot of time to fetch the result.

Please sugget me what storage engine must be used and how i can get the
things done. Is there any other alternative.

Any response is highly appreciated.

Thanks,
Krishna

Mysterious progress after recovery in MySQL Community Edition 5.1.34

A colleague had to kill a MySQL server (on RedHat Enterprise Linux 5)
because it had some problem shutting down. Later I launched it (with
`/usr/share/mysql/mysql.server start`). In its err log I saw the recovery
happen, apparently with a successful completion, and then the usual
announcement that the server is listening on its socket --- which I had
taken to mean the server is ready to be used. Apparently that's not quite
right. After that, I find another series of progress numbers is being
written into the err log, one every few minutes (so the whole recovery
will take hours!).

Why is MySQL using /tmp?

I find my MySQL Community Edition 5.1.34 server running out of space on
/tmp (which is indeed small). Why is it using /tmp? How much free space
do I need on /tmp? Can/should I make the server use a different location
instead of /tmp?

Thanks,
Mike Spreitzer

Available parallelism in MySQL community edition 5.1.34?

If I have a computer with many cores and multiple disks, disjoint
filesystems on those disks, and enough I/O bandwidth in the machine to
keep the disks busy, can MySQL keep those disks busy if I have it working
on different databases at the same time? If so, can one MySQL server
process do that, or do I need multiple server processes? If one process
is enough, presumably I have to say something clever in my.cnf to make it
happen; what would that be?

IDE

Hello all,
I used Database Workbench on trial bases. It is nice. I plan to purchase an
IDE. Is is it the best around. Your feed back is appreciated.
yours
mosaed

slow connection from localhost

hi,

I need some urgent help. We have encountered a problem, when we try to connect in shell with a mysql client to the mysqld (via socket or via localhost). The connection takes 5 to 50 seconds, or it happens that the connection is fast, but then the "use somethingdb;" needs 5 to 50 seconds.
We have tried to use some advice from here already: http://www.debianhelp.co.uk/mysqlperformance.htm We tried to use mysqltuner.pl, which is an optimizing tool. Here we set "Maximum possible memory usage:", in fact the real memory usage is few megas only.

Does MySQL have the same function as the ORACLE TDE technique?

Hi.
Here is the introduction.
http://www.oracle.com/technology/oramag/oracle/05-sep/o55security.html
I want to know whether MySQL has the same function as Oracle's?
Any reply is appreciated.

mysql 5.0.67

Hi

I'm using version 5.0.67 and have a strange problem. I have a text field
and have a query which returned 193 characters (with spaces). In the mySQL
query browser I can see the field content fine.

However on my classic ASP page, I get nothing when I reponse the data to the
screen. Infact if I try to perform a replace function on the field data I
get

Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'replace'

Any ideas what the problem might be ?
Cheers
Neil

How to check whether the lock is a share lock or exclusive lock?

Hi.
I want to know which lock method is used within MySQL?
For example, if I query the following statements within MySQL client.
mysql> begin;
Query OK, 0 rows affected (0.00 sec)

mysql> select * from GroupId_Test where id = 212 lock in share
mode;

+-----+---------+
| id | GroupId |
+-----+---------+
| 212 | 3014485 |
+-----+---------+
1 row in set (0.00 sec)

But when I execute statement called show engine innodb status, it only
display the total lock numbers.

Anybody can tell me how to see whether the lock is a share lock or exclusive
lock?

Finding the creation date of an existing database in MySQL 5?

Hi all !

Is there any method to find the CREATION DATE of an EXISTING database and
tables in MySQL 5.0 or newer versions?

Thanks,
Uma

Why doesn't mySQL stop a query when the browser tab is closedL

I just noticed a horrible thing.

I have a query (report) that can take 15 minutes or more to generate with
mySQL. We have > 500 Million rows. This used to be done in real time when we
had less rows, but recently we got a big dump of data that shot it up.

So, noticing via myTop the query taking so long, I closed my web page tab.
The query did NOT go away! WTF? So mysqld continued to peg the CPU at 75% to
135% (yes, top shows that if you have quad cpus. *sigh*)

Is there some way to force this to work sanely?

Mysql 4.1 vs 5.0

Benching
Somebody knows why 4.1 is faster than 5.0 mysql versions

Ing. Jaime Fuentes R.
997500459
2421905-2423252

Enviado desde mi BlackBerry de Claro.

-----Original Message-----
From: Brent Baisley <<...> at gmail dot com>

Date: Tue, 2 Jun 2009 12:32:39
To: Ray<<...> at stilltech dot net>
Cc: <<...> at lists dot mysql.com>
Subject: Re: Question about query - can this be done?

I think what you are looking for is GROUP_CONCAT.

Best way to convert character set from "latin1 to utf8" for existing database?

Hi All,

I have read many blogs suggesting some examples for this.
But suggestions from you guys who have ACTUALLY worked on such a scenario
would help me out the best.

Current Database has:
DEFAULT CHARACTER SET - latin1
DEFAULT COLLATION : latin1_swedish_ci

We need to convert this to
DEFAULT CHARACTER SET - utf8
DEFAULT COLLATION : utf8_general_ci

Note that this has to be done on a database that has *existing data* in it .

Hence just by doing a:

ALTER DATABASE CHARSET=utf8;

would result in unexpected behaviour of the data.

Thanks!
Uma

Recover data without logs

I had deleted some important data from my mysql server,who can tell how can
I recover my data,I do not open the bin log,is there some other method?

thanks a lot !

Drop privilege

Hello everyone ,

I wanted to make sure i didn't miss
something but after a few tests and doing some web/doc search i come to
the conclusion that we cannot restrain a user from dropping a database but
still being able to drop tables and etc ?

Logging SQL queries

Hi,

We've developed a new extranet system and feel that we need to record all
queries performed. What is the best / recommended way to achieve this.

Thanks
Neil

Linking for maximum portability

Hello -

I'm trying to build an executable that would be distributed in binary
form, but needs to link to a MySQL DB -

problem I'm finding is that the shared libs range in name
libmysqlclient.so.15 , libmysqlclient.so.14, etc... And throw a
run-time error when it isn't found...

Is there a way to compile to just the .so, without the extension that
would be more portable?

Or is there a better approach to this? or do I just need to maintain a
copy that is linked to each different version ?

Thanks

Matt

how can encrypt the pw to use mysqldump

Hi

how can encrypt the pw to use mysqldump

thank you

Mistake #sql-9c8_21' (errno: 150)

Hpe you are doing well, and Trying to create a FK from "evaluacion"
table to "seccion" table I got this error message, does anybody knows
how to solve this, anyone have heard about this mistake, any help on
this will be really appreciated.

Saludos

Arturo Hinojo

NO imprimas este correo a menos que sea necesario.

Please consider the environment before printing this page.

Re: Upgrade Mysql

Thank You for all the help.

I was upgrading from 4.0.x to 5.0.x

The new mysql recognized the old databases without problems.

Bye :)

General Question..

Hello all,

Hope you are doing well, I have a general question creating foreign keys
, I'm creating FK from catalog tables to relation tables with them, when
I create a FK in innodb engine on MYSQL a new field with the same name
of the FK is created, in this case if I create for example 3 FK the
table will have 3 fields more, my Question is, is it right? How should
be filled these fields? Are they autofilled when I start to fill the
table?

6.0.11 source

Anyone knows where I can download the 6.0.11 gziped source from?

MySQL: large_page_size

Hi,

How much performance improvement we can get using large_page_size in mysql
server. Is there anybody using on productions.

Thanks,
Prajapati

Krishna Chandra Prajapati
Email-id: <...> at gmail dot com

Syndicate content