Professional Documents
Culture Documents
3 October 7, 2004
ACCOLADES FOR ASE EXPRESS
4 October 7, 2004
MARK KUSMA
PRINCIPAL TECH SUPPORT ENGINEER
SYBASE
AGENDA
6 October 7, 2004
SYBASE ASE EDITIONS
EXPRESS DEVELOPER SMALL ENTERPRISE
BUSINESS
No. of CPUs 1 1 4 No limit
Max. Memory 2GB No limit No limit No limit
Size
Max. Database 5GB No limit No limit No limit
Size
Max. number of No limit 25 256 No limit
concurrent
connections
System Available Available Available Available
Management
Suite
Options & Not Available Included Available Available
Option except DR, XRAY, Except DR, HA & DTM
EFTS
Packages
ASE Express Edition can be installed/deployed on machines of any size (multi-processor
machines), ASE will only take advantage of one of those processors, 2GB memory and 5GB disk
space
7 . October 7, 2004
ADAPTIVE SERVER SYSTEM MODEL
Application code
Open Client
SQL
Network interface SQL compiler
Request Shared memory
Data Cache
Response RPC SQL
executive
Procedure
Optimizer Cache
Buffer Manager
Indexes Transaction
Data tables Log
Stored
Procedures
8 October 7, 2004
ADAPTIVE SERVER DATABASES
9 October 7, 2004
CLIENTS
10 October 7, 2004
DATABASE UTILITIES
11 October 7, 2004
SERVER COMPONENTS
12 October 7, 2004
ASE 12.5 DIRECTORY STRUCTURE
bin
init
ASE-
INSTALLATION 12_5 errorlog
install
DIRECTORY RUN_SYBASE
scripts
$SYBASE
charsets
13 October 7, 2004
ENVIRONMENT VARIABLES
14 October 7, 2004
AGENDA
15 October 7, 2004
SYSTEM REQUIREMENTS
16 October 7, 2004
INSTALLATION REQUIREMENTS
17 October 7, 2004
PRE-INSTALLATION TASKS
18 October 7, 2004
INSTALLING LINUX EXPRESS EDITION
19 October 7, 2004
CREATING SERVERS
Creating servers
Take defaults or can Custom Configure
Adaptive Server: default name is hostname, port 5000
Backup Server: default is <ase_name>_BS, port 5001
Monitor Server: default is <ase_name>_MS, port 5002
XP Server: default is <ASE_NAME>_XP, port 5003. The XP
Server must be named using this convention.
Custom Configuration allows you to change names, port
numbers, page size, error log name, and initial devices
and sizes
Not all changes are applicable to each server
This process can be run stand-alone using the srvbuild
utility
20 October 7, 2004
STARTING SERVERS
21 October 7, 2004
POST-INSTALLATION TASKS
22 October 7, 2004
POST-INSTALLATION TASKS
23 October 7, 2004
AGENDA
24 October 7, 2004
ESTABLISHING CONNECTIVITY
25 October 7, 2004
THE interfaces FILE
26 October 7, 2004
USING LDAP FOR CONNECTIVITY
27 October 7, 2004
AGENDA
28 October 7, 2004
CONNECTING VIA SYBASE CENTRAL
29 October 7, 2004
SYBASE CENTRAL
30 October 7, 2004
SYBASE CENTRAL
31 October 7, 2004
THE CONFIGURATION FILE
32 October 7, 2004
ASE MEMORY COMPONENTS
Cache
Data Cache
33 October 7, 2004
max memory
34 October 7, 2004
total logical memory
35 October 7, 2004
NON-CACHE MEMORY
ASE executable
Non configurable
Kernel structures
Used by the server during runtime to store internal
information
Non configurable
Server Structures
Used to store information about user connections,
databases in use, available locks, and so on
Configurable
Memory Object pools
Blocks of memory from which smaller memory segments are
allocated dynamically
Non configurable, though size related to max memory
36 October 7, 2004
PLANNING MEMORY CONFIGURATION
1.Maximum memory
Determine the total memory available for the ASE server
Configure ‘max memory’ to that amount
2.Server structures
Determine how you will set the configuration parameters that use
large amounts of memory
Configure these parameters as appropriate
3.Procedure and data cache
Determine the appropriate size for each cache
Configure ‘procedure cache size’
Configure data cache using sp_cacheconfig
37 October 7, 2004
DEVICES
38 October 7, 2004
TYPES OF DEVICES
Installation devices
The master device
This device initially stores the master, model, tempdb, and
sybsystemdb system databases
All of these databases except for master can be moved or
expanded off the master device
The sysprocsdev device, which stores the sybsystemprocs
database
SA-defined database devices
These devices store user databases
These devices can store system databases except for master
Dump devices
These devices are used for database and transaction log dumps,
such as tape devices
39 October 7, 2004
INITIALIZING DEVICES
40 October 7, 2004
PREREQUISITES TO CREATING A DB
41 October 7, 2004
CREATING DATABASES
43 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
44 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
45 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
46 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
47 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
48 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
49 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
50 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
51 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
52 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
53 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
54 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
55 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
56 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
57 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
58 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
59 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
60 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
61 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
62 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
63 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
64 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
65 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
66 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
67 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
68 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
69 October 7, 2004
TEMPORARY DATABASES
tempdb database
Used for temporary tables and work tables (sorts, joins, etc)
Contention on the system catalog tables
Can run out of space, affects everyone on the ASE server
ASE 12.5.0.3 added Multiple Tempdbs
Splits up the load to reduce contention
One full tempdb doesn’t affect all server users
Can setup a specific tempdb for ‘sa’ use
Helpful to diagnose problems when other tempdbs fill
70 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
71 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
72 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
73 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
74 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
75 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
76 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
77 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
78 October 7, 2004
SYBASE CENTRAL WALKTHROUGH
79 October 7, 2004
INSTALL pubs2 DATABASE
80 October 7, 2004
NEXT STEPS
81 October 7, 2004
MICHAEL PEPPLER
PRINCIPAL CONSULTANT
83 October 7, 2004
FEDORA CORE 1 and 2
84 October 7, 2004
GENTOO
85 October 7, 2004
GENTOO CONFIGURATION
86 October 7, 2004
QUESTIONS AND ANSWERS