macos: my disk cannot be partitioned: the free space in the disk utility is much smaller than the real free space

I want to partition my disk because I want to try to install Linux-Ubuntu. For this I am following this tutorial.

In Disk utility I clicked on the main volume> partition> partition but the following message appears:

This container has 915.81 GB used space.
Its minimum size is 1 TB.
This container cannot be split because the resulting containers would be too small.

And I can't click on the + button to partition the disk

Then I tried the following:

  • Then I tried to make some space and deleted about 300+ GB of data and now I have 439 GB (when I go to the Apple button (top left)> About this Mac> Storage). However, in Disk utility the amount of free memory did not change and it is still only around 85 GB and it is still not possible to partition the disk.

  • I deleted 2/3 automatic backups of the time machine with

tmutil listlocalsnapshots /
tmutil deletelocalsnapshots ...
  • disabled automatic backups of the time machine with
sudo tmutil disable localsnapshot

That I have to do?

partitioning – Postgresql – how to list the indexes in a table that is partitioned?

This command works for unpartitioned tables:

select * from pg_indexes

But for partitioned tables, it does not list the original index, but the indexes that postgresql created for each partition.

To drop an index, I need the original name.

How do I list all indexes in a table that is partitioned (with the name with which it was created)?

sql server 2016 – Split blocking of partitioned columns in SELECT

I have three clustered column store index (CCI) tables in SQL Server 2016. All of these CCIs are in the same partition scheme, based on tenant identification. Lately, and inconsistently, I am reaching dead spots in simple declarations of selecting unions to these tables. Example of interlocking query:

SELECT  TOP 33 r.tenantid
FROM    Table_r r
        INNER JOIN Table_cm cm ON r.MyKey=cm.MyKey 
        INNER JOIN Table_pe pe ON r.MyKey=pe.MyKey 
WHERE   r.TenantId = 69
        AND pe.TenantId = 69
        AND cm.TenantId = 69

Error message:

The transaction (process ID 56) was blocked in generic resources of expected objects with another process and has been chosen as a blocking victim. Rerun the transaction.


  • If the query uses another index in addition to the JRC, it has no neutral.
  • If I remove two of the three tenantid filters, it is not blocked.
  • If I SELECT the top 32 or lower, it is not blocked.
  • If I add OPTION (MAXDOP 1) it is not blocked.
  • I can reproduce this in my encoded PROD replica, PROD READ-ONLY Secondary and PROD itself.
  • I cannot reproach this behavior in DEV or INT.
  • It is still interrupted if I add WITH (NOLOCK) to the 3 table combinations

SQL Server 2017: is the column store index really important for the success of partitioned data sets.

I just read most of an article about partitions that I created written by Kendra a few years ago. She felt that the indexes and the partition of the column store would be very well associated together. It seemed to imply that the association of psds with the indexing of the column store would be very important. I do not know if she changed her mind since then.

But I missed the meaning. Can someone explain why? I think I understand the advantages and disadvantages of each one individually and so far we have not been so impressed by the indexes of the column store, especially when predicate conditions are added based on columns of the 3rd, 4th, etc.

Are you saying that between compression and elimination of partitions, adding a column store index (grouped or non-grouped) would be like changing your gasoline to premium in the right conditions (correct volume, etc.)?

macos – Bootcamp Error: the boot disk can not be partitioned or restored in a single partition (not a duplicate)

I am running Mojave, trying to install the latest version of Windows 10.

I had this error, so I followed the instructions here:

Bootcamp problem: the boot disk can not be partitioned or restored in a single partition

Then I started Bootcamp, and while Bootcamp was running, an update restarted my iMac, and now the same error appears, but it seems that there is only 1 partition.

$ diskutil list
/ dev / disk0 (internal):
0: GUID_partition_scheme 121.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 121.0 GB disk0s2

/ dev / disk1 (internal, physical):
0: GUID_partition_scheme * 2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 2.0 TB disk1s2

/ dev / disk2 (synthesized):
0: APFS container schema - +2.1 TB disk2
Physical stores disk0s2, disk1s2
1: APFS Volume Macintosh HD 1.1 TB disk2s1
2: APFS Volume Preboot 43.2 MB disk2s2
3: Recovery of APFS volume 509.8 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4

So now I'm stuck and I can not install Windows.

I would really appreciate some help, since I have spent 20 hours with this Windows partition (I tried the previous version, it was damaged, after hours of trying to solve it, I tried to reinstall it with the Microsoft Tool, it failed and now when I try to reinstall it with Bootcamp, somehow failed again).

Thank you.

bootcamp – Bug fix "Bootable disk can not be partitioned or restored in a single partition" in a new installation of Mac OS

I have been working on this problem for more than 10 hours. First, I installed Mojave using the Mojave patch on an older MacBook. Delete my disk completely before installing Mojave. Here is the output from the diskutil list:

                / dev / disk0 (internal, physical):
0: GUID_partition_scheme * 1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Local Disk 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

/ dev / disk1 (internal, virtual):
0: Apple_HFS Local Disk +999.0 GB disk1
Logical volume in disk0s2

and sudo gpt -r show disk0:

                            Start size index content
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 piece GPT - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 1951845952 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
1952255592 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1953525128 7
1953525135 32 sec. GPT Table
1953525167 header of 1 sec. GPT

Why do I keep getting this error when I run the boot camp wizard? I have already followed a guide that included the removal of any hidden Microsoft file in the EFI EFI partition. But I do not think I've really done anything because, as I said, I completely erased this disk before installing Mojave. I'm completely lost here, and I'm desperate for help.

EDIT: I know this question has been asked before, but as far as I can tell, no one has had this exact problem. In the publications that I see related to this problem, you can clearly see the Microsoft partitions in the diskutil list. I do not have visible Microsoft partitions. I made a clean installation. So I do not understand why I keep getting the error.

partition – Postgresql updates a partitioned table, where the update affects several partitions

If I have a partitioned partitioned table in the PKey column, can I update (or merge, etc.) the table like the one shown below (or more complex jonining to another table) that will cause multiple partitions to be modified?
If yes, does it depend on which version of postgresql?

Partitioned tables

PKey SomeOtherValue
1 10
1 11
2 10
2 11
3 11

UPDATE Partitioned tables
SET SomeOtherValue = SomeOtherValue + 1

Ubuntu 19 can not see my Windows 10 partitioned drive See C: but mot partition D:

Ubuntu 19 is installed, but can not see partition D:. When I use Fdisk -l ve / dev / sdb5, when I try to mount it, a warning message appears stating that no unit exists.

SQL server: create a primary key grouped in a partitioned table

I have a table that has recently been partitioned based on a date and time column. The same table had a primary key (grouped) in the ID column. During partition of the table, the primary key is deleted. Again after the partition, when I tried to create the primary key (grouped) again, it was created without any errors. But to my surprise when I checked the table, the partition was removed. Therefore, when researching more about this, I discovered that when we create a new index grouped in a partitioned table, the partition disappears.

Can someone help me create a primary key grouped in the partitioned table, since the non-clustered primary key is degrading performance?

bootcamp: the boot disk can not be partitioned or restored in a single partition. Windows 10 and Mojave iMac Fusion Drive

The boot disk can not be partitioned or restored in a single partition.

The startup disk must be formatted as a single extended Mac OS volume (registered) or already partitioned by Boot Camp Assistant to install Windows.

I had installed Windows 10 through bootcamp on my mac. The current version is 10.14.2

I received a strange blue screen error and repaired the windows. After the repair, the wizard and Boot Camp tools were not installed, so it is only a copy of Windows without Boot Camp assistance. I would like to erase that volume and try again, but the boot camp wizard will not erase the unit.

This is the output of the diskutil list.

enter the description of the image here

And here is the output of diskutil cs list.

enter the description of the image here

Please, can anyone help me? I would follow the advice given on this site regarding this problem, but my fusion unit problem is a bit different.