Re: Cross-platform conversion (12.5.3 --> 16.0)
It seems You are getting the errors due to some corruption on the source db at 12.5.3 server. Can you please run the below checks on source database : dbcc traceon(3604) go dbcc checkcatalog(db_name)...
View Article"configure size for data cache (tempdb_cache1) is not sufficient to handle...
Running a stored proc simultaneously a large number of times (> 150) I get the message "The configure size for data cache (tempdb_cache1) is not sufficient to handle the sort buffers (4005)...
View ArticleRe: "configure size for data cache (tempdb_cache1) is not sufficient to...
The 'sort buffers' are actually from whichever cache your user tempdb is bound to, although I think there was something about the cache the table was bound to as well.....(there was a change in one of...
View ArticleRe: "configure size for data cache (tempdb_cache1) is not sufficient to...
The sort buffers from proc cache are the buffers used to actually process the sort operation. The worktable itself to hold the results will be stored in the assigned tempdb's cache, this uses buffers...
View ArticleRe: "configure size for data cache (tempdb_cache1) is not sufficient to...
Thanks Simon and Jeff for clarifying about the sort buffers and procedure cache. The code is working on about 9000 rows each - (x 150 procs) so am rather surprised that I need more than 25Gb cache. Is...
View ArticleRe: "configure size for data cache (tempdb_cache1) is not sufficient to...
The 1500s errors I think always refer back to the regular sort manager and reports error in not enough tempdb buffers or proc cache buffers for the sort, the latter just used during the processing for...
View Articleupdate Index Stats using Sampling
Hi Team Good afternoon We currently have a JOB that runs UIS using sampling = 30 and is failing on a table that has 293412179 rows and one CI Error - the tempdb is full for the DB maintenance a.c...
View ArticleRe: update Index Stats using Sampling
For me I don't think it will make a huge amount of difference to plan choice unless you don't have in place non-sampled densities. When you update statistics with sampling the pages and values it reads...
View ArticleFunction-based index not work.
Hi, function-based index not work on ASE15.7 sp132, its normal on sp100. Here's the sample:create table aaa ( a1 int , a2 int , a3 char(1000))go declare @cnt intselect @cnt = 1while @cnt < 1001...
View ArticleRe: Cross-platform conversion (12.5.3 --> 16.0)
Thanks Gaurav! dbcc checkcatalog showed up some orphaned records in syscolumns and sysindexes. I removed these manually, recreated the dump and was able to load it in to the 16.0 server. Regards,Paul
View ArticleRe: Function-based index not work.
I think this is likely due to the parameterization of the literals within the substring clause, I'm not sure the behaviour has changed. Maybe you have statement cache/literal_autoparam enabled on...
View ArticleRe: update Index Stats using Sampling
Siddharth May be you can take a different approach Some of the places I worked, I have seen tempdb configured with log and data mixed just like master database. So you have full tempdb available for...
View ArticleRe: update Index Stats using Sampling
If you are on 15.7sp130+, use update statistics with hashing instead of update statistics with sampling. My opinion is that it is more accurate than sampling and definitely would eliminate the issue...
View ArticleRe: update Index Stats using Sampling
Definitely agree that you should move to hash-based stats but I would very strongly recommend to not do this in production without going through some significant testing in UAT. It is much more stable...
View ArticleRe: update Index Stats using Sampling
Thank you Jeff, appreciated We are still on SP122 but we plan to go to SP135 in next 3 months What I wanted to understand is the query plan behavior with diff Sampling %. Adding Space is a break fix,...
View ArticleRe: update Index Stats using Sampling
Hi Simon We recently started using the UIS with sampling, before that we were simply doing US not even UIS on this DB Have requested the app team to see if the can provide any details on the Queries...
View ArticleRe: update Index Stats using Sampling
You definitely should think of moving off sp122 quicker.....not a lot of changes in sp135 from where you are currently. WRT sampling and stats think of it this way. <start simplified...
View ArticleRe: Prevent ASE from overriding trans logs ..
Hi Tobias, You can try with a code similar to this one inside procedure: Declare @dia varchar(255) Declare @mes varchar(255) Declare @ano varchar(255) Declare @hora varchar(255) Declare @minuto...
View ArticleRe: Function-based index not work.
Hi Simon, All query become normal after i exec:sp_configure "enable literal autoparam",0sp_recompile aaa Thanks Simon:) Regards,Chris
View Article