Questions tagged [partition]

Use this tag for questions about code that partitions data, memory, virtual machines, databases or disks.

In computing, partition may refer to

  • Disk partitioning, the division of a hard disk drive
  • Partition (database), the division of a database
  • Logical partition (virtual computing platform) (LPAR), a subset of a computer's resources, virtualized as a separate computer
  • Memory partition, a subdivision of a computer's memory, usually for use by a single job
  • Binary space partitioning

source: https://en.wikipedia.org/wiki/Partition

Note that non-programming questions about database partitioning are likely to be better received on Database Administrators and disk partitioning on Server Fault.

1547 questions
0
votes
1 answer

Do I need a stored procedure

I have three tables - T1,T2 & T3. For each row in T1 I need to fetch the all the data from that table and a few other columns from a third table T3 and insert into T2 //Which is partitioned version of T1 Do I need stored procedure for this?
Some Java Guy
  • 4,992
  • 19
  • 71
  • 108
0
votes
2 answers

Partitioning a table refenceing other

I have a target table T1 which doesn't have a Date field. The current size is increasing rapidly. Hence I need to add a Date field and also perform table partitioning on this target table. T1 has PRIMARY KEY (DOCID, LABID) and has CONSTRAINT…
Some Java Guy
  • 4,992
  • 19
  • 71
  • 108
0
votes
0 answers

How to Read Sectors of a Partition in Python?

I'm trying to read data directly from a specific partition on Windows 7 in Python. So far I've tried: open(r'\\.\PartitionLetter:', 'rb') Without administrative rights, this returns a "Permission denied" error. With administrative rights, this…
uzumaki
  • 1,743
  • 17
  • 32
0
votes
2 answers

How to read from multiple EventHub partitions simultaneously with high throughput?

My one role instance needs to read data from 20-40 EventHub partitions at the same time (context: this is our internal virtual partitioning scheme - 20-40 partitions represent scale out unit). In my prototype I use below code. By I get throughput 8…
ZakiMa
  • 5,637
  • 1
  • 24
  • 48
0
votes
1 answer

WebLogic 12cR2 Partition Administrator can't connect to server

Since FMW 12.2.1.0.0, Weblogic start support partition administrator to manage their own partition was created in same domain. I had followed online guideline: https://blogs.oracle.com/WebLogicServer/entry/create_weblogic_server_domain_with to…
cidy.long
  • 417
  • 12
  • 35
0
votes
2 answers

Why is the Filesystem not recognised?

I 'm trying to print the disk status of my current linux partition.Using the following C code: #include #include #include struct statfs S; int main(int argc,char *argv[]){ int i =…
Midhun
  • 744
  • 2
  • 15
  • 31
0
votes
1 answer

For a set with N members, what is the number of set partition in which each subset is either size of 1 or 2?

I have a set with N members {1,2,.. N}. I like to know number of set partition in which each subset is either size of 1 or 2, i.e., cardinality of each subset in the partition is maximum 2. For example with N=3.. we have the set partitions of…
Sabyasachi G
  • 113
  • 1
0
votes
1 answer

Add a common legend to a partitioned plot

I would like to make a partitioned plot in R with a common legend. Here's an example data: set.seed(1) replicates <- 4 df <- data.frame(y = rep(rnorm(100),replicates), x = rep(rnorm(100),replicates), replicate =…
user1701545
  • 5,706
  • 14
  • 49
  • 80
0
votes
0 answers

Accuracy of root/CIMV2/Security/MicrosoftVolumeEncryption VS. manage-bde.exe?

I am trying to determine the accuracy of reporting from 2 seemingly difference sources (using powershell on Windows devices): Method1 manage-bde.exe -computername $hostname -status Returns something like 100% encrypted and partition size Method…
Charles
  • 305
  • 1
  • 3
  • 15
0
votes
1 answer

How to implement a nMergeSort?

I must implement the nMerge, so I need to merge the arrays divided into N sub-arrays. This is the nMergeSort: void nMergeSort(int arr[],int n, int low, int high){ int *L,i,a; if(low < high){ L=SPLIT(k,low,high); …
0
votes
1 answer

Need partition size for Android BoardConfig.mk(without /proc/mtd)

I'm building cm for my new device, and handling BoardConfig.mk. The guide that I've found says I can get the PARTITION_SIZE by doing cat /proc/mtd. However I've found that I don't have mtd, only have mounts, partitions or something. This is part…
QPIST
  • 15
  • 1
  • 6
0
votes
2 answers

Summarizing month columns to fiscal year with SQL Server

I want to summarize a table that is mostly made up of a sequence of months. Each month's column has a header in the format of MMMYY. I need to dynamically summarize this table by fiscal year. Our fiscal year starts in November, so the input to…
user1185790
  • 623
  • 8
  • 24
0
votes
1 answer

Any tool that can confirm if a drive with raw partition is part of a ZFS pool?

I have a client issue that I am working on with a stack of SSD drives and a machine that they were previously installed in. As of now, the stack of drives shows up in a few Operating Systems (Win10, Win7, Mac OSX) as an unpartitioned raw space. I…
0
votes
1 answer

How could I make partitions of a newly created topic distributed evenly on all brokers?

I set up a Kafka (0.8.1.1) cluster with 5 brokers. And then I created a topic with 16 partitions 2 replica factors on the Kafka cluster. I found that the 16 * 2 partitions distributed on only 3 brokers (11 on broker1, 10 on broker2 and 10 on…
JuliaLi
  • 327
  • 1
  • 5
  • 16
0
votes
2 answers

Update a column in the most recent record within a partition/group

Greetings and Happy holidays! I am a newbie in SQL and I am trying to solve a problem. I googled but could not find the solution. If this is in a wrong forum, I request you to move it to appropriate forum. Thanks in advance for any insights you may…
skpanda
  • 3
  • 2