I would like to gather some opinions on the idea of separating the attachment table into a differant filegroup on SQL server. This is a database with a lot of attachments (document interactions) being processed daily.
With a lot of attachments being imported, it makes sence to me to separate the table into a differant file for both performance (so you can move the file to a differant drive array) and backup reasons but it seems so "non" standard that I am a little sceptical.
I can drop and recreate the table on the new filegroup outside of Navision but I know of no way to do this inside of Navision. All seems to work.
Any opinions or discussion is welcome.
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I'm wondering how others are handling this isssue. Do you use the standard setup as provived when creating a new db from within navision client, or do you use more than 1 secondary datafile?
Thanks for your input.
Thomas
If you create a Navision backup, the backup will contain the NAV tabledefinition and the data. This aditional information I think will be lost at restore so it is best to use SQL backup.
1) So does this mean that the suggested practice does apply for example for RAID 5, but not for RAID 10, because it applies for non stripping systems only?
2) How to implement above? When I create a new DB with Navi client, all secondary files go to the secondary file group of navision. So I cannot choose to which filegroup a file belongs. :?
3) If 1) applies to non stripping only, whats the strategy for stripped disk subsystems?
Thanks in advance
Thomas
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
RAID 5 can be a viable and cost-effective solution for some database systems. BUT NEVER in transaction processing systems It can be useful in systems that do not experience high write activity like archive databases used for offline reporting or standby systems.
Sorry for complicating this issue.
Actually I didn't want to use RAID5, but it seemed to me that the information
"SQL Database Files (does not apply with stripped RAID strategies)" implicitely included RAID5. And it did not include RAID 10, or does it? :? Sorry for the confusion.
Anyway, I'm interested in a kind of best practice. Any comments to my questions 2) and 3)?
Thanks for clarification and info.
Thomas
I think you set up filegroups in SQL Server, not in NAV. Make sure though that when you assign a table fo a filegroup, that it keeps the filegroup when you save the table in NAV.
RIS Plus, LLC
Thanks for your reply.
Sorry, I was not clear enough, my english is not too good..
As far as I understand, in thaughs answer there was a recommandation concerning file groups, but this recommandation does not apply for striped systems.
1) So I wonder what is the recommandation for a striped system like RAID10?
2) For non-striped systems, are the tables manually (in enterprise mgr) moved to the different filegroups?
Thanks
Thomas
1. For performance, for larger database with high transaction volume you could put large heavily used tables such as Value Entry, Item Ledger Entry, and G/L Entry in their own file group(s) on one or three ndf files and put them on their own set of physical drives. Putting multiple filegroups on the same set of logical and physical drives will provide no performance improvement.
2. Multi-company, if you have many companies in a single database you could put each companies tables on their own filegroup that way you could back up and restore each company individually.
That is my 2 cents.
RIS Plus, LLC
RIS Plus, LLC
This can also create issues when working through the Navision client. The Table Designer will create new tables in the default filegroup. In the example given above (DenSter), you would then have to relocate each company's tables to its own filegroup.