RE: missing data after partitioning an existing table

2014-05-23 Thread Roland RoLaNd
I APOLOGIZE for  unwilling spamming this list!  i switched to plain text, and the formatting is still messed up when i paste from sublime. Background information: i have a 35 GB sized table which is causing performance issue, which is why i decided to add partitioning by month using the

RE: missing data after partitioning an existing table

2014-05-23 Thread Roland RoLaNd
Excuse me , and thanks for the heads up. I know a couple of things, but table partitioning isn't one of them. i have a 35 GB sized table which is causing performance issues, my research came across partitioning, which is what i tried and failed with today. i tried altering the table,

Re: missing data after partitioning an existing table

2014-05-23 Thread Christophe
Hi there, Le 23/05/2014 21:06, Roland RoLaNd a écrit : > [...] Ouch This post is somewhat ... unreadable ! Please format ! Christophe. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

missing data after partitioning an existing table

2014-05-23 Thread Roland RoLaNd
I know a couple of things, but table partitioning isn't one of them. i have a 35 GB sized table which is causing performance issues, my research came across partitioning, which is what i tried and failed with today. i tried altering the table, that kept going for 2 hours with absolute

Re: Partitioning on a Substring of Varchar Column in Mysql

2012-09-22 Thread Adarsh Sharma
ible to > _explicitly_ create duplicate ids. This is not likely in normal practice.) > > So, if you are partitioning on dt_dtamp, and you have id AUTO_INCREMENT, > then PRIMARY KEY ( 'id','dt_dtamp') is sufficient. UNIQUE ('id') is > unnecessary (and di

RE: Partitioning on a Substring of Varchar Column in Mysql

2012-09-21 Thread Rick James
does it have to be the PK. (However, if you do not have "UNIQUE(`id`)", by itself, it is possible to _explicitly_ create duplicate ids. This is not likely in normal practice.) So, if you are partitioning on dt_dtamp, and you have id AUTO_INCREMENT, then PRIMARY KEY ( 'id&

Re: Partitioning on a Substring of Varchar Column in Mysql

2012-09-21 Thread Adarsh Sharma
w error came : > > ERROR 1503 (HY000): A UNIQUE INDEX must include all columns in the table's > partitioning function > > as it is clearly mentioned in > http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations-partitioning-keys-unique-keys.html > . > > Is it p

Partitioning on a Substring of Varchar Column in Mysql

2012-09-21 Thread Adarsh Sharma
;) in a table. I thought & tried PRIMARY KEY ( 'id','dt_dtamp') & UNIQUE ('id') will work but below error came : ERROR 1503 (HY000): A UNIQUE INDEX must include all columns in the table's partitioning function as it is clearly mentioned in http://dev.mysql.com

RE: Fancy partitioning scheme

2010-06-02 Thread Gavin Towey
lto:bcantw...@firescope.com] Sent: Wednesday, June 02, 2010 12:30 PM To: mysql@lists.mysql.com Subject: Fancy partitioning scheme Perhaps someone has already accomplished this: I have a simple table with 3 columns: mytable( myid BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, myunixtime INT(11) NOT NU

Fancy partitioning scheme

2010-06-02 Thread Bryan Cantwell
older than 31 days. Can partitioning be this dynamic? If not, what solution could be suggested to handle doing date range queries on this table that can have 10's or 100's of millions of rows? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsub

RE: Partitioning

2010-02-23 Thread Jerry Schwartz
From: vegiv...@gmail.com [mailto:vegiv...@gmail.com] On Behalf Of Johan De Meersman Sent: Tuesday, February 23, 2010 5:52 AM To: Jerry Schwartz Cc: MY SQL Mailing list Subject: Re: Partitioning that's very much gonna depend on what your selects look like. For example, a low-cardin

RE: Partitioning

2010-02-23 Thread Jerry Schwartz
>-Original Message- >From: John Daisley [mailto:mg_s...@hotmail.com] >Sent: Tuesday, February 23, 2010 6:07 AM >To: jschwa...@the-infoshop.com ; mysql@lists.mysql.com >Subject: RE: Partitioning > >Hi Jerry, > >I guess modification of the table is needed! What are

RE: Partitioning

2010-02-23 Thread John Daisley
Hi Jerry, I guess modification of the table is needed! What are you trying to achieve by partitioning? If the primary key is rarely used then maybe adding another column with a numeric value based on `prod_id` and adding that column to the primary key would work and at least let you do some

Re: Partitioning

2010-02-23 Thread Johan De Meersman
that's very much gonna depend on what your selects look like. For example, a low-cardinality but often-where'd field makes an interesting candidate, as such a partitioning will take the size of your table scans down. If you know that you'll mostly access just last month's dat

Partitioning

2010-02-22 Thread Jerry Schwartz
I’d like to know your opinions about partitioning the following table. Here’s the relevant snippet: Create Table: CREATE TABLE `prod_price` ( `prod_price_id` varchar(15) NOT NULL DEFAULT '', `prod_id` varchar(15) DEFAULT NULL, … PRIMARY KEY (`prod_price_id`), KE

MySQL University session on June 4: Boosting Performance With MySQL 5.1 Partitioning

2009-06-02 Thread Stefan Hinz
Boosting Performance With MySQL 5.1 Partitioning http://forge.mysql.com/wiki/Boosting_Performance_With_MySQL_5.1_Partitioning This Thursday (June 4th, 14:00 UTC), Giuseppe Maxia will give a MySQL University session on Boosting Performance With MySQL 5.1 Partitioning. Giuseppe is leading the

Partitioning suggestion/workaround needed

2009-04-09 Thread David Sparks
Hi all, I'm just creating my first partitioned table and have run into a bit of a snag. The table primary key is a double and I want to create partitions based on ranges of the key. I have read the Partition Limitations section in the docs which states that the partition key must be, or resolve

Re: 5.1.24-rc and partitioning and add, drop partitions and select

2008-05-12 Thread Krishna Chandra Prajapati
e question, plz > > (http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations.html) > Table locks. > The process executing a partitioning operation on a > table takes a write lock on the table. Reads from such > tables are relatively unaffected; pending INSERT and > UPDATE ope

Re: 5.1.24-rc and partitioning and add, drop partitions and select

2008-05-12 Thread Mariella Petrini
One more question, plz (http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations.html) Table locks. The process executing a partitioning operation on a table takes a write lock on the table. Reads from such tables are relatively unaffected; pending INSERT and UPDATE operations are

5.1.24-rc and partitioning and add, drop partitions and select

2008-05-12 Thread Mariella Petrini
Hi ALL, I have been using 5.1.24-rc and partitioning by range. I have noticed that while doing a set of SELECT statements on one of the partitions (e.g. p1) and at the same time doing an ALTER TABLE with drop or add a different partition (e.g. ALTER TABLE DROP or ADD PARTITION p10) all the

Re: Partitioning in mysql

2007-12-05 Thread Norbert Tretkowski
Am Mittwoch, den 05.12.2007, 17:59 +0530 schrieb Krishna Prajapati: > Suggest me some link for partitioining. http://dev.mysql.com/tech-resources/articles/mysql_5.1_partitions.html http://dev.mysql.com/doc/refman/5.1/en/partitioning.html Norbert -- MySQL General Mailing List For list a

Partitioning in mysql

2007-12-05 Thread Krishna Chandra Prajapati
Hi All, Please tell me the concept of partitioning in mysql. How it help to access the data faster. How i can implement partitioning on mysql tables. Suggest me some link for partitioining. Thanks -- Krishna Chandra Prajapati

RE: Mysql Table partitioning

2007-11-29 Thread gunwant walbe
#x27;1995-12-31'; ++-+ | CustomerID | TimeCreated | ++-+ | 4 | 1992-11-28 08:13:09 | | 5 | 1987-11-28 08:13:09 | ++-+ -Original Message- From: gunwant walbe [mailto:[EMAIL PROTECTED] Sent

RE: Mysql Table partitioning

2007-11-28 Thread joe
--+-+ | CustomerID | TimeCreated | ++-+ | 4 | 1992-11-28 08:13:09 | | 5 | 1987-11-28 08:13:09 | ++-+ -Original Message- From: gunwant walbe [mailto:[EMAIL PROTECTED] S

RE: Mysql Table partitioning

2007-11-27 Thread gunwant walbe
ng it. The first problem that you will see is the PK and unique keys in partitioning have to have the partition key as part of the index. So your PK would have to be CustomerID, TimeCreated -Original Message- From: gunwant walbe [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007

RE: Mysql Table partitioning

2007-11-27 Thread joe
Try it and see where the data goes. It amazing how much you learn by doing it. The first problem that you will see is the PK and unique keys in partitioning have to have the partition key as part of the index. So your PK would have to be CustomerID, TimeCreated -Original Message

Mysql Table partitioning

2007-11-27 Thread gunwant walbe
hi all, I want to know some information about table partitioning. consider following script create table `customers`( `CustomerID` varchar(40) not null, `TimeCreated` DATETIME not null default 0, `TimeModified` datetime not null default 0, `isActive` tinyint not

Re: question about data partitioning in application level.

2007-08-01 Thread Brent Baisley
r any other increment beside 2. On Jul 30, 2007, at 12:37 AM, Hiroyuki Yamada wrote: I have a question about data partitioning. I'm currently runnning a database server having too many writes, so trying to partition data in application level. What I'm trying to do is partitioning da

question about data partitioning in application level.

2007-07-29 Thread Hiroyuki Yamada
I have a question about data partitioning. I'm currently runnning a database server having too many writes, so trying to partition data in application level. What I'm trying to do is partitioning data by user, for example, doing like the following. user_id 1-10 => to server1 u

Hashing Partitioning

2007-07-26 Thread Dmitry
Could you please explain Linear Hashing Partitioning in MySQL thanks, DT www.ejinz.com Search Engine News -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: When will partitioning be included in the MySQl stable release ?

2007-06-08 Thread Mogens Melander
I've been running 5.1 for "a while", seing no issues at all, on a production system. Respect! On Fri, June 8, 2007 19:51, Joerg Bruehe wrote: > Hi all ! > > > Michael Dykman wrote: >> It is my understanding that there is no intention of adding partioning >> into the 5.0 release. > > Right. Any GA

Re: When will partitioning be included in the MySQl stable release ?

2007-06-08 Thread Joerg Bruehe
Hi Michael, all! Michael Dykman wrote: On 6/8/07, Joerg Bruehe <[EMAIL PROTECTED]> wrote: Hi all ! Michael Dykman wrote: [[...]] >It will be avilable when 5.1 hits relase > status.. it is currently in beta and no official date has been set for > that release. There a

Re: When will partitioning be included in the MySQl stable release ?

2007-06-08 Thread Joerg Bruehe
Hi all ! Michael Dykman wrote: It is my understanding that there is no intention of adding partioning into the 5.0 release. Right. Any GA release will not get features added, as this would change functional behavior and also introduce the risk of losing stability.

Re: When will partitioning be included in the MySQl stable release ?

2007-06-08 Thread Michael Dykman
On 6/8/07, Joerg Bruehe <[EMAIL PROTECTED]> wrote: Hi all ! Michael Dykman wrote: > It is my understanding that there is no intention of adding partioning > into the 5.0 release. Right. Any GA release will not get features added, as this would change functional behavior and also introduce the

Re: When will partitioning be included in the MySQl stable release ?

2007-06-08 Thread Michael Dykman
close. - michael On 6/7/07, Mariella Petrini <[EMAIL PROTECTED]> wrote: Dear All, I would like to know if there are short time plans (and eventually when approximately it will be) to include partitioning in the next MySQL stable release. Thanks in advance for your help. I look forw

When will partitioning be included in the MySQl stable release ?

2007-06-07 Thread Mariella Petrini
Dear All, I would like to know if there are short time plans (and eventually when approximately it will be) to include partitioning in the next MySQL stable release. Thanks in advance for your help. I look forward to hearing from you, Mariella - You

Partitioning to_hour

2006-09-28 Thread Michael Gargiullo
I know we can partition to_day using 5.1. Are there plans to implement range partitioning to_hour as well? I'm in need of this granularity. I'm currently partitioned to_day then sub partitioned x6 and split the Data and Indexes to different HDs for disk speed. Starting with an empty

5.1 Partitioning - effect on inode count?

2006-09-05 Thread Jake Peavy
As I only qualify as 'barely literate' as a Unix admin, does anyone know of a good article on inode count, or, even better, one as it pertains to partitioning? I'm thinking about developing a two partitions per month per table schema but I'm worried about the sheer numbe

Re: query on a very big table [MySQL partitioning of large tables]

2005-07-26 Thread Josh Chamas
ntal table partitioning methodologies. Usually what one will do is have say 10M or 100M rows in a table say for one months data or some such. If this is MyISAM, then all of those sub tables can be put into a MERGE, and queried normally: http://dev.mysql.com/doc/mysql/en/merge-storage-engine.html If this

Re: Database Partitioning

2004-06-24 Thread Dan Nelson
In the last episode (Jun 24), Donna Croland said: > Does mysql support remote procedure calls or DRDA? I have partitioned > my database between multiple servers and need to join two tables from > two different servers (mysql instances) and I am wondering what the > best method for doing this wo

Database Partitioning

2004-06-24 Thread Donna Croland
Does mysql support remote procedure calls or DRDA? I have partitioned my database between multiple servers and need to join two tables from two different servers (mysql instances) and I am wondering what the best method for doing this would be. Any help would be greatly appreciated! Thanks i

Re: Is there anything equivalent to Oracle9i's list partitioning?

2003-02-13 Thread Dr. Frank Ullrich
Hi, Dan Nelson schrieb: > > In the last episode (Feb 12), Jeff Bearer said: > > I've recently learned that Oracle has the ability to partition table > > data, Oracle9i's list partitioning feature. > > > > http://www.oracle.com/oramag/oracle/02-jan/index

Re: Is there anything equivalent to Oracle9i's list partitioning?

2003-02-12 Thread Alec . Cawley
> I've recently learned that Oracle has the ability to partition table > data, Oracle9i's list partitioning feature. > http://www.oracle.com/oramag/oracle/02-jan/index.html?o12part.html > I'm trying to find out if MySQL or any open source database has > somethin

Re: Is there anything equivalent to Oracle9i's list partitioning?

2003-02-12 Thread Dan Nelson
In the last episode (Feb 12), Jeff Bearer said: > I've recently learned that Oracle has the ability to partition table > data, Oracle9i's list partitioning feature. > > http://www.oracle.com/oramag/oracle/02-jan/index.html?o12part.html > > I'm trying to fin

Is there anything equivalent to Oracle9i's list partitioning?

2003-02-12 Thread Jeff Bearer
I've recently learned that Oracle has the ability to partition table data, Oracle9i's list partitioning feature. http://www.oracle.com/oramag/oracle/02-jan/index.html?o12part.html I'm trying to find out if MySQL or any open source database has something equ

Partitioning - is this a good idea? Win2K

2002-10-31 Thread Alec . Cawley
We have come up with a disk partitioning system for our MySQL system which seems to me like a good idea, but I worry that there may be some kind of hidden downside that I don't see. I would therefore like to query the wisdom of the list to see if you can point out the error, if any, of my

AW: Table partitioning functionality

2002-09-06 Thread Antoine
Hi, You could do the partitioning logic on the application side. For example you can create a new table every month with a different suffix corresponding to the year/month number. Then you add the info about this new table into a master description table, which holds one row per created table

AW: Table partitioning functionality

2002-09-06 Thread Moestl, Wolfgang
ailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 5. September 2002 13:07 An: Moestl, Wolfgang Betreff: Re: Table partitioning functionality Hi, No, I'm afraid. MyISAM tables cannot be cut in several pieces. But check ot the InnoDB table type, because they work very similar to Oracle. In

Re: Table partitioning functionality

2002-09-05 Thread Daniel Kiss
e you can use this feature for your task. Bye, Daniel At 12:28 2002.09.05. +0200, you wrote: >Hi, > >Does MySQL offering a similar functionality as Oracle does with table >partitioning? > >Oracle can split a table into several pieces where the pieces are - >usual

Table partitioning functionality

2002-09-05 Thread Moestl, Wolfgang
Hi, Does MySQL offering a similar functionality as Oracle does with table partitioning? Oracle can split a table into several pieces where the pieces are - usually - identified by a range of valus. For example, one may split a table holding data on a daily basis into monthly partitions