1.3.1 Architecture overview
An understanding of the Informix database server architecture is beneficial for
application development.
Client/server architecture
IBM Informix servers are based on a multi-threaded client/server architecture.
Regardless of the edition that you use, the server can support a large number of
client connections while users are accessing data. A quick overview provides
insights into what aspects influence development and what aspects might need
DBA attention.
The IBM Informix Server edition environments consist of several parts that are
usually not directly visible to the developer. These parts include shared memory,
disk storage, and virtual processors (VPs). The virtual processors are divided
into VP classes to manage specific tasks, such as SQL query processing (CPU),
physical and logical log processes (PIO and LIO), network connection processes
(NET), engine administration (ADM), miscellaneous (MSC), and disk I/O (AIO
and KAIO) processes. On UNIX and Apple Macintosh systems, VPs are visible
as virtual processes. On Windows environments, the VPs are seen as
threads.The program execution process is visible as oninit. Virtual processes
communicate by way of shared memory structures known as mutexes (mutually
exclusive). Because shared memory is also used to move database data in
buffers, it helps to know that some memory buffers are reserved for engine
processing and some buffers allocated (and managed dynamically) for data
processing.
Network protocols and other connection types
Users can connect to IBM Informix Server using a network connection, shared
memory, pipes, DRDA, or multiplexed connections. Shared memory and pipe
connections are only available on the same system as the server instance.
Network connections are the most popular, because they can connect different
systems and will use either a TCP/IP or a socket connection, depending on the
operating system. Regardless of the method that you choose, it is important to
minimize the overhead costs associated with opening and closing connections.
Keep sessions open only as long as it is prudent, and re-use connections when
possible.
Authentication and user connections
By default, authentication is determined for users connecting to a database by
the existence of a user name in the operating system environment. Other
authentication methods include lightweight directory access protocol (LDAP), or
single sign-on (SSO) through Kerberos
1.3.1 ภาพรวมสถาปัตยกรรมความเข้าใจเกี่ยวกับสถาปัตยกรรมของเซิร์ฟเวอร์ฐานข้อมูล Informix เป็นประโยชน์สำหรับการพัฒนาโปรแกรมประยุกต์สถาปัตยกรรมไคลเอนต์/เซิร์ฟเวอร์เซิร์ฟเวอร์ IBM Informix อยู่บนสถาปัตยกรรมไคลเอนต์/เซิร์ฟเวอร์หลายเธรดว่ารุ่นที่คุณใช้ เซิร์ฟเวอร์สามารถสนับสนุนเป็นจำนวนมากการเชื่อมต่อไคลเอนต์ในขณะที่ผู้ใช้เข้าถึงข้อมูล คร่าว ๆ ให้เจาะลึกด้านใดมีอิทธิพลต่อการพัฒนาและสิ่งที่ด้านอาจต้องรวมความสนใจสภาพแวดล้อมรุ่น IBM Informix เซิร์ฟเวอร์ที่ประกอบด้วยหลายส่วนที่มักจะไม่ตรงเห็นนักพัฒนา ชิ้นส่วนเหล่านี้ประกอบด้วยหน่วยความจำใช้ร่วมกันดิสก์จัดเก็บข้อมูล และตัวประมวลผลเสมือน (VPs) มีแบ่งตัวประมวลผลเสมือนเป็น VP เรียนการจัดการงานเฉพาะ เช่น SQL แบบสอบถามประมวลผล (CPU),กระบวนการเชื่อมต่อเครือข่ายของกระบวนการทางกายภาพ และทางตรรกะล็อก (PIO และลิโอ),(NET), โปรแกรมดูแล (ADM), เบ็ดเตล็ด (หลัก), และดิสก์ I/O (AIOและ KAIO) กระบวนการ ในระบบ UNIX และ Apple Macintosh, VPs จะมองเห็นได้เป็นเสมือนกระบวนการ ในสภาพแวดล้อม Windows, VPs ถูกมองว่าเป็นเธรดการดำเนินการของโปรแกรมจะปรากฏเป็น oninit กระบวนการเสมือนสื่อสารโดยใช้โครงสร้างหน่วยความจำที่ใช้ร่วมกันที่เรียกว่า mutexes (ซึ่งกันและกันพิเศษ) เนื่องจากยังมีใช้หน่วยความจำที่ใช้ร่วมกันเพื่อย้ายฐานข้อมูลบัฟเฟอร์ มันช่วยให้ทราบว่า มีจองบัฟเฟอร์หน่วยความจำบางอย่างสำหรับเครื่องยนต์ประมวลผลและข้อมูลบางอย่างจัดสรร (และมีจัดการแบบไดนามิก) สำหรับข้อมูลการประมวลผลโพรโทคอลและชนิดการเชื่อมต่ออื่น ๆผู้ใช้สามารถเชื่อมต่อกับเซิร์ฟเวอร์ Informix IBM ที่ใช้การเชื่อมต่อเครือข่าย ที่ใช้ร่วมกันหน่วยความจำ ท่อ DRDA หรือ multiplexed เชื่อมต่อ หน่วยความจำที่ใช้ร่วมกันและท่อเชื่อมต่อได้เฉพาะการใช้ระบบเดียวกันเป็นอินสแตนซ์ของเซิร์ฟเวอร์เชื่อมต่อเครือข่ายเป็นนิยมมากที่สุด เนื่องจากพวกเขาสามารถเชื่อมต่อแตกต่างกันระบบจะใช้แบบ TCP/IP หรือการเชื่อมต่อซ็อกเก็ต ขึ้นอยู่กับการระบบปฏิบัติการ โดยวิธีการที่คุณเลือก มันเป็นสิ่งสำคัญลดต้นทุนค่าโสหุ้ยที่เกี่ยวข้องกับการเปิด และปิดการเชื่อมต่อเก็บรอบเวลาเปิดเท่านั้นตราบเท่าที่ไม่ระมัดระวัง และใช้การเชื่อมต่ออีกครั้งเมื่อเป็นไปได้เชื่อมต่อผู้ใช้และรับรองความถูกต้องโดยค่าเริ่มต้น กำหนดรับรองความถูกต้องสำหรับผู้ใช้ที่เชื่อมต่อกับฐานข้อมูลโดยการดำรงอยู่ของชื่อผู้ใช้ในสภาพแวดล้อมระบบปฏิบัติการ อื่น ๆวิธีการรับรองความถูกต้องรวมถึงโพรโทคอลการเข้าถึงไดเรกทอรีที่มีน้ำหนักเบา (LDAP), หรือเดี่ยวเครื่องหมายบน (SSO) ผ่าน Kerberos
การแปล กรุณารอสักครู่..

1.3.1 Architecture overview
An understanding of the Informix database server architecture is beneficial for
application development.
Client/server architecture
IBM Informix servers are based on a multi-threaded client/server architecture.
Regardless of the edition that you use, the server can support a large number of
client connections while users are accessing data. A quick overview provides
insights into what aspects influence development and what aspects might need
DBA attention.
The IBM Informix Server edition environments consist of several parts that are
usually not directly visible to the developer. These parts include shared memory,
disk storage, and virtual processors (VPs). The virtual processors are divided
into VP classes to manage specific tasks, such as SQL query processing (CPU),
physical and logical log processes (PIO and LIO), network connection processes
(NET), engine administration (ADM), miscellaneous (MSC), and disk I/O (AIO
and KAIO) processes. On UNIX and Apple Macintosh systems, VPs are visible
as virtual processes. On Windows environments, the VPs are seen as
threads.The program execution process is visible as oninit. Virtual processes
communicate by way of shared memory structures known as mutexes (mutually
exclusive). Because shared memory is also used to move database data in
buffers, it helps to know that some memory buffers are reserved for engine
processing and some buffers allocated (and managed dynamically) for data
processing.
Network protocols and other connection types
Users can connect to IBM Informix Server using a network connection, shared
memory, pipes, DRDA, or multiplexed connections. Shared memory and pipe
connections are only available on the same system as the server instance.
Network connections are the most popular, because they can connect different
systems and will use either a TCP/IP or a socket connection, depending on the
operating system. Regardless of the method that you choose, it is important to
minimize the overhead costs associated with opening and closing connections.
Keep sessions open only as long as it is prudent, and re-use connections when
possible.
Authentication and user connections
By default, authentication is determined for users connecting to a database by
the existence of a user name in the operating system environment. Other
authentication methods include lightweight directory access protocol (LDAP), or
single sign-on (SSO) through Kerberos
การแปล กรุณารอสักครู่..

สถาปัตยกรรม : ภาพรวม
ความเข้าใจของ Informix ฐานข้อมูลเซิร์ฟเวอร์ที่เป็นประโยชน์สำหรับการพัฒนาโปรแกรมประยุกต์ไคลเอ็นต์ / เซิร์ฟเวอร์ .
IBM Informix เซิร์ฟเวอร์สถาปัตยกรรมตามแบบมัลติเธรดไคลเอนต์ / เซิร์ฟเวอร์
ไม่ว่ารุ่นที่คุณใช้ เซิร์ฟเวอร์ที่สามารถรองรับจำนวนขนาดใหญ่ของ
ลูกค้าเชื่อมต่อในขณะที่ผู้ใช้ในการเข้าถึงข้อมูล ภาพรวมอย่างรวดเร็วให้
ข้อมูลเชิงลึกในด้านอะไรมีอิทธิพลต่อการพัฒนาและสิ่งที่ด้านอาจต้องการ
IBM Informix DBA ความสนใจ เซิร์ฟเวอร์รุ่นสภาพแวดล้อมที่ประกอบด้วยหลายส่วนที่เป็น
มักไม่ได้มองเห็นได้โดยตรงเพื่อนักพัฒนา ส่วนนี้รวมถึงหน่วยความจำที่ใช้ร่วมกันจัดเก็บและประมวลผล
, ดิสก์เสมือน ( VPS ) โปรเซสเซอร์เสมือนจะแบ่งชั้นเรียนเป็น VP
การจัดการงานที่เฉพาะเจาะจงเช่นการประมวลผลแบบสอบถาม SQL ( CPU ) ,
กระบวนการเข้าสู่ระบบทางกายภาพและตรรกะ ( ปิ๋วหลิวและ ) , กระบวนการการเชื่อมต่อเครือข่าย
( สุทธิ ) , การบริหารเครื่องมือ ( ADM ) เบ็ดเตล็ด ( MSC ) และ Disk I / O ( AIO
กับไคโอ ) กระบวนการ บน Unix และแอปเปิ้ลแมคอินทอชระบบ VPS จะมองเห็น
เป็นกระบวนการเสมือน ในสภาพแวดล้อม Windows VPS ถือเป็นกระบวนการทํางานของโปรแกรม threads.the
มองเห็นเป็น oninit .กระบวนการเสมือน
สื่อสารโดยวิธีการที่เรียกว่า mutexes โครงสร้างหน่วยความจำที่ใช้ร่วมกัน ( ร่วมกัน
พิเศษ ) เพราะหน่วยความจำที่ใช้ร่วมกัน นอกจากนี้ยังใช้ในการย้ายข้อมูลในฐานข้อมูล
บัฟเฟอร์ จะช่วยให้ทราบว่าบางบัฟเฟอร์หน่วยความจำที่สงวนไว้สำหรับการประมวลผลและการจัดสรรบัฟเฟอร์เครื่องยนต์
( และการจัดการแบบไดนามิก ) สำหรับการประมวลผลข้อมูล
.
โปรโตคอลเครือข่ายและอื่น ๆประเภทการเชื่อมต่อ
ผู้ใช้สามารถเชื่อมต่อกับเซิร์ฟเวอร์ IBM Informix ที่ใช้เชื่อมต่อเครือข่ายที่แบ่งปัน
หน่วยความจำ , ท่อ , drda หรือมัลติเพลกซ์ความสัมพันธ์ หน่วยความจำที่ใช้ร่วมกันและการเชื่อมต่อท่อ
มีอยู่เฉพาะในระบบเดียวกับตัวอย่างเซิร์ฟเวอร์
การเชื่อมต่อเครือข่ายได้รับความนิยมมาก เพราะสามารถเชื่อมต่อระบบที่แตกต่างกัน
และจะใช้ TCP / IP หรือการเชื่อมต่อซ็อกเก็ตขึ้นอยู่กับ
ระบบปฏิบัติการไม่ว่าวิธีการที่คุณเลือก , มันเป็นสิ่งสำคัญที่จะ
ลดต้นทุนค่าใช้จ่ายที่เกี่ยวข้องกับการเปิดและปิดการเชื่อมต่อ
เก็บเซสชั่นเปิดเท่านั้น ตราบเท่าที่มันเป็นคนสุขุมรอบคอบ และใช้การเชื่อมต่อเมื่อ
รับรองความถูกต้องที่สุด และผู้ใช้การเชื่อมต่อ
โดยค่าเริ่มต้นการตรวจสอบจะถูกกำหนดสำหรับผู้ใช้เชื่อมต่อกับฐานข้อมูลโดย
การมีอยู่ของชื่อผู้ใช้ในสภาพแวดล้อมของระบบปฏิบัติการ วิธีการตรวจสอบอื่น
รวม Lifetime ( LDAP ) หรือ
เครื่องหมายเดียวบน ( สปส. ) ผ่านการรับรอง
การแปล กรุณารอสักครู่..
