How to lay out B-Tree data on disk?

https://web.archive.org/web/20161221112438/http://www.toadworld.com/platforms/oracle/w/wiki/11001.oracle-b-tree-index-from-the-concept-to-internals Notes: Databases do not directly implement indexes based on B-tree but on a variant called B+ tree. Which according to wikipedia: A B+ tree can be viewed as a B-tree in which each node contains only keys (not key-value pairs), and to which an additional level is added at the bottom with linked leaves. … Read more

Visual Studio 100% disk usage

(Comment for others landing here as @Marta explains that the problem no longer persists on their machine.) In general, any performance issue in Visual Studio should be reported to Microsoft. It’s easy to do this directly from VS using the Report a Problem tool. That feature will automatically attach logs/traces which are shared privately with … Read more

How to find the amount of free storage (disk space) left on Android? [duplicate]

Example: Getting human readable size like 1 Gb String memory = bytesToHuman(totalMemory()) /************************************************************************************************* Returns size in bytes. If you need calculate external memory, change this: StatFs statFs = new StatFs(Environment.getRootDirectory().getAbsolutePath()); to this: StatFs statFs = new StatFs(Environment.getExternalStorageDirectory().getAbsolutePath()); **************************************************************************************************/ public long totalMemory() { StatFs statFs = new StatFs(Environment.getRootDirectory().getAbsolutePath()); long total = (statFs.getBlockCount() * statFs.getBlockSize()); return total; … Read more

How do I retrieve disk information in C#?

For most information, you can use the DriveInfo class. using System; using System.IO; class Info { public static void Main() { DriveInfo[] drives = DriveInfo.GetDrives(); foreach (DriveInfo drive in drives) { //There are more attributes you can use. //Check the MSDN link for a complete example. Console.WriteLine(drive.Name); if (drive.IsReady) Console.WriteLine(drive.TotalSize); } } }

How much faster is the memory usually than the disk?

I’m surprised: Figure 3 in the middle of this article, The Pathologies of Big Data, says that memory is only about 6 times faster when you’re doing sequential access (350 Mvalues/sec for memory compared with 58 Mvalues/sec for disk); but it’s about 100,000 times faster when you’re doing random access.