Doubt with sored procedures - II

2013-04-18 Thread Antonio Fernández Pérez
I have discovered that in MySQL client program I can define "definer" and "sql security". This is the detail. Thanks everybody. Best regards, Antonio.

Re: Doubt with stored procedures

2013-04-17 Thread Antonio Fernández Pérez
Hi everybody, Firstly thanks for your reply. I'm using MySQL only in one server (I have only one), without replication and without cluster configuration. I have defined the stored procedure as a normal user, not as a root. And the call is make as a normal user also. Occurs with MySQL 5.1.49 on De

Re: Doubt with stored procedures

2013-04-17 Thread hsv
>>>> 2013/04/17 14:16 +0200, Antonio Fernández Pérez >>>> I have a doubt with stored procedures functionality. Is possible that a stored procedure works with all databases form the server? I have created a stored procedure on dataBaseA and also works with dataBaseB. Is tha

Re: Doubt with stored procedures

2013-04-17 Thread Johan De Meersman
- Original Message - > From: "Antonio Fernández Pérez" > Subject: Doubt with stored procedures > > I have a doubt with stored procedures functionality. Is possible that > a stored procedure works with all databases form the server? I have > created a store

Doubt with stored procedures

2013-04-17 Thread Antonio Fernández Pérez
Hi everybody, I have a doubt with stored procedures functionality. Is possible that a stored procedure works with all databases form the server? I have created a stored procedure on dataBaseA and also works with dataBaseB. Is that correct? Independently of the user privileges defined. Thanks

RE: a little doubt on text about MySQL

2013-03-18 Thread Rick James
ilto:h...@tbbs.net] > Sent: Saturday, March 16, 2013 6:23 AM > To: Reindl Harald > Cc: mysql@lists.mysql.com > Subject: Re: a little doubt on text about MySQL > > >>>> 2013/03/16 03:44 +0100, Reindl Harald >>>> > what are you speaking about? > > yo

Re: a little doubt on text about MySQL

2013-03-17 Thread hsv
2013/03/16 03:44 +0100, Reindl Harald what are you speaking about? you can define it in my.cnf and YOU are responsible for the configuration as you are also responsible the develop php code with error_reporting = E_ALL These SQL-modes that pertain to type-safety are really part

Re: a little doubt on text about MySQL

2013-03-16 Thread hsv
2013/03/15 12:43 -0300, Marcus Vinicius Does anyone knows the author of this: http://grimoire.ca/mysql/choose-something-else Title: "Do Not Pass This Way Again" Not I --but, as to automatic type-conversion, I find me in agreement with the author. When I first began to use MyS

Re: a little doubt on text about MySQL

2013-03-15 Thread Reindl Harald
Am 16.03.2013 01:51, schrieb h...@tbbs.net: > He makes a point that had not come to me, that type-security somewhat depends > on SQL_MODE, which belongs to the connection. It is, quite rightly, stored in > saved program code, but not in any table. At least these affect table behavior what are

a little doubt on text about MySQL

2013-03-15 Thread Marcus Vinicius
Hello all, Does anyone knows the author of this: http://grimoire.ca/mysql/choose-something-else Title: "Do Not Pass This Way Again" Thanks a lot, Marcus Vinicius. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Adarsh Sharma
tmare on your hands to > fix the broken replication. > > > -Original Message- > > From: Stillman, Benjamin [mailto:bstill...@limitedbrands.com] > > Sent: Monday, September 24, 2012 11:56 AM > > To: Shawn Green > > Cc: mysql@lists.mysql.com > > Sub

RE: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Rick James
; Sent: Monday, September 24, 2012 11:56 AM > To: Shawn Green > Cc: mysql@lists.mysql.com > Subject: Re: Doubt Regd. Circular Replication In Mysql > > I stand corrected and apologize. Numerous multi-master setup > descriptions I've read have said to set this (including the one linked

Re: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Stillman, Benjamin
I stand corrected and apologize. Numerous multi-master setup descriptions I've read have said to set this (including the one linked in the original question). However, as you said, the entry in the manual clearly says it defaults to 0. Learn something new every day. Thanks Shawn. On Sep 24, 2

Re: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Shawn Green
Hello Benjamin, On 9/24/2012 10:52 AM, Stillman, Benjamin wrote: replicate-same-server-id = 0 keeps MySQL from replicating binary log entries from itself. For instance, here's a rough overview: You write to Server A. Server A writes that to its binary log. Server B reads Server A's binary log

RE: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Stillman, Benjamin
log entries with its own server ID. From: Adarsh Sharma [mailto:eddy.ada...@gmail.com] Sent: Monday, September 24, 2012 10:39 AM To: Stillman, Benjamin Subject: Re: Doubt Regd. Circular Replication In Mysql Yes I fixed , but i solve the issue by enabling log-slave-updates only Why we use the be

RE: Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Stillman, Benjamin
om: Adarsh Sharma [mailto:eddy.ada...@gmail.com] Sent: Monday, September 24, 2012 10:23 AM To: mysql@lists.mysql.com Subject: Doubt Regd. Circular Replication In Mysql Hi all, Today i set up a circular replication between three nodes A,B & C successfully. I expect whatever writes on A will p

Doubt Regd. Circular Replication In Mysql

2012-09-24 Thread Adarsh Sharma
Hi all, Today i set up a circular replication between three nodes A,B & C successfully. I expect whatever writes on A will propagated to B & then Propagated to C because the structure is like below :- A -> B - > C -> A I created a sample table stag in test database in A and insert few records th

RE: Doubt regarding Mysqlsump

2011-06-09 Thread Wm Mussatto
On Thu, June 9, 2011 11:59, Jerry Schwartz wrote: > > >> >>A single table is always consistent. Data inconsistency occurs in sets of >>interrelated tables, in other words, on the database level. >> > [JS] Not even a single table is always consistent (unless there is > transactions). Consider a

RE: Doubt regarding Mysqlsump

2011-06-09 Thread Jerry Schwartz
> >A single table is always consistent. Data inconsistency occurs in sets of >interrelated tables, in other words, on the database level. > [JS] Not even a single table is always consistent (unless there is transactions). Consider a single transaction that consists of two steps: 1. Delete recor

Re: Doubt regarding Mysqlsump

2011-06-09 Thread Karen Abgarian
Hi! Inline, again. On Jun 9, 2011, at 4:58 AM, Johan De Meersman wrote: > True, but I have never seen an application that checks for inconsistency in > it's tables. Making sure all users have stopped using the app ensures no > in-flight transactions, and then you have a consistent database - s

Re: Doubt regarding Mysqlsump

2011-06-09 Thread Johan De Meersman
- Original Message - > From: "Karen Abgarian" > > This however means that the resulting snapshot will be consistent. > The fact of taking a backup really cannot create more consistency > than what the application has by design. If the application inserts > related rows in say two relate

Re: Doubt regarding Mysqlsump

2011-06-09 Thread Karen Abgarian
Hello, comments inline. Regards, Karen. > > > I checked up in the mean time, and it does not make a truly consistent backup > of MyISAM - it locks all tables - yes, ALL tables - and then copies the > files. Given that MyISAM doesn't support transactions, that means that any > "transactions" (

Re: Doubt regarding Mysqlsump

2011-06-07 Thread Johan De Meersman
- Original Message - > From: "Adarsh Sharma" > > Not getting U'r point marked as bold & Underline I checked up in the mean time, and it does not make a truly consistent backup of MyISAM - it locks all tables - yes, ALL tables - and then copies the files. Given that MyISAM doesn't supp

Re: Doubt regarding Mysqlsump

2011-06-07 Thread Adarsh Sharma
Johan De Meersman wrote: - Original Message - From: "Claudio Nanni" I think this is the best option for you: http://www.percona.com/docs/wiki/percona-xtrabackup:start I must say, I still haven't looked very well at xtrabackup. How does it take consistent backups of MyISAM ta

Re: Doubt regarding Mysqlsump

2011-06-06 Thread Johan De Meersman
- Original Message - > From: "Claudio Nanni" > > I think this is the best option for you: > http://www.percona.com/docs/wiki/percona-xtrabackup:start I must say, I still haven't looked very well at xtrabackup. How does it take consistent backups of MyISAM tables? I didn't think that was

Re: Doubt regarding Mysqlsump

2011-06-06 Thread Adarsh Sharma
Both MYISAM & Innodb Engines are used. Thanks Nilnandan Joshi wrote: Can you tell us which storage engine you are using? On Tue, Jun 7, 2011 at 11:30 AM, Adarsh Sharma mailto:adarsh.sha...@orkash.com>> wrote: Dear all, Is it possible to take backups of a table or complete database

Re: Doubt regarding Mysqlsump

2011-06-06 Thread mark carson
Hi We use the --single-transaction switch thinking it does less locking or waiting for a required table lock. You then get a snapshot without stopping. Subject should have included the word 'hot'? Looking forward to other suggestions. Mark On 2011/06/07 08:00, Adarsh Sharma wrote: > Dear all,

Re: Doubt regarding Mysqlsump

2011-06-06 Thread Nilnandan Joshi
Can you tell us which storage engine you are using? On Tue, Jun 7, 2011 at 11:30 AM, Adarsh Sharma wrote: > Dear all, > > Is it possible to take backups of a table or complete database without > stopping the application that continuously inserts and select data from the > tables. > > For taking c

Re: Doubt regarding Mysqlsump

2011-06-06 Thread Claudio Nanni
Hi Adarsh, I think this is the best option for you: http://www.percona.com/docs/wiki/percona-xtrabackup:start There is also a commercial alternative, InnoBackup, but I imagine you like it free. Cheers Claudio On Jun 7, 2011 7:59 AM, "Adarsh Sharma" wrote: > Dear all, > > Is it possible to take

Doubt regarding Mysqlsump

2011-06-06 Thread Adarsh Sharma
Dear all, Is it possible to take backups of a table or complete database without stopping the application that continuously inserts and select data from the tables. For taking complete backup of a database I follow the below steps :- 1. First stop the application that insert & modifies table

Re: Doubt Regarding Truncate

2011-02-11 Thread Claudio Nanni
Adarsh Sharma [mailto:adarsh.sha...@orkash.com] > Sent: Friday, February 11, 2011 12:17 AM > To: mysql@lists.mysql.com > Subject: Doubt Regarding Truncate > > Dear all, > > Today I performed the below commands on a 553 GB InnoDb table . > > truncate table page_c

RE: Doubt Regarding Truncate

2011-02-10 Thread Rolando Edwards
sage- From: Adarsh Sharma [mailto:adarsh.sha...@orkash.com] Sent: Friday, February 11, 2011 12:17 AM To: mysql@lists.mysql.com Subject: Doubt Regarding Truncate Dear all, Today I performed the below commands on a 553 GB InnoDb table . truncate table page_crawled; optimize table page_cra

Doubt Regarding Truncate

2011-02-10 Thread Adarsh Sharma
Dear all, Today I performed the below commands on a 553 GB InnoDb table . truncate table page_crawled; optimize table page_crawled; But I couldn't find the free space available after truncation. The below structure is same as before truncation /dev/sda2 29G 9.5G 18G 36%

Re: doubt: mysqldump in linux like windows

2008-03-21 Thread dr_pompeii
x27;,'300','11'); >> INSERT INTO `articulo` VALUES ('1-CHA01','KIT CHACARERO AZUL >> (GDFGO,PORTAF,LLANT-DEL/POST)','0.00','0.00','0.00','0.00','','0.00 >> ','

Re: doubt: mysqldump in linux like windows

2008-03-20 Thread Moon's Father
;,'0.00','0.00','0.00','','0.00 > ','300','14'); > INSERT INTO `articulo` VALUES ('1-P0001','CASCOS DE MOTOS > HONDA','0.00','0.00','0.00','0.00','','

RE: doubt: mysqldump in linux like windows

2008-03-20 Thread dr_pompeii
27;','0.00','300','14'); INSERT INTO `articulo` VALUES ('1-P0001','CASCOS DE MOTOS HONDA','0.00','0.00','0.00','0.00','','0.00','300','10'); i need like the

RE: doubt: mysqldump in linux like windows

2008-03-20 Thread Rolando Edwards
Use --skip-extended-insert as another mysqldump option -Original Message- From: dr_pompeii [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 2:43 PM To: mysql@lists.mysql.com Subject: doubt: mysqldump in linux like windows Hello guys i have this situation in widnows with the

doubt: mysqldump in linux like windows

2008-03-20 Thread dr_pompeii
7;,'0.00','0.00','0.00','','0.00','300','11'),('1-CHA01','KIT CHACARERO AZUL (GDFGO,PORTAF,LLANT-DEL/POST)','0.00','0.00','0.00','0.00','','0.00','

Doubt

2007-11-06 Thread sangeet joshi
HI *sql in datawarehousing* i was using the ETL tool INFORMATICA - version 6.2 . and i am creating a TARGET TABLE manually, in oracle database. using the option Targets > create. created the table with generation optio

Re: doubt about indexes

2007-05-29 Thread Baron Schwartz
Hi Ricardo, Ricardo Conrado Serafim wrote: Hi Group! I've a doubt about indexes and I hope that you can help me. If I've a table index with 5 columns (col_1,col_2,col_3,col_4,col_5) and I do a query where the clause "where" use just col_1, col_2, col_4 and col_5. Thi

doubt about indexes

2007-05-29 Thread Ricardo Conrado Serafim
Hi Group! I've a doubt about indexes and I hope that you can help me. If I've a table index with 5 columns (col_1,col_2,col_3,col_4,col_5) and I do a query where the clause "where" use just col_1, col_2, col_4 and col_5. This query will use the index at least with

Re: Simple doubt

2006-11-28 Thread Peter Bradley
Ysgrifennodd ViSolve DB Team: Hi Renish, If you want to capture the entries which are entered more than once. Here's the answer for it. mysql> select * from a; ++ | b | ++ | pen| | pencil | | rubber | | pen| | paper | | paper | ++ 6 rows in set (0.00 sec

Re: Simple doubt

2006-11-28 Thread Peter Brawley
SELECT DISTINCT a,b,c,d,e FROM tbl; Renish wrote: How abt to return the distinct rows? - Original Message - From: "Peter Brawley" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]>; Sent: Tuesday, November 28, 2006 11:48 AM Subject: Re: Simple

Re: Simple doubt

2006-11-27 Thread Renish
How abt to return the distinct rows? - Original Message - From: "Peter Brawley" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]>; Sent: Tuesday, November 28, 2006 11:48 AM Subject: Re: Simple doubt >But if I do like this.. >select dist

Re: Simple doubt

2006-11-27 Thread Peter Brawley
Tuesday, November 28, 2006 11:48 AM Subject: Re: Simple doubt >But if I do like this.. >select distinct store, price from Item >will both become distinct? SELECT DISTINCT returns one result row per distinct _result_ row (which will be the same as 'per distinct table row' only if

Re: Simple doubt

2006-11-27 Thread Renish
Smart. and simple .I should have thought for a while:-( - Original Message - From: "ViSolve DB Team" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]>; "Hal Wigoda" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, November 28, 2006 11:58 AM Subj

Re: Simple doubt

2006-11-27 Thread ViSolve DB Team
D]> Cc: Sent: Tuesday, November 28, 2006 9:03 AM Subject: Re: Simple doubt Hello all, I think u guys have mistaken my question,.. The questiion is How will capture the entries which are entered more than once... Like For example Item table Mango Orange Carrot Papaya Mango Mango I

Re: Simple doubt

2006-11-27 Thread Renish
Dupes - Original Message - From: "Peter Brawley" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]>; Sent: Tuesday, November 28, 2006 11:48 AM Subject: Re: Simple doubt >But if I do like this.. >select distinct store, price from Item >wi

Re: Simple doubt

2006-11-27 Thread Peter Brawley
om Item will both become distinct? How can I make only one distinct ie "store" distinct regards, - Original Message - From: "Peter Brawley" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, November 28, 2006 11:18 AM Sub

Re: Simple doubt

2006-11-27 Thread Renish
Message - From: "Hal Wigoda" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2006 11:11 AM Subject: Re: Simple doubt select unique On Nov 27, 2006, at 8:45 PM, Renish wrote: Gurus, How do I go about to selecting an item whic

Re: Simple doubt

2006-11-27 Thread Renish
ECTED]> Cc: Sent: Tuesday, November 28, 2006 11:18 AM Subject: Re: Simple doubt SELECT DISTINCT ... Renish wrote: Gurus, How do I go about to selecting an item which is repeated more than one in a field in a table. For example Item table Mango Orange Carrot Papaya Mango Mango

Re: Simple doubt

2006-11-27 Thread Peter Brawley
SELECT DISTINCT ... Renish wrote: Gurus, How do I go about to selecting an item which is repeated more than one in a field in a table. For example Item table Mango Orange Carrot Papaya Mango Mango -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409

Simple doubt

2006-11-27 Thread Renish
Gurus, How do I go about to selecting an item which is repeated more than one in a field in a table. For example Item table Mango Orange Carrot Papaya Mango Mango -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAI

Re: MySql doubt.

2006-11-27 Thread Rolando Edwards
Message - From: Renish <[EMAIL PROTECTED]> To: mysql@lists.mysql.com Sent: Sunday, November 26, 2006 10:15:43 PM GMT-0500 US/Eastern Subject: MySql doubt. Hi Guys, I have an easy doubt.. Table A consist of field Item and Table B consist of field Price. Table A consists of Items which

Re: MySql doubt.

2006-11-27 Thread Renish
Great Thanks,, - Original Message - From: "ViSolve DB Team" <[EMAIL PROTECTED]> To: "Renish" <[EMAIL PROTECTED]>; Sent: Monday, November 27, 2006 4:57 PM Subject: Re: MySql doubt. Hi Renish, In case if you dont have the Item field in the Table B.

Re: MySql doubt.

2006-11-27 Thread ViSolve DB Team
D]>; Sent: Monday, November 27, 2006 12:48 PM Subject: Re: MySql doubt. Thanks if in case if we dont have the Item field in the Table B. wat to do..I know the primary key to connect both the tables/ - Original Message - From: ViSolve DB Team To: Renish ; mysql@lists.mysql.com Sent:

Re: MySql doubt.

2006-11-26 Thread Renish
Thanks if in case if we dont have the Item field in the Table B. wat to do..I know the primary key to connect both the tables/ - Original Message - From: ViSolve DB Team To: Renish ; mysql@lists.mysql.com Sent: Monday, November 27, 2006 12:48 PM Subject: Re: MySql doubt

Re: MySql doubt.

2006-11-26 Thread ViSolve DB Team
uot;Renish" <[EMAIL PROTECTED]> To: Sent: Monday, November 27, 2006 8:45 AM Subject: MySql doubt. > Hi Guys, > > I have an easy doubt.. > > Table A consist of field Item and Table B consist of field Price. Table A > consists of Items which has price aswell the it

MySql doubt.

2006-11-26 Thread Renish
Hi Guys, I have an easy doubt.. Table A consist of field Item and Table B consist of field Price. Table A consists of Items which has price aswell the items which doesnt have price. But In Table B,I have kept only the item which has price . Now, I want to subtract the total items in

MySql doubt.

2006-11-26 Thread Renish
Hi Guys, I have an easy doubt.. Table A consist of field Item and Table B consist of field Price. Table A consists of Items which has price aswell the items which doesnt have price. But In Table B,I have kept only the item which has price . Now, I want to subtract the total items in Table A

Re: Doubt on Index Merge??

2006-08-10 Thread Chris
Ratheesh K J wrote: Hello all, I have a doubt on Index Merge. We are currently using MySQL server 4.1.11. As a part of DB management I am currently doing an analysis on all the Tables. While looking into the table structures, their columns and Indexes I found that most of the tables have

Doubt on Index Merge??

2006-08-04 Thread Ratheesh K J
Hello all, I have a doubt on Index Merge. We are currently using MySQL server 4.1.11. As a part of DB management I am currently doing an analysis on all the Tables. While looking into the table structures, their columns and Indexes I found that most of the tables have an Index on fields that

Re: A doubt in SELECT query

2006-04-07 Thread Rhino
method of forcing the output to be in a specific order. -- Rhino - Original Message - From: "subramani" <[EMAIL PROTECTED]> To: Sent: Friday, April 07, 2006 10:22 AM Subject: A doubt in SELECT query hello all, In which order the datas are displayed, when the SEL

Re: A doubt in SELECT query

2006-04-07 Thread Barry
subramani wrote: hello all, In which order the datas are displayed, when the SELECT quey is used ? Is it random or the order in which the datas are inserted? -- r.subramani My log file: http://subramanitce.blogspot.com Random -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(

A doubt in SELECT query

2006-04-07 Thread subramani
hello all, In which order the datas are displayed, when the SELECT quey is used ? Is it random or the order in which the datas are inserted? -- r.subramani My log file: http://subramanitce.blogspot.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: Again Doubt on Query pls help (Doubt not cleared)

2006-01-28 Thread Juan Pedro Reyes Molina
I think this is what you want to do: SELECT t1.Division,t1.year, t1.units this_year_units, t2.units last_year_units, case when t2.units is null then t1.units else (t1.units-t2.units) end as Difference_Units FROM `narra_table` t1 left join narra_table t2 on (t1.Division=t2.Division) and (t1.Ye

i have one doubt

2006-01-28 Thread Veerabhadrarao Narra
i have to write one query DivisionUnitsYear a 200 2004 a 300 2005 b 500 2004 b 800 2005 b 900 2006 c

Again Doubt on Query pls help (Doubt not cleared)

2006-01-28 Thread Veerabhadrarao Narra
i have to write one query DivisionUnitsYear a 200 2004 a 300 2005 b 500 2004 b 800 2005 b 900 2006 c

Re: i have one doubt

2006-01-28 Thread Veerabhadrarao Narra
Hi Gleb Paharenko, ThanQ for assistance -- veerabhadrarao narra, +91-988-556-5556 I-ONE TECH LABS Pvt Ltd. HYDERABAD, INDIA -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: i have one doubt

2006-01-28 Thread Gleb Paharenko
Hello. set @s:=0; select Division, Units, Year from (select v1.Division, [EMAIL PROTECTED] as Units, v1.Year, @s:=v1.Units from veer v1) as v2; Veerabhadrarao Narra wrote: > i have to write one query > > DivisionUnitsYear > ameerpet 200 2004 >

i have one doubt

2006-01-27 Thread Veerabhadrarao Narra
i have to write one query DivisionUnitsYear ameerpet 200 2004 ameerpet 300 2005 ameerpet 500 2006 >From these values i want to retreive as like this DivisionUnitsYear

Re: Doubt about query optimization

2005-07-28 Thread Ronan Lucio
Eric, Can you send us the actual show indexes from table and explain output that isn't shortend? Thank you for answer my question. Actually, the real query and tables are much more complex than the data in the previous message. A just tryed to optimize the information for you better understan

Re: Doubt about query optimization

2005-07-27 Thread Eric Bergen
Can you send us the actual show indexes from table and explain output that isn't shortend? Ronan Lucio wrote: Hello, I´m using MySQL-4.1.7, and I have a query that seems, even using where clause, an specific table isn´t being optimized properly: I have four tables: real_state: cod, name, ci

Doubt about query optimization

2005-07-27 Thread Ronan Lucio
Hello, I´m using MySQL-4.1.7, and I have a query that seems, even using where clause, an specific table isn´t being optimized properly: I have four tables: real_state: cod, name, city, ag_cod, sell agency: cod, name, ag_status front: cod, rs_cod, ag_cod photo: cod, rs_cod These table have the

Re: Doubt on MySQL for Linux...

2005-06-24 Thread Danny Stolle
Ashok Kumar wrote: Hi friends, I'm now started to using the Redhat-Linux. Now i want to start MySQL on Linux. I'm not having much idea about Linux. I'm new to this. For Linux which MySQL installation i've to choose from the site. there are lot of binary distributions, i don't which one is compat

Doubt on MySQL for Linux...

2005-06-24 Thread Ashok Kumar
Hi friends, I'm now started to using the Redhat-Linux. Now i want to start MySQL on Linux. I'm not having much idea about Linux. I'm new to this. For Linux which MySQL installation i've to choose from the site. there are lot of binary distributions, i don't which one is compatible for my OS. Lin

Re: Doubt about Performance

2005-01-19 Thread Ronan Lucio
Shawn, Thank you very much for your tips. I´ll do that. Ronan - Original Message - From: <[EMAIL PROTECTED]> To: "Ronan Lucio" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, January 18, 2005 6:36 PM Subject: Re: Doubt about Performance "Ronan Lucio" <[EMAIL

RE: Doubt about Performance

2005-01-18 Thread Dathan Pattishall
> -Original Message- > From: Ronan Lucio [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 10:13 AM > To: mysql@lists.mysql.com > Subject: Doubt about Performance > > Hello, > > Trying to keep the database and the application fast, I´d >

Re: Doubt about Performance

2005-01-18 Thread SGreen
"Ronan Lucio" <[EMAIL PROTECTED]> wrote on 01/18/2005 02:53:39 PM: > Shawn, > > Your tips are realy good but I can´t use cache neither for > queries nor for pages because our site serves hundreds of > clients, each one with your own code make a different > query, returning different rows. > > It

Re: Doubt about Performance

2005-01-18 Thread Ronan Lucio
Sasha, > I assume you mean "has serious performance impact" when you say "weight". If > this is not what you meant, please correct/clarify. Yes, you´re right. >> >> 1) Is a SELECT DISTINCT over 5,000 records a weight >> query? (Supposing it has about 20 different option the the >> DISTIN

Re: Doubt about Performance

2005-01-18 Thread SGreen
"Ronan Lucio" <[EMAIL PROTECTED]> wrote on 01/18/2005 01:13:10 PM: > Hello, > > Trying to keep the database and the application fast, > I´d like to clearify my mind about it. > > 1) Is a SELECT DISTINCT over 5,000 records a weight > query? (Supposing it has about 20 different option the the

Re: Doubt about Performance

2005-01-18 Thread Sasha Pachev
Ronan Lucio wrote: Hello, Trying to keep the database and the application fast, I´d like to clearify my mind about it. Ronan: I assume you mean "has serious performance impact" when you say "weight". If this is not what you meant, please correct/clarify. 1) Is a SELECT DISTINCT over 5,000 records

Re: Doubt about Performance

2005-01-18 Thread Ronan Lucio
Greg, Thank you very much for your help. > An index the full size of the distinct key is probably very quick especially > if it only has 20 distinct values. OTOH, if you already know you have a > small number of distinct values, could you just store them normalized in a > different table? Actua

Doubt about Performance

2005-01-18 Thread Ronan Lucio
Hello, Trying to keep the database and the application fast, I´d like to clearify my mind about it. 1) Is a SELECT DISTINCT over 5,000 records a weight query? (Supposing it has about 20 different option the the DISTINCT key). 2) Is SELECT ORDER BY RAND() over 1,500 records a weight q

Doubt about query optimization

2004-12-14 Thread Ronan Lucio
= price.product_id) WHERE rent_price BETWEEN 300.00 and 500.00 My doubt is if the table product will be optimized. Will optimization process be done over all rows from the product table or only the rows related to the price table? In other words: If table price has other columns and LEFT JOIN is

Doubt in Isolation level

2004-10-04 Thread yoge
Hi, I use MySql version 4.0.18. We do a lot of bulk inserts and there is no need for transaction integrity. Currently the isolation level of the database is REPEATABLE-READ. Iam planning to change that to READ UNCOMMITTED as I dont have any transactions. Will this improve DB performance ? Is ther

Re: Doubt about TINYINT type

2004-04-28 Thread Don Read
On 27-Apr-2004 Paul DuBois wrote: > At 13:29 -0400 4/27/04, Keith C. Ivey wrote: >>On 27 Apr 2004 at 13:59, Ronan Lucio wrote: >> >>> OK, I understood it, but I didn´t understand why is there an >>> option >>> TINYINT(n) >> >>See http://dev.mysql.com/doc/mysql/en/Numeric_types.html >> >>| Ano

Re: Doubt about TINYINT type

2004-04-27 Thread Paul DuBois
At 13:29 -0400 4/27/04, Keith C. Ivey wrote: On 27 Apr 2004 at 13:59, Ronan Lucio wrote: OK, I understood it, but I didn´t understand why is there an option TINYINT(n) See http://dev.mysql.com/doc/mysql/en/Numeric_types.html | Another extension is supported by MySQL for optionally | specify

Re: Doubt about TINYINT type

2004-04-27 Thread Keith C. Ivey
On 27 Apr 2004 at 13:59, Ronan Lucio wrote: > OK, I understood it, but I didn´t understand why is there an option > TINYINT(n) See http://dev.mysql.com/doc/mysql/en/Numeric_types.html | Another extension is supported by MySQL for optionally | specifying the display width of an integer value

Re: Doubt about TINYINT type

2004-04-27 Thread Ronan Lucio
Paul, > I don't know what "minor than" means Sorry by my english. I´d like to say "less than" (or something like this). > , but TINYINT is a single-byte > type. The range for TINYINT is -128 to 127, and the range for > TINYTINT UNSIGNED in 0 to 255. OK, I understood it, but I didn´t understand

Re: Doubt about TINYINT type

2004-04-27 Thread Paul DuBois
At 11:53 -0300 4/27/04, Ronan Lucio wrote: Hi, If I create a column with the type TINYINT(2) UNSIGNED. Will the content can have the value minor than 510 (like a number 499), or will the content can have two values minor than 255 (like 11)? I don't know what "minor than" means, but TINYINT is a s

Doubt about TINYINT type

2004-04-27 Thread Ronan Lucio
Hi, If I create a column with the type TINYINT(2) UNSIGNED. Will the content can have the value minor than 510 (like a number 499), or will the content can have two values minor than 255 (like 11)? Thanks, Ronan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To

Re: An doubt about mysql version 4.0.x agains 4.1.x

2004-03-05 Thread Victoria Reznichenko
"Luiz Rafael Culik Guimaraes" <[EMAIL PROTECTED]> wrote: > Dear Friend > > an friend of mine told that the follow line bellow dont work with mysql > version 4.0.x > > * Support for subqueries and derived tables > This mean query like : SELECT A.* FROM (SELECT * FROM TESTE WHERE X = Y) A > WHERE C

An doubt about mysql version 4.0.x agains 4.1.x

2004-03-05 Thread Luiz Rafael Culik Guimaraes
Dear Friend an friend of mine told that the follow line bellow dont work with mysql version 4.0.x * Support for subqueries and derived tables This mean query like : SELECT A.* FROM (SELECT * FROM TESTE WHERE X = Y) A WHERE COL1 = 3 is this true, or mysql version 4.0.x work properly with this Re

Re: Just a doubt.....

2003-05-28 Thread Leander (mySQL-list)
Hi, I made a table with a primary key,and all the columns i declared char got converted into varchar. plz someone throw a light on it as i had seen somewhere that using primary key increase search speed and using varchars decrease so im in confusion. :( http://www.mysql.com/doc/en/Silent_column_cha

Just a doubt.....

2003-05-28 Thread harsh
Hi, I made a table with a primary key,and all the columns i declared char got converted into varchar. plz someone throw a light on it as i had seen somewhere that using primary key increase search speed and using varchars decrease so im in confusion. :( --

re: doubt

2003-03-21 Thread Egor Egorov
On Friday 21 March 2003 08:01, sivakumar wrote: > Hai, am having the problem in creating CD of my project(Online > Tutorial).While creating the CD only am having the problem. Actually am > working in SSH(linux),right. > > I have to make a dump of my source code and mysql ..to copy (from server to >

Re: doubt

2003-03-20 Thread Jeff Kilpatrick
How are you dumping the database? It doesn't seem like you should have problems going either direction, especially to a case-insensitive filesystem. Copying databases with something like $ mysqldump | mysql -h works for me, even if it is fairly slow. -jeff (formerly kilpatjr_at_lupus.omrf.ou

doubt

2003-03-20 Thread sivakumar
Hai, am having the problem in creating CD of my project(Online Tutorial).While creating the CD only am having the problem. Actually am working in SSH(linux),right. I have to make a dump of my source code and mysql ..to copy (from server to C:\ of my PC with windows not case- sensitive, right).

doubt

2003-03-20 Thread sivakumar
Hai, am having the problem in creating CD of my project(Online Tutorial).While creating the CD only am having the problem. Actually am working in SSH(linux),right. I have to make a dump of my source code and mysql ..to copy (from server to C:\ of my PC with windows not case- sensitive, right).

  1   2   >