INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Is there a limit to the number of music files?  (Read 1079 times)

sygnus21

  • Junior Woodchuck
  • **
  • Posts: 76
Is there a limit to the number of music files?
« on: May 13, 2022, 02:53:09 pm »

Title says all, but to doublecheck is there a limit to the number of music files?

Thanks
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Is there a limit to the number of music files?
« Reply #1 on: May 13, 2022, 03:04:45 pm »

Several million at least.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618
Re: Is there a limit to the number of music files?
« Reply #2 on: May 13, 2022, 03:24:45 pm »

2,147,483,647 at most.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Is there a limit to the number of music files?
« Reply #3 on: May 13, 2022, 03:31:01 pm »

2,147,483,647 at most.
I'm pretty sure it goes beyond that.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618
Re: Is there a limit to the number of music files?
« Reply #4 on: May 13, 2022, 03:47:49 pm »

I'm pretty sure it goes beyond that.

Isn't the file ID a 32bit signed int?
Logged

sygnus21

  • Junior Woodchuck
  • **
  • Posts: 76
Re: Is there a limit to the number of music files?
« Reply #5 on: May 13, 2022, 05:37:23 pm »

Several million at least.

Thanks. That answers the question and eases the worry as I don't have anything near even a million. Sitting at 32,000+ files at the moment :)
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: Is there a limit to the number of music files?
« Reply #6 on: May 14, 2022, 01:01:00 am »

Isn't the file ID a 32bit signed int?

Its unsigned, so twice that, but 4 billion tracks (or even just 2 billion) is probably a relatively safe limit for now.
Logged
~ nevcairiel
~ Author of LAV Filters

w_axlrose1

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Is there a limit to the number of music files?
« Reply #7 on: May 14, 2022, 03:14:50 am »

Its unsigned, so twice that, but 4 billion tracks (or even just 2 billion) is probably a relatively safe limit for now.

4 billion! That's an impressive number indeed.

...and just because I'm bored a quick bit of maths makes me wonder if there are even 4 billion tracks in existence since the invention of the phonograph 135 years ago.

I make that an average of around 87,400 tracks would need to have been recorded every single day in order to reach that number.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618
Re: Is there a limit to the number of music files?
« Reply #8 on: May 14, 2022, 04:27:21 am »

4 billion is a database/programming limit, but MC would likely be extremely slow with that many tracks. I think the largest real DB I remember seeing in this forum was about 20 million and it was reportedly fine to use, which is also impressive.

I make that an average of around 87,400 tracks would need to have been recorded every single day in order to reach that number.

I would bet we're long past that. Youtube alone is clocking 300 hours of new video uploaded every *minute*, that's 72000 2.6 million 10-minute clips per day! Granted, it's video not audio, but that only makes it more impressive in my book. The thing is there are billions of people on the planet and half of them now have the means to mass produce and distribute media.

If we're talking *quality* tracks on the other hand...

Edit to fix my math. Stats source: https://residencelord.com/youtube-statistics/
Logged

w_axlrose1

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Is there a limit to the number of music files?
« Reply #9 on: May 14, 2022, 04:40:50 am »

If we're talking *quality* tracks on the other hand...

That was my initial assumption. ;)

Nevertheless, those YouTube statistics you mention are staggering indeed.
Logged

comox

  • Galactic Citizen
  • ****
  • Posts: 428
Re: Is there a limit to the number of music files?
« Reply #10 on: May 14, 2022, 10:08:27 am »

Equally impressive is that after 20 years of daily use I have never experienced a database error or loss. 
Logged
Pages: [1]   Go Up