cancel
Showing results for 
Search instead for 
Did you mean: 

files in SQL Anywhere

Former Member
3,398

i have a database sql anywhere 7 but the file .db have 1.8 gb, i know the limit is 2gb, this is true? also i know exist 12 files but, how do it ?

Accepted Solutions (1)

Accepted Solutions (1)

MCMartin
Participant

No the limit of 2 GB vanished with NTFS file system, even FAT32 will allow more. The 2GB limit holds only if the file system is still FAT.

Today I would expect that you are using NTFS under windows, so no 2 GB barrier anymore!

check SQLA limits

Former Member
0 Kudos

applies to anywhere 7? because the database is slower day by day, then I have no problem if you pass the 2gb, and it is advisable to upgrade to a current version?

MCMartin
Participant
0 Kudos

When I remeber correctly the limits mentioned above already applied to Version 7, anyway by upgrading to a current version you will gain a lot of good stuff.

VolkerBarth
Contributor
0 Kudos

Strange thing: I added a comment and was about to edit it - and now it's gone... Please help, dear administrator...

VolkerBarth
Contributor
0 Kudos

I don't know for v7, but v8 surely states these limits as mentioned. For FAT32, the maximum file size is 4 GB.

Besides that, in case the recommended upgrading to a newer version is out of reach for some reason, you might also try to improve the database layout by the following means:

  1. Unloading/reloading the database (e.g. with the help of dbunload - that might even decrease the file size)
  2. Defragmenting the file/disk (e.g. by using SysInternals's Contig tools)
  3. Recreating indizes (though that is rarely needed with SQL Anywhere IMHO).

There's also a REORGANIZE TABLE statement to improve the storage of tables one by one, but I guess it's suuported for v8 and above...

Breck_Carter
Participant
0 Kudos

I swear I did not delete it 🙂

VolkerBarth
Contributor
0 Kudos

Yes, I blame it solely on the undocumented "Monday morning auto delete function"...

MarkCulp
Participant
0 Kudos

I see from the admin log that Volker made a comment about three hours ago and someone deleted it also about three hours ago... but I cannot tell who?

VolkerBarth
Contributor
0 Kudos

Well, I was about to edit the comment immediately after creating it. But possibly I just clicked on the wrong button (though "edit" and "delete" are not direct neighbours) - and it would need a remarkable lack of coffee when I would have accidentally confirmed the delete question, too... Correction: No, it wouldn't need that lack as there is no confirmation dialog...

Some things just have to stay mysterious:)No, I guess then it's simply that I chose the wrong button - unless other evidence comes up...

graeme_perrow
Advisor
Advisor
0 Kudos

There is no confirmation dialog for editing, but there should be one for deleting. It is still on my list to change the confirmation dialog to indicate what you are trying to do, i.e. "Are you sure you want to delete this comment?" rather than "Are you sure?"

VolkerBarth
Contributor
0 Kudos

Well, when deleting a comment, there's no confirmation dialog at all - the delete works immediately. Cf. this image taken from a comment I have just recently deleted:


Re files in SQL Anywhere

VolkerBarth
Contributor
0 Kudos

Hm, I should've changed the image background colour - now I'm waiting for someone trying to click the "buttons" in the image above:)

MarkCulp
Participant
0 Kudos

Yes, your previous comment is quite confusing... it took me a few seconds to figure out what had been done... I initially thought that there was a bug in the forum that was being exposed!

VolkerBarth
Contributor
0 Kudos

Well, I'd like to change the background colour (I even did in the local image file) - but unfortunately, now it's too late to edit my comment.

Sigh.

Answers (1)

Answers (1)

Breck_Carter
Participant

From the SQL Anywhere 7 Help...

ASA Reference 
  CHAPTER 13. Physical Limitations     
    Size and number limitations

File size (FAT 12)
16 MB

File size (FAT 16)
2 GB

File size (FAT 32)
4 GB

File size (NTFS, HP-UX 11.0 and later, Solaris 2.6 and later)
256 GB (for 1K pages)
512 GB (for 2K pages)
1 TB (for 4K pages)

File size (all other platforms and file systems)
2 GB