Data dictionary for MySQL

2006-09-07 Thread Ravi Kumar.
Hi All, I am looking for a data dictionary for MySQL. It should be free and ideally, developed in php. And such that it stores the data dictionary in MySQL itself. Any suggestions / pointers? Regards, Ravi.

Re: problem with InnoDB

2006-09-07 Thread Douglas Sims
Hi Prasad This question got me a bit interested as we're thinking of moving some MyISAM tables to InnoDB and I haven't used it much. I decided to test some of these ideas so I created an innodb table and put some data into it and tried some selects: (Running on MacBook Pro, 2.0ghz, 1gb

Re: Data dictionary for MySQL

2006-09-07 Thread Steve Edberg
At 11:29 AM +0530 9/7/06, Ravi Kumar. wrote: Hi All, I am looking for a data dictionary for MySQL. It should be free and ideally, developed in php. And such that it stores the data dictionary in MySQL itself. Any suggestions / pointers? If you're using MySQL5, take a look at the

Decimal versus Float Point Type

2006-09-07 Thread Bruno Rodrigues Silva
Dear all. The MySQL Manual inform that Decimal Data Type is used for represent exact-number, but like Float Point Data Type, Decimal use rounding case the fractional part is not sufficient. Therefore, what the difference? Regards Bruno R. Silva

Re: Decimal versus Float Point Type

2006-09-07 Thread Renato Golin
Bruno Rodrigues Silva wrote: Dear all. The MySQL Manual inform that Decimal Data Type is used for represent exact-number, but like Float Point Data Type, Decimal use rounding case the fractional part is not sufficient. Therefore, what the difference? Hi Bruno, FLOAT rounds as floating point

[ANN] New DBManager Standard Edition 3.2.0

2006-09-07 Thread COS
DBTools Software is pleased to announce the new DBManager Standard Edition version 3.2.0. This application replaces the old DBManager Freeware Edition (3.1.1) and it can be used for FREE in the following conditions: - Personal use only You can register the Standard Edition at any time you want

RE: problem with InnoDB

2006-09-07 Thread prasad.ramisetti
Hi Douglas, I need to know the number of rows that a query will return before actually executing the query. So I am sending select count(*) before sending select *. Actually I need to reject queries if the number of records that it will return is huge, to avoid my server running out of memory.

RE: problem with InnoDB

2006-09-07 Thread prasad.ramisetti
Hi Douglas, I need to know the number of rows that a query will return before actually executing the query. So I am sending select count(*) before sending select *. Actually I need to reject queries if the number of records that it will return is huge, to avoid my server running out of memory.

Re: problem with InnoDB

2006-09-07 Thread Jochem van Dieten
On 9/7/06, [EMAIL PROTECTED] wrote: I need to know the number of rows that a query will return before actually executing the query. So I am sending select count(*) before sending select *. Actually I need to reject queries if the number of records that it will return is huge, to avoid my server

RE: Decimal versus Float Point Type

2006-09-07 Thread Jerry Schwartz
Oooh, oooh, I know! The difference is that, for example, .01 can be represented exactly in decimal; but float types are binary, so .01 cannot be represented exactly. This can lead to all kinds of trouble when doing arithmetic, the errors accumulate. It's one reason why most people write their

Re: Decimal versus Float Point Type

2006-09-07 Thread Renato Golin
Jerry Schwartz wrote: The difference is that, for example, .01 can be represented exactly in decimal; but float types are binary, so .01 cannot be represented exactly. This can lead to all kinds of trouble when doing arithmetic, the errors accumulate. Yes! but that can also lead to some other

View hidden temporary files

2006-09-07 Thread informatica
Hi. In http://dev.mysql.com/doc/refman/4.1/en/temporary-files.html says MySQL creates all temporary files as hidden files. This ensures that the temporary files are removed if mysqld is terminated. The disadvantage of using hidden files is that you do not see a big temporary file that

Re: problem with InnoDB

2006-09-07 Thread Paul McCullagh
On Sep 7, 2006, at 3:32 PM, [EMAIL PROTECTED] wrote: I need to know the number of rows that a query will return before actually executing the query. So I am sending select count(*) before sending select *. Actually I need to reject queries if the number of records that it will return is huge,

MySQL 3.23 bind-address

2006-09-07 Thread James Eaton
I have a legacy app that only supports MySQL 3.23. I'd like to run it along with 5.0.24a on a Windows 2000 server, with each instance using the standard port 3306. So I need to have each instance bound to just one IP address. In MySQL 3.23 can you specify a bind-address in the my.ini file,

Re: View hidden temporary files

2006-09-07 Thread Dan Nelson
In the last episode (Sep 07), [EMAIL PROTECTED] said: In http://dev.mysql.com/doc/refman/4.1/en/temporary-files.html says MySQL creates all temporary files as hidden files. This ensures that the temporary files are removed if mysqld is terminated. The disadvantage of using hidden files is

Re: Decimal versus Float Point Type

2006-09-07 Thread Gerald L. Clark
Renato Golin wrote: Jerry Schwartz wrote: The difference is that, for example, .01 can be represented exactly in decimal; but float types are binary, so .01 cannot be represented exactly. This can lead to all kinds of trouble when doing arithmetic, the errors accumulate. Yes! but that can

where are the .MYI and .MYD files?

2006-09-07 Thread misingo
I've installed MySQL, created a database and tables and then loaded fields into them. I use the command line client and can see the fields, use the select command and every thing is OK, but when I look for the table files in the data directory, only the .frm ones appear, not the .MYI or MYD. Where

RE: where are the .MYI and .MYD files?

2006-09-07 Thread Jimmy Guerrero
Hello, A default install should drop data and databases into C:\Program Files\MySQL\MySQL Server 5.0.\data If you run something like: mysql CREATE DATABASE test1; Query OK, 1 row affected (0.00 sec) mysql USE test1; Database changed mysql CREATE TABLE t (i INT) ENGINE = MYISAM; Query OK, 0

Re: Decimal versus Float Point Type

2006-09-07 Thread Renato Golin
How do you expect to split a dollar 3 ways? Sorry, I should have added more smiles, it was supposed to be a joke about the dollars... ;) But still, I could win a lot of money by distributing people's money to their three kids and getting 1 cent out of every operation. :D It is not the math

Re: where are the .MYI and .MYD files?

2006-09-07 Thread Paul DuBois
[EMAIL PROTECTED] wrote: I've installed MySQL, created a database and tables and then loaded fields into them. I use the command line client and can see the fields, use the select command and every thing is OK, but when I look for the table files in the data directory, only the .frm ones appear,

Re: View hidden temporary files

2006-09-07 Thread Visolve DB Team
Hi, MySQL creates temporary table to complete the query. However, it doesn't tell you whether that temporary table will be in memory or on disk. MySQL's tmp_table_size variable will control the temporary table size.The default tmp_table_size size is 32 MB Temporary tables can either be in