So let's say I have one table that has 50-100 million entries. Just a text value and a numerical value, no primary key or index.
I'm inserting the results of a query into a new table, a GROUP by thing with a COUNT to aggregate and count up all the rows that have the same text value.
Is there some less resource heavy way to do this or should I just let it chug away? I'll probably never have to run this again unless I decide to use more data. Been a half hour so far, no idea how long this will be going for.
I'm inserting the results of a query into a new table, a GROUP by thing with a COUNT to aggregate and count up all the rows that have the same text value.
Is there some less resource heavy way to do this or should I just let it chug away? I'll probably never have to run this again unless I decide to use more data. Been a half hour so far, no idea how long this will be going for.