Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8368283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:21:02+00:00 2026-06-09T13:21:02+00:00

Below is the actual partitioned table. CREATE TABLE `idea_partition` ( `id` int(10) unsigned NOT

  • 0

Below is the actual partitioned table.

 CREATE TABLE `idea_partition` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mdn` varchar(45) NOT NULL,
  `keyword` varchar(45) NOT NULL,
  `circle` varchar(45) DEFAULT NULL,
  `status` varchar(45) NOT NULL,
  `mode` varchar(25) DEFAULT NULL,
  `action` varchar(45) DEFAULT NULL,
  `mobile_type` varchar(45) DEFAULT NULL,
  `date` datetime NOT NULL,
  `sunsign` varchar(45) DEFAULT NULL,
  `numerology` int(10) unsigned DEFAULT NULL,
  `unsubdate` datetime DEFAULT NULL,
  `user` varchar(15) DEFAULT NULL,
  `pass` varchar(15) DEFAULT NULL,
  `refid` varchar(64) DEFAULT NULL,
  `info` varchar(128) DEFAULT NULL,
  `precharge` varchar(1) DEFAULT NULL,
  `originator` varchar(15) DEFAULT NULL,
  `price` double(6,2) DEFAULT NULL,
  `renewal_count` int(11) DEFAULT '1',
  PRIMARY KEY (`id`,`date`),
  UNIQUE KEY `Index_on_mdn_keyword_status` (`mdn`,`keyword`,`status`,`date`),
  KEY `Index_2` (`mdn`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
PARTITION BY RANGE( TO_DAYS(date) ) (
PARTITION rx201201 VALUES LESS THAN( TO_DAYS('2012-01-01 00:00:00') ), 
PARTITION rx201202 VALUES LESS THAN( TO_DAYS('2012-02-01 00:00:00') ), 
PARTITION rx201203 VALUES LESS THAN( TO_DAYS('2012-03-01 00:00:00') ), 
PARTITION rx201204 VALUES LESS THAN( TO_DAYS('2012-04-01 00:00:00') ), 
PARTITION rx201205 VALUES LESS THAN( TO_DAYS('2012-05-01 00:00:00') ), 
PARTITION rx201206 VALUES LESS THAN( TO_DAYS('2012-06-01 00:00:00') ), 
PARTITION rx201207 VALUES LESS THAN( TO_DAYS('2012-07-01 00:00:00') ), 
PARTITION rx201208 VALUES LESS THAN( TO_DAYS('2012-08-01 00:00:00') ), 
PARTITION rx201209 VALUES LESS THAN( TO_DAYS('2012-09-01 00:00:00') ), 
PARTITION rxMORES VALUES LESS THAN (MAXVALUE) );

Is it possible to add new partition on an existing range by partition on a date column. Like below –

ALTER TABLE idea_partition partition (TO_DAYS(date)) partition rx201301 VALUES LESS THAN (TO_DAYS(‘2013-01-01 00:00:00’);

It threw me error ..!! But if there is a way to achieve it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:21:03+00:00Added an answer on June 9, 2026 at 1:21 pm

    You can add more partition by ALTER Table like

    ALTER TABLE TableName ADD PARTITION (PARTITION PartitionName VALUES LESS THAN PartitionVlue);
    

    But remember one thing you can not cross partition maximum limit by altering it.

    For More Details Read this .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All of the names below are generic and not the actual names used. I
I've got a Model in Django, example code below (not my actual code): class
I know I'm missing something here. In the XSLT transformation below, the actual result
I need helps on the PhP array method deployed below: Actual PhP code: $itemsB
The images below illustrate what the actual problem is So as you can see
i dont know what is actual problem in the below code, but it doesn't
My string length is constant but actual data length will vary as like below,
First problem is the list of what pops up is far below the actual
Below is a snippet that gets programmatically generated for a toy programming language, actual
I'm getting a frustrating MySql syntax error in my code below. The actual error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.