Top "Database-partitioning" questions

Database partitioning is the act of splitting a database into separate parts, usually for manageability, performance or availability reasons.

How do I execute raw SQL in a django migration

I am aware of the cursor object in Django. Is there any other preferred way to execute raw SQL in …

django postgresql database-partitioning django-migrations
Hive: dynamic partition adding to external table

I am running hive 071, processing existing data which is has the following directory layout: -TableName - d= (e.g. 2011-08…

date dynamic hadoop hive database-partitioning
In Oracle, why do public synonyms become invalid when a table partition is dropped

can someone tell me why the following behavior occurs (Oracle 10.2): SQL> create table part_test ( i int primary key, …

sql oracle database-partitioning synonym
How to partition when ranking on a particular column?

All: I have a data frame like the follow.I know I can do a global rank order like this: …

r dataframe rank database-partitioning
Drop oldest partition automatically in oracle 11G

I have a requirement to drop partition from an interval partitioned table, if the partition is older than three months. …

oracle oracle11g database-partitioning
Optimize Postgres timestamp query range

I have the following table and indices defined: CREATE TABLE ticket ( wid bigint NOT NULL DEFAULT nextval('tickets_id_seq'::…

postgresql indexing query-optimization database-partitioning postgresql-performance
Automatic partitioning by day - PostgreSQL

I would like to do a daily partitions. I know with oracle is something like this. CREATE TABLE "PUBLIC"."TEST" ( "…

postgresql database-partitioning
How do I create a partition for every month of the current year

I want to partition my data by "MONTH" I am trying this, ALTER TABLE t1 PARTITION BY RANGE(TO_DAYS(…

mysql database-partitioning
SELECT TOP record for each year

I am trying to recap on my sql skill, now I am trying to run a simple query on northwinddb …

sql sql-server database-partitioning