Quantcast
Browsing all 3587 articles
Browse latest View live

Re: question on dbcc message

Well, in the first table, there are 390 pages, 84% have data that can be cleaned up (think pointers to indexes and data). The second table only has about 7% with data to be cleaned up, which isn't low,...

View Article


Re: question on dbcc message

From your post, did not see any error with dbcc checkdb. So you do not need to fix any dbcc error.For the fragmentation, you may run reorg rebuild to the 2 tables. -- step 1 reorg rebuild with proper...

View Article


Re: how to re-enabled the threshold sp?

To change the procedure for the LCT try using sp_modifythreshold. While you cannot drop the LCT you can try to reset it (eg, in case it was corrupted/garbled at some point) via: select...

View Article

Re: how move a table data out of data cache?

Just bind the table back to the default data cache. -bret

View Article

Re: how to rebuild all indexes in on command?

One possible danger is that the script will not have finished running by the end of your maintenance window.  REORG REBUILD will hold an exclusive table lock until it completes.

View Article


Re: how to re-enabled the threshold sp?

just to supplement Mark's post:To get the LCT you can use as already mentioned lct_admin:  select lct_admin('lastchance', db_id) The db_id you get for example from sp_helpdb.If lct_admin(“lastchance”,...

View Article

Re: how to rebuild all indexes in on command?

Hello Jens, they are using ASE 12.5.x and don't have any SAP Application in use. With kind regardsStefan

View Article

Re: how to rebuild all indexes in on command?

Hello, I'm still wondering why you want to rebuild all indexes. Why did you decide to do so ? Do you have frequently problems with the index access ? Did you changed something the sort order or similar...

View Article


Re: how to rebuild all indexes in on command?

We reorg or rebuild our indexes ever weekend but not on all tables - just those which slow a bit of fragmentation. Reorging reduces the fragmentation of volatile tables, reduces space usage (which if...

View Article


Re: how to rebuild all indexes in on command?

Hello Mike, yes in this case this makes sense, in this care reorg rebuild is the best approach to do so. Depends what version of ASE you use, you can adjust the reorg with different parameters. Also...

View Article

Re: how to rebuild all indexes in on command?

datachange() is ok but not really good enough to rely on its own. I agree MDA tables help as well.But generally best to go for overkill and reorg/index rebuild as much as possible - if you've got a 24...

View Article

False condition in WHERE clause

Hi Recently I have faced with a strange problem. Developers of one of my customers came with a query like this: SELECT *FROM packages WHERE packages.item_number = 427909 OR 427909 = 0go "packages" is a...

View Article

Re: False condition in WHERE clause

Looks very odd... What's the index idx_packages_item ? It seems to think a scan of this index is expensive Data Page LIO for 'idx_packages_item' on table 'packages' = 41797Is item_number unique ?I've...

View Article


Re: False condition in WHERE clause

Hi Mike I have just succeeded to reproduce the problem on another customer site on ASE 15.7 SP60. See the output of "sp_options show" attached. You mentioned that you receive different results in your...

View Article

Re: False condition in WHERE clause

What's the definition of the table ? And the number of rows.Have you tried updating all the stats on the table (don't assume update statistics will work - I've had tables which required update all...

View Article


Re: False condition in WHERE clause

See full reproduction of the problem attached, you can try the same on your environment. You can use a regular table instead the temporary one, the result will be the same. Statistics on the table are...

View Article

Re: False condition in WHERE clause

Very interesting - I agree the optimiser is .... less than optimal. I haven't seen this but then those of us from the Sybase 10, 11 & 12 days generally avoid ORs ;-) Hopefully SAP/Sybase will pick...

View Article


Re: how move a table data out of data cache?

So smart solution. Thanks, Bret.

View Article

Events Cluster Edition

Hi  I have an ASE Cluster Edition 15.7 SP121 and in rare circumstances all the processes in the database been became in status sleeping. There is not  errors in the Sybase ErrorLog. The Event ID for...

View Article

Re: db error caused by dbcc memusage

dbcc memusage can cause problems on multi engine servers how many engines do you have configured?check: exec sp_configure "number of engines" and which ASE version are you running?

View Article
Browsing all 3587 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>