About temporary table

neramit
Member Posts: 46
All Expert
I want to know about Temporary table
if have more data to insert to temporary table
how about affect client machine ?
thank you :-k
I want to know about Temporary table
if have more data to insert to temporary table
how about affect client machine ?
thank you :-k
0
Comments
-
Hi,
With temporary table, you work on client system.
So if you insert many records in this table, you consummate much memory on client and insert will be speedless.0 -
To test performance loop through the items andinsert them into a temporary item record. Mostly there is very little performace hit, and the amount of memory depends on number of records inserted.0
-
There is a very interesting post on mbsonline.org regarding the internal memory allocation behavior of temporary tables --
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=11163
That topic isn't displaying correctly (at least for me this morning), so I'll repeat here the more interesting parts:Navision 3.10/3.60/3.70 will allocate up to 300K for each temp table - the allocation will begin when the first INSERT occurs and continue up to that limit as inserts/modifications are made - the remainder of the storage occupied by the temp table is written to disk in a temp file so you will see no significant memory usage for a temp table. None of this space is freed until the table handle is out of scope so deleting records in a temp table does not reduce this memory nor the size of the temp file.
In Attain 3.01 this threshold was 30K, from Navision 4.0 it is 500k.
The up-side is that you can have almost as many records as you want (<2.6billion) in your temp table without worrying about memory issues inc. swapping - and without a performance problem since they are b-trees.0 -
But the file on disk cannot go beyond 2GB see also Failure in Step 2 of upgrade to 4.00Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions