Better HN
topnewbestaskshowjobs
Log inSign up

didgetmaster

2,060 karma · joined Feb 24, 2022 (4y ago) · 981 submissions

www.Didgets.com myDidgets@gmail.com Didgets.substack.com Didgetsdemos@youtube.com
Submissions

comment 4y ago · link · parent

I wrote a new, general-purpose data management system that was originally designed to compete with file systems for storing large amounts of unstructured data (my background is in disk utilities like PartitionMagic and Drive Image). It can be used to convert 100M+ files (photos, documents, videos, etc.) into data objects and attach searchable, contextual meta-data tags to them.

The tags I invented were essentially highly-optimized key-value stores that worked really well. I then discovered that these same KV stores could also be used to form relational tables (a columnar store). It could be used to store both highly structured data or the more semi-structured data found in things like Json documents where every value could be an array. Queries were lightning fast and it could perform analytic operations while still performing transactions at a high speed.

My hobby turned into a massive project as I figured out how to import/export CSV, Json, Json lines, XML, etc. files to/from tables easily and quickly. It still has a lot of work to go before it is a 'full-blown' database, but it is now a great tool for cleaning and analyzing some pretty big tables (tested to 2500 columns and 200M rows).

It is in open beta at https://didgets.com/download and there are a bunch of short videos that show some of the things it can do on my youtube channel: https://www.youtube.com/channel/UC-L1oTcH0ocMXShifCt4JQQ

comment 4y ago · link · parent

To be honest, I haven't played around with the jsonb feature of pg enough to know which is better. I do know that the queries of data in my system average about 10x faster than regular pg tables for the same data set. Also my tables do not need a separate indexing step in order to achieve maximum speed for any query. Do you have a data set in pg you created using jsonb? If you want to try my system, the beta is available for free download at: https://didgets.com/download

comment 4y ago · link · parent

Storing Json data into a highly structured RDBMS table can be problematic if any document contains arrays or nested documents.

I built a new general-purpose data management system that uses key-value stores that I invented to attach meta-data tags to objects. These key-value stores can also be used to create relational tables.

Because each table is basically a columnar store, I can map multiple values to each row key to create a 3D table. It seems ideal for importing Json data where any item in a document can be an array of values. I am trying to figure out how useful this system might be to the average DBA or NoSql user.

See a quick demo at https://www.youtube.com/watch?v=1b5--ibFhWo

comment 4y ago · link · parent

Mythical creature vs 'Real-World Sighting'?

I try to never underestimate the potential for someone to do something really stupid and I'm sure there are some egregious examples out there where a DB was set up and run such that outrageous charges resulted; but has anyone seen a situation in real life anywhere close to this kind of example?

Even if there was a instance where a poorly designed and implemented data set caused a $40K charge for a single day; I wonder how long it would take for the bean counters to notice and take action?

comment 4y ago · link · parent

Would that be the same planet where you can refresh a query every second that takes 2.4s to complete? How does that work?

comment 4y ago · link · parent

I have a few friends who have helped me with parts of it (mostly with the UI), but I have done about 98% of the work. It has been mostly a hobby project for me.

I wanted to see how fast I could make certain data operations using threading techniques on multi-core CPUs. (I wrote the first line of code on a Core-2 Duo machine.) I came up with some novel ways to structure the data for easy storage and manipulation as well as some really efficient algorithms. I am able to break up single queries to a table and process parts of them in parallel. This results in some really fast response times (a bunch of queries tested on my system vs Postgres v13 are about 10x faster).

comment 4y ago · link · parent

I worked on version 1.0 when I started working for Novell in the late 80 and was assigned to test out the NetWare client software (called the OS/2 Requester). I remember they had to order memory expansion cards (I think it was 5MB) for every computer that used it and it cost about $2K per card.

comment 4y ago · link · parent

Thanks. If you have interest there are some more videos on my youtube channel that show some of its other capabilities. https://www.youtube.com/channel/UC-L1oTcH0ocMXShifCt4JQQ

comment 4y ago · link · parent

It is mainly a resource problem. Didgets is a small startup with limited resources. We are having an open beta to try and draw some interest and gain some traction in the market. I have actually built and tested it on Linux before, but I just don't have the bandwidth to do that with every build for various Linux distros.

comment 4y ago · link · parent

The DidgetBrowser is a Windows application that is easily downloaded from <www.Didgets.com> and used to build relational tables quickly and perform queries in record time. The speed and ease of use makes it good for analyzing large data sets.

The Windows app is currently in Beta. The code is written to be cross-platform but the Linux and MacOS versions are not yet available.

941.

Show HN: Quickly and easily analyze Covid death data (or any other data)(youtube.com ↗)

3 points · by didgetmaster · 4y ago · 7 comments

942.

What is your experience with mixed workload (OLTP and OLAP) databases?

2 points · by didgetmaster · 4y ago · 1 comment

comment 4y ago · link · parent

Yes there is duplication of keys since each column has a copy of each key where a value in that column is mapped to that key.

The column (key-value store) maps both ways. It is really fast to find all the keys that are mapped to a given value (or pattern) as well as find all the values that are mapped to a key.

You could say the key is a primary key since each key is unique, but a table can also have a 'Primary Key' column where a unique value can only be mapped to a single key and every row must have a value in that column.

This system is very efficient for sparse tables. Null values are essentially free since the key-value pair is just missing if a column does not have a value for the row. It takes some processing to determine the key is not mapped anywhere in the column, but it is very fast.

comment 4y ago · link · parent

Didgets is not some abstraction between a file system and applications where it just caches data in RAM. It is designed to replace file systems as an on-disk storage solution.

Yes, you import files into Didgets just like you would copy files from one file system to a new one; but the data is stored on disk in its new format. Just like other file systems do when you mount the volume from disk, Didgets will cache some system structures in memory to speed things up; but our on-disk structures are much smaller so we can read and cache what we need faster and using less memory to do it.

As I pointed out earlier, the system is designed to manage DB tables as well as unstructured file data so it is much more than just a different kind of file system.

It seems obvious from your comments that you have no intention of downloading and actually trying the software so it seems pointless to try and address all your objections. If on the other hand you try it and run into a real problem instead of just a perceived one...then I will be happy to help.

comment 4y ago · link · parent

File systems perform 2 main functions. The first is to allocate blocks and maintain the integrity of the data stream (file contents) of each file. While Didgets has a few algorithms that I think are superior for allocating and tracking extents for file contents; the benefits in this area are just a few percentage points at best (nothing to write home about).

The second is to create and maintain metadata about each file. This includes file names, date and time stamps, access permissions and extra metadata like tags. This is where Didgets excels greatly over conventional systems. We store file metadata completely different than file systems. Their designs are decades old and very inefficient in many cases.

Didgets uses the same key-value stores for attaching metadata tags to each file as we use to create columns in relational database tables. Finding files with certain tags is extremely fast as is just finding files of a certain type (e.g. documents or photos).

comment 4y ago · link · parent

Since our system is still under development and is not yet ready to replace whatever mainstream DB you are using; this is precisely what most of our customers are using it for. It is a great tool for analyzing data quickly. You can export the data once you finish cleaning it, analyzing it, or narrowing it down to a subset.

Again, we are trying to find traction in the market by getting people to try it and find value in the features that we currently have working.

comment 4y ago · link · parent

In every comparison with other DBs, I made sure the other system was as fast as I could make it with proper indexes on every column I was querying against.

comment 4y ago · link · parent

I didn't say that I could read the actual file contents faster than a FS. My system still takes about the same amount of time to read in a 1GB file off disk as the regular file API.

What I did say is that searching for all files that meet specific criteria (e.g. files with a .jpg extension, larger than 2GB, and whose parent folder contains the word 'Microsoft' in it) is much, much faster on my system.

If you go through the hassle of indexing all your files using one of the OS vendors preferred indexing tools, the gap can be narrowed but I think my system is still faster.

comment 4y ago · link · parent

I certainly understand your skepticism. Everyone is busy and can't go chasing after every shiny new object. My system is faster for a number of reasons.

1) I have a unique way of storing the data in a compact format. Each value is de-duped and reference counted to save space and speed lookups.

2) I have a number of algorithms that use hashing, bloom filters, and other techniques in combination that I think are superior.

3) I utilize the multi-core features of modern processors for individual queries. With multi-threading I can run different parts of the same query in parallel. Other DBs like Postgres have made some progress in this area, but I think they have run into trouble trying to port their old architecture to take advantage of this.

So if you have a query such as:

"SELECT col5, col7, col10 FROM <table> WHERE (col5 ILIKE 'A%') AND (col7 < 10000) AND (col10 ILIKE '%Hello%);

the system can find the matching keys for each column in parallel. Like I said, there might be instances where the same query on another system will be faster, but on Didgets a broad range of queries are about 4x - 10x faster in my tests.

It will certainly take more than a few minutes to evaluate every feature, but it should only take a few minutes for someone to figure out that I am not just blowing smoke.

comment 4y ago · link · parent

The Didgets system is a general-purpose data manager that can store unstructured data (file data); highly structured data (relational DB data); and semi-structured data (NoSQL data) all within a single system.

The same key-value stores that are used to form relational tables are also used to attach meta-data tags to file objects. So you can create many relational tables in one of our containers (a pod) along with importing a hundred million files.

Just like a relational query where you want to look at every row in a table where the firstName column value starts with the letter 'A', you can also query the system for every JPEG file where any folder in its path contains 'Microsoft', for example.

The system can return the rows in the table that match more quickly than other DB systems; but it can also show you all the files that match hundreds of times faster than a conventional file system.

I have loaded in DB tables that have hundreds of millions of rows. I have loaded in tables with thousands of columns. I have loaded in over 200 million files. The system can drill down to subsets of these objects faster and easier than any system I have used before.

I have worked with many file systems and databases. I have built tools (e.g. PartitionMagic and Drive Image) that manipulate data. I think I have built something that would appeal to other data enthusiasts like myself, but getting them to try it out for themselves is a real challenge.

comment 4y ago · link · parent

There are many sites on the Internet where you can download data sets in CSV or Json format. Some of these data sets are small and can be easily loaded into a spreadsheet. Others have millions of rows and require SQL skills that many people don't have to load the data into a database and analyze it.

Using Didgets, someone with very limited DB skills can go download a data set from Kaggle for example; drop the file on the Didget Browser database window; and with just a few clicks of the mouse begin analyzing the data.

Since the system can process large data sets so fast, it is easy to drill down to subsets of the data or build pivot tables even when there are many millions of rows in the table. It has some built-in charting for those who like a visual representation to see patterns.

There are videos on the Didgets website that show how to do this.

comment 4y ago · link · parent

Any new data technology that can manipulate relational data will 'sound like' a lot of things. A Tesla sounds a lot like a Honda if you never look under the hood.

All I am asking is for people to approach this technology with an open mind and take a few minutes to watch a couple demo videos or download the software and try it before they dismiss it out of hand because it seems at first glance to be similar to something else.

comment 4y ago · link · parent

While the system is designed to run on any platform, I simply don't have the bandwidth to support every OS for every build at this stage of the startup. We got it running on one Linux distribution for a few builds, but until we get more resources I have to limit its scope for now.

We are looking for innovators and early adopters at this stage (for those familiar with Geoffery Moore's book 'Crossing the Chasm') who are willing to evaluate the technology without concern that every OS, every language, every integration, and every feature isn't working perfectly yet.

I thought HN would be a great place to find such people, but based on several of the comments, there are a lot of late adopters and even laggards hanging out here.

comment 4y ago · link · parent

When I worked at Novell in the early 90s, one of the engineers ran a demo of some "new shiny thing" called an Internet Browser (I think it was the original Mozilla one).

Several of my co-workers made comments about it that reminded me of your post. The management of Novell basically ignored the whole new "Internet thing" until it put them out of business.

I am not saying that my data management system is going to put all those other DB systems out of business, but it is interesting how so many people on these tech forums seem to be against anything but the status quo.

comment 4y ago · link · parent

I don't claim to be able to outperform indexed tables in other databases in "all cases". After doing extensive testing, I have certainly found a few cases where a query in Postgres, MySQL or MS SQL Server will run a little bit faster than on my system. But in the vast majority of cases, they ran substantially faster on Didgets.

I disagree with your claim that "the range of queries you are measuring by is substantially limited". I have run a broad range of queries against hundreds of data sets of all sizes.

You are free to "pass on investigating further", but if you are interested in having an open mind, then feel free to try it (even if to just try and prove me wrong). If you have a good CSV or Json file with a few million records, it only takes about 10 minutes to download the Didgets software; load in your data; and run a handful of queries of your choosing. What do you have to lose (besides a few minutes of your time)?

comment 4y ago · link · parent

Each column is a set of key-value pairs. The values are stored such that searching for specific values or patterns are extremely fast, much like regular indexes do. You can drop a column from the table (or add a new one) without needing to export all the data; modify the schema; and re-import the data to the modified table. A table is just a 'group' of these key-value stores I call table columns.

For example, an address column (type=STRING) may have a value (e.g. '123 Main St.') mapped to key 234 (e.g. the row key). In fact it might have 2 or more values mapped to that same key (assuming the address column is not a primary key column). So unlike regular relational tables, you can have multiple values per column for any row. This is very similar to how NoSQL systems store Json documents where any value can be an array.

A query that wants to find all rows that start with a '1' or contain 'Main' or end in 'St.' will get key 234 (along with any other keys that match). Once the keys are found, it can retrieve the values for any other specified columns that are mapped to those keys and give you the whole row.

In essence, this columnar store DB either has no indexes or is nothing but indexes depending on how you look at it. The point is there is no duplication of data between a regular store and a separate index.

comment 4y ago · link · parent

Perhaps a better way to ask the question is:

If you had to choose between DB system A and DB system B which were functionally equivalent and the only difference between them is that system A required you to create and maintain indexes to get the same level of performance as system B does without needing this step; how important would that feature be to you when making the decision?

For me, I would choose system B over system A every day of the week and twice on Sunday. But if everyone else just says 'Meh' to that characteristic, then I don't want to spend much time promoting it. My system has a bunch of other features that I think are really good too, so if that is the case I would rather just focus on promoting them instead.

comment 4y ago · link · parent

The project is just getting going so there are still some features yet to be implemented before it will compete directly with other DBs feature for feature. (e.g. it only does a couple types of JOIN operations so far).

The key-value stores I created were actually invented to be used as tags for the object store I created to compete with conventional file systems. It wasn't until I discovered how fast the tags worked before I decided to benchmark them against popular DBs like PostgreSQL, Microsoft SQL Server, or MySQL. When I discovered that queries against the same data sets were about 4-10x faster on my system, I turned my focus to the DB features.

As you pointed out, there is still a lot of work to be done on the marketing and sales side if this is going to be a successful startup.

I haven't done much benchmarking on insertion speed. I can insert CSV or Json files at about 100K rows per second, but I have not done a direct comparison against row oriented systems for that.

959.

Is a DB that doesn't need indexes attractive to DBAs?

7 points · by didgetmaster · 4y ago · 48 comments

comment 4y ago · link · parent

I am building a whole new kind of general purpose data management system that does a bunch of file system and database functions. It is currently in open beta (www.didgets.com) and anyone can download and try it out in just a few minutes.

It can't do everything yet that a full-functioned database like PostgreSQL, MS SQL Server, or MySql can do, but it is exceptionally fast and has a bunch of unique features. My benchmarks for hundreds of queries against some pretty big tables (e.g. 100M rows, 100+ columns) show it can be up to 10x faster.

It is a columnar store with a flexible schema so it can easily handle Json data where a single column is an array of multiple values. It creates a 3D table where each column/row intersection can have multiple levels. It is really easy to drill down to do analytics against subsets of a big table (e.g. only customers in California).

It also accomplishes its query speeds without needing separate indexes against any column(s). You get blazing speeds after creating a table and importing its data no matter what column values you query against.

The website (www.Didgets.com) has some short demo videos that display what it can do and how fast it runs.

1
2930313233