Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

POS2009 File Center Data Limit?

(0) ShareShare
ReportReport
Posted on by 191

Microsoft Dynamics POS2009 uses the File Center for adding images, receipt formats etc.  The image files are stored INSIDE the database rather than pointing to a file path outside the database.

Scenerio: I couple of months ago, a POS2009 database was created in SQL 2008 R2 Express SP1 upgraded from SQL 2008 Express in order to increase the database size limitation from 4GB to 8GB.  I can verify that the database compatibility level is 100 and using the SQL 2008 R2 SP1 default instance: MSPOSINSTANCE_10.50.  The database size is currently 4172.31MB. The log size is 50MB

The customer is stating they are still getting the error message that they are out of storage/memory on the register and can only continue to use the software once old images are deleted.  I can not confirm the error in the Event Manager.  The customer insists the database must still be contstrained by the previous 4GB data limit in SQL 2008 Express.

A script run against the database lists the sizes of the individual tables.  The top two largest tables are as follows:
MasterPOSDB_Tombstone = 106970.971679 KB
Item = 38326.964840 KB

The POS Register is running Windows 7 Professional 64Bit, 1.05TB Hard Disk with 307GB Free Space, and 8GB of RAM.
POS2009 v.3.0 FP1, Binaries version: 3.00.1046.0.

I wonder if the problem is related to the SERVER's (MSPOSINSTANCE) Filestream properties?  Filestream is disabled on the SERVER by default.  I have researched SQL Filestream and understand there is a 2GB data limit, but since this is disabled, I am not convinced it's the problem.

Is there a limit to the table where the images are stored in the POS2009 database?  Since the customer is using SQL 2008 R2 Express, there is no way to verify the maximum data size of a database without attaching a DB File greater than 10GB to verify how SQL Server responds.

 

*This post is locked for comments

  • Re: POS2009 File Center Data Limit?

    L4454.sys_5F00_db.gif"139" width="294" src="/api/data/v9.1/msdyn_richtextfiles(55F9086D-4D99-4CF2-BF3D-DFA7F5D58C7A)/msdyn_imageblob/$value?size=full" border="0" />

    select name, type_desc, max_size, growth from sys.database_files - Should look like:

    This shows the default settings which are unlimited growth for each of the files, log and data, and auto grow of 128 mb and 10 percent.

    Couple of questions:
    Did you rebuild indexes?  If not, do a rebuild so that will physically order your data (defrag).

    Did you update stats?  Don't up date stats before you rebuild as your indexes.  You can use: Exec sp_updatestats

    I'll check back for progress.

    -cjb

  • WLiberty Profile Picture
    WLiberty 191 on at
    Re: POS2009 File Center Data Limit?

    Christopher,

    Thank you for the suggestion.  The results are as follows:

    name db_size     owner dbid created status compatibility_level

    Image40022   4222.31 MB City-PC\City 9 Sep 27 2012 Status=ONLINE, Updateability=READ_WRITE, UserAccess=MULTI_USER, Recovery=SIMPLE, Version=661, Collation=SQL_Latin1_General_CP1_CI_AS, SQLSortOrder=52, IsAutoShrink, IsTornPageDetectionEnabled, IsAutoCreateStatistics, IsAutoUpdateStatistics 100

    I don't see a max set for datafile in the results?

  • Suggested answer
    Re: POS2009 File Center Data Limit?

    Run this and see if the datafile is set to a max value:

    sp_helpdb

    go

    select name, type_desc, max_size, growth from sys.database_files

    Go

    exec sp_spaceused

    go

    New to the product but the sample base that was installed doesn't have the filestream enabled by default so I am assuming yours is a default install.

    that will get you the info on the files and db.

    Hope that helps.

    -cjb

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans