more devices or bigger volumes?
Hi @all, Ok, my question is about the number of database devices. Let's assume there are two LUNs ( 50GB => data and 5GB => log, EMC Symmetrix ) and I'm working with Veritas Volume Manager 6: I...
View ArticleRe: how to restore database?
if you can provide ASE errorlog for diagnosis, that is more easy for us to know real problem on why your user database was marked suspect !!Thanks !!- Robert
View ArticleRe: isql command prompt taking long
Hi Humayun, One issue is the version 15.x wasn't certified on AIX 5.1:http://certification.sybase.com/ucr/platformResult.do?pageOnly=yes&pageIndex=1&platformId=7&productId=1038 Did you...
View ArticleRe: how to restore database?
Unfortunately, I lost the case. but will try reproduce it again for testing. Thanks.
View ArticleRe: more devices or bigger volumes?
Heinz,The question of more smaller devices versus fewer (or one) bigger devices really depends on too many factors to definitively answer here. There are so many layers possible to address when...
View Articlehow to reuse on device space with overwrite data on it?
Suppose I have a database mydb with some named segments created. the segment extended many times for space issue. One device allocated for different segment. Then finally this device space is over, If...
View ArticleRe: how to reuse on device space with overwrite data on it?
Removing a segment from a device has no effect on the data on the device. Extents that are allocated to objects on the segment remain allocated to those objects. The segment only affects which...
View ArticleRe: how to reuse on device space with overwrite data on it?
Thanks, Bret. I will check your doc carefully. I ask this question is because of following I don't understand: 1. in mydb, there is a default segment system. it across 2 devices: the info from...
View ArticleRe: How to improve performance to insert large amount of data to a table?
Dropping the index would reduce the amount of i/o that had to be done and so improve performance, but I don't think it would help much. I don't think the insert itself is what is slowing things down....
View ArticleRe: How to improve performance to insert large amount of data to a table?
Some possible reasons for slow insert performance: - having to update indexes for each insert (dropping indexes may improve overall performance, assuming you don't have any 'read' processes running at...
View ArticleRe: How to improve performance to insert large amount of data to a table?
Maybe use "set delayed_commit on"? I've used it a couple times, and it does seem to help. There are a few things to note about this, described here:...
View Articlehow to retrieve tree data with one sql query with sybase ase 12.5?
suppose I have a tree data stored in mytab with id, parentid,then I want to get all parents for each id in one query. For example, a binary tree like(node 1 parent is null): 1 11...
View ArticleRe: how to retrieve tree data with one sql query with sybase ase 12.5?
Hi Kent, There is a (quite old) discussion on handling heirarchical or bill-of-materials (BOM) type queries in the International Sybase Users Group FAQ collection. See Sybase FAQ §6.2:...
View Articlerow_number() not available for ase 12.5?
Try to find out a function similar as row_number() for select result sets, but can't. How to display the row number with select output for ase 12.5?
View ArticleRe: how to retrieve tree data with one sql query with sybase ase 12.5?
thanks Bret, I will try recursive trigger to see if it is better than cursor.
View ArticleRe: row_number() not available for ase 12.5?
Sybase doesn't have a row_number() function. You could try dumping all of your rows into a #temp table that has an identity column, then use the identity column as your row number.
View ArticleRe: row_number() not available for ase 12.5?
A little more concretely: There is a special 'identity(n)' operator that you can use with select into for this purpose. Note that while it looks like a function, it can't be used as one in a straight...
View ArticleRe: best size of procedure cache size?
Hi Database size: 268288.0 MB Procedure Cache size is ..1> sp_configure 'procedure cache size'2> go Parameter Name Default Memory Used Config Value Run Value Unit...
View ArticleRe: How to improve performance to insert large amount of data to a table?
I guess issue is inserting one row at a time. Can't you write the cursor into a set based select statement. if not, then try to commit every say 1000 or 10000 rows or 100K rows instead of every row....
View Article