Sybase Database System Initialization
First, the line initialization program. Log on as Sybase User: CD Install→sybinit
Hint Menu: Sybinit
1. Release directory:/u/sybase free catalog
2. Edit/view interfaces file Edit View interface files
3. config a server product configuration servers products
4. config a Open client/server product configuration client/ser
How to solve sybase ASE log Overflow
1. Prepare the database environment
-- Create a device disk init name = 'dat1', physname = '/opt/sybase/data/dat1', size = '1m' disk init name = 'log1 ', physname = '/opt/sybase/data/log1', size = '1m' -- the device is too small, extended disk resize name = 'dat1 ', size = '1m '-- create database test on dat1 = '2m' log on log
Sybase Replication Server Application Plan VI
Replication servers support the replication of data between Sybase and non-Sybase databases, such as the Sybase replication agent, to obtain update transactions on the DB2 database on the IBM host and replicate to ASE's replication server for decision support systems. This
This function library is almost exactly the same as the SQL Server database function library, which is actually the first occurrence of this function before the SQL Server database function library appears.
Sybase and MS SQL Server 6.x are almost identical to the user's point of view. Of course, the difference after M
Use commands to operate sybase databases
This article consists of four parts: Starting and disabling databases by using commands, creating databases, backing up databases, and exporting database structures.(1) Start and close the database Sup2; UNIX platform:Log On As a Sybase installation account or as a root user, and run the following command to enter the Sybase
transactions to read committed data changes, exclusive locks held to transaction commits or rolled back, but shared locks are released immediately after loading data to memory.2 a repeatable read transaction repeats the same query, any rows read by the transaction are not updated or deleted, the exclusive and shared locks are held to the end of the transaction, and the query result set cannot be deleted and modified, but can be inserted.3 Serializable read transactions can repeat the same query
This paper mainly describes the design and implementation of Sybase database bulk operation (BCP), as well as the key points in the process of development, and provides a technical basis for the following developers.
In the project development process, need to develop a database batch operation dynamic link library (DLL), The previous implementation is mainly in the program directly call Bcp.exe, this way by the application creation subprocess, not c
Tags: yum python3.x linux system. exe table password Local add colorPYTHON3.X:PYODBC+FREETDS+UNIXODBC Connecting a Sybase database (Linux system), installing UNIXODBC, and dependent packagesYum-y install gcc gcc-c++ unixodbc unixodbc-devel python-develSecond, installation FreeTDSTar XF freetds-stable.tgzcd freetds-0.91/. /configure--prefix=/usr/local/freetds--with-unixodbc=/usr/--with-tdsver=5.0Iii. configuring FreeTDS and using TSQL to test the conn
We know that sybase SQL Server uses Transaction to track changes in all databases. A transaction is the unit of work of SQL Server. One transaction contains one or more T-SQL statements that are executed as a whole. Each database has its own Transaction Log (Transaction Log), that is, the system table Syslogs ). The tr
Tags: linux sybase pyodbc FreeTDS unixodbc RhelOperating system is RHEL6.2
Installing UNIXODBC and dependent packagesYum-y install gcc gcc-c++ unixodbc unixodbc-devel python-devel
Installing FreeTDSTar XF freetds-stable.tgzCD freetds-0.91/./configure--prefix=/usr/local/freetds--with-unixodbc=/usr/--with-tdsver=5.0MakeMake install
Configure FREETDS and use TSQL to test the connectionVim/usr/local/freetds/etc/freetds.confAdd the following conten
to ' backup path and filename '
2) Stop Sybase Service
Shutdown
3 Edit the Sybase service startup file (typically the "Run_ service name" file under UNIX, which is typically a batch file under Windows "Run_ Service name. bat"). At the end of the command line of the startup file, add-t3607)
4 after starting the service with the boot file, then dump Tran Master with TRUNCATE_ONLY
5 at this time the dump
Phenomenon: Recent field feedback a problem, the system at the time of approval, often stuck, the whole system is completely useless, browser access is in the state of loading. Investigation:1. General system hangs the first thought of memory problems, but the phenomenon is loading, that is, there is no hanging, thread is executing, suspect that the thread is blocked, configuration on the JVISUALVM monitoring, the problem after the memory is not full OK is not a memory problem, View Thread dump
The following operations are performed by Sybase users:
Create a script file, such as/Sybase/script/dump. Sh.The category is as follows:$ Cat dump. Sh/Sybase/OCS-12_5/bin/iSQL-USA-P ********-s ******-I/Sybase/script/dump. SQL-O/sybse/script/dump. logMV/caiwubackup/backup/cwb
Sybase IQ has always been known for its export-import performance, and it is not easy to use it well. Recently I have studied this, summarized as follows, for reference only.1. PrefaceSybase IQ is a powerful ad hoc query server. Use Sybase IQ to isolate Decision support systems (Dss,decision supports System,reader) and online transaction processing systems (Oltp,online Transaction processing,writer).
The company's database has been Sybase, it is also very good, the latest customer scene appeared a problem, the data can not be transmitted, look at the log is very simple, a bit to locate the reason. It is simple, with more than 2000 parameters, because this function queries the child table based on the primary key of the primary table, using the Where primary table ID in (?,?,?,?......) Way, the parameter question mark is up to 2000, but it is stran
In September 2011, Sybase will release the next version of ASE, V15.7. Current ASE Latest version is V15.5, version number V15.6 will be skipped, cause and from V15.0 jump directly to V15.5 or V12.5 to V15.0 is similar. Sometimes this has to be done.
A number of new features are added to the upcoming Sybase ASE V15.7. This blog will focus on one of the more practical features: the merge command.
The first r
The deadlock has an important effect on the performance and throughput of the system, and it is found that the deadlock of MIS is mainly because two or more threads (login) preempt the same table data resource. Causing a long time to preempt the same resource is not because the transaction we need to deal with is too complex and too long, often because we forget to commit when the front-end application operates on the database. This article describes a method for dealing with this deadlock.
Chinese garbled characters occur when Sybase is used. The Chinese Character Set cp936 is loaded.
(The installation path of Sybase is c: \ Sybase)
1. c: \> CD \ Sybase \ charsets \ cp936
2. c: \ Sybase \ charsets \ cp936> charset-USA-psa_pass-sserver_name binary. srt cp9
Tags: rank RMS new name partition table reference query cursorConsiderations for Sybase IQ during use1, the letter case is not sensitive, that is, the value is the same as the size of the letter in the judgment; 2, equivalent, or 3,group by can be summarized according to the alias of the Select field or expression, and as far as possible to avoid the alias of the SELECT statement and the field in the From table is duplicated, otherwise there will be
Install Sybase ASE15.70 in redhat6.4, and redhat6.4ase15.70Preface
A new project uses Sybase ASE15.70, a database that has never been used. You can install it first.
Installation preparation
Operating System
To reduce the trouble, try to prepare the environment as required. First install a rhel-server-6.4-x86_64 version of linux, install type selection base server. After installation.
Set local yum Source
D
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.