Academy and Foundation unixmens | Your skills, Your future
2.28K subscribers
6.65K photos
1.36K videos
1.23K files
5.98K links
@unixmens_support
@yashar_esm
unixmens@gmail.com
یک کانال علمی تکنولوژی
فلسفه متن باز-گنو/لینوکس-امنیت - اقتصاد
دیجیتال
Technology-driven -بیزینس های مبتنی بر تکنولوژی
Enterprise open source
ارایه دهنده راهکارهای ارتقای سازمانی - فردی - تیمی
Download Telegram
ا -Partition Tolerance و Availability: MaxScale معمولاًتحمل پارتیشن‌بندی ودسترسی‌پذیری بالایی را فراهم می‌کند، اما همچنان در مواقع خاص، ممکن است داده‌ها بین گره‌ها ناسازگار باشند (به ویژه در سیستم‌های توزیع‌شده).

2.Spider Storage Engine (MySQL/MariaDB)

ا Spider Storage Engine یک موتور ذخیره‌سازی توزیع‌شده است که برایMySQL وMariaDB استفاده می‌شود و به سیستم‌ها این امکان را می‌دهد که داده‌ها را در چندین سرور یا گره توزیع کنند. این موتور برای دستیابی به مقیاس‌پذیری افقی وتوزیع بار طراحی شده است.

#ویژگی‌ها:

ا -Sharding (پارتیشن‌بندی داده‌ها): داده‌ها در چندین سرور توزیع می‌شوند که باعث افزایش دسترسی‌پذیری (Availability) ومقیاس‌پذیری (Scalability) می‌شود. Sharding همچنین به کاهش فشار بر سرورهای منفرد کمک می‌کند.

ا -Distributed Transactions (تراکنش‌های توزیع‌شده): یکی از مزایای کلیدی Spider این است که از تراکنش‌های توزیع‌شده پشتیبانی می‌کند. این به سیستم کمک می‌کند تایکپارچگی (Consistency) داده‌ها را در چندین گره بهبود بخشد، اما تراکنش‌های توزیع‌شده به دلیل پیچیدگی می‌توانند کند باشند و در صورت قطعی شبکه،دسترسی‌پذیری (Availability) را کاهش دهند.

ا -Replication (تکرار داده‌ها): Spider می‌تواند داده‌ها را بین چندین سرور همگام‌سازی کند که باعث افزایشAvailability می‌شود. این فرایند معمولاً به صورت ناهمزمان انجام می‌شود، به این معنی که ممکن است در یک زمان خاص داده‌ها بین سرورها به‌روز نباشند، که این مسئله بهeventual consistency منجر می‌شود.

#چالش‌ها در رابطه با CAP:

ا -Consistency: در سیستم‌های توزیع‌شده با تراکنش‌های توزیع‌شده، ممکن است عملیات‌های نوشتن کندتر از حد معمول انجام شوند، به ویژه اگر ارتباط بین گره‌ها دچار مشکل شود. به همین دلیل، ممکن است موقتی ناهماهنگی در داده‌ها رخ دهد.

ا -Partition Tolerance: Spider می‌تواند به شکلی مؤثر با خرابی‌های شبکه کنار بیاید و با تکیه بر تحمل پارتیشن‌بندی، همچنان سرویس‌دهی را ادامه دهد. با این حال، در شرایط بحرانی، انتخاب بین دسترسی‌پذیری یا یکپارچگی مطرح می‌شود.

ا-Availability: Spider معمولاً در محیط‌های توزیع‌شده دسترسی بالایی دارد، اما اگر تراکنش‌های توزیع‌شده زیادی وجود داشته باشد یا پارتیشن‌بندی زیادی رخ دهد، ممکن است سیستم نتواند به طور همزمان هر دو ویژگی Consistency و Availability را ارائه دهد.

چالش‌ها و فرصت‌ها:

سیستم‌های توزیع‌شده مانند MaxScale و Spider Storage Engine در تلاش هستند تا تعادلی بین سه ویژگی اصلی CAP theorem برقرار کنند، اما هنوز چالش‌های خاصی وجود دارد که باید در طراحی سیستم‌ها مورد توجه قرار گیرد:

ا1.Latency (تأخیر): در این سیستم‌ها، به دلیل توزیع داده‌ها و تراکنش‌های توزیع‌شده، تأخیر افزایش می‌یابد. این موضوع در مواقعی که نیاز به هماهنگی بین گره‌ها باشد، بیشتر مشهود است.

ا2.Complexity (پیچیدگی): مدیریت سیستم‌های توزیع‌شده، مخصوصاً با وجود شاردینگ و تراکنش‌های توزیع‌شده، پیچیده‌تر می‌شود. این سیستم‌ها نیاز به تنظیمات دقیق دارند تا بهترین کارایی را ارائه دهند.

ا 3.Trade-offs (مصالحه‌ها): همان‌طور که CAP theorem نشان می‌دهد، هیچ سیستمی نمی‌تواند به طور کامل هر سه ویژگی Consistency، Availability و Partition Tolerance را داشته باشد. سیستم‌های مانند MaxScale و Spider از مدل‌هایی استفاده می‌کنند که یکپارچگی نهایی (eventual consistency) را ترجیح می‌دهند، تا دسترسی و تحمل پارتیشن را بهبود بخشند.

نتیجه‌گیری:
سیستم‌هایی مانندMaxScale وSpider Storage Engine با ابزارها و تکنیک‌های پیچیده، تا حدودی محدودیت‌های CAP را به چالش می‌کشند و راهکارهایی برای مدیریت بهتر تعادل بینConsistency،Availability وPartition Tolerance ارائه می‌دهند. اما همچنان، در شرایط بحرانی، باید بین این ویژگی‌ها مصالحه کرد و بسته به نیازهای خاص برنامه و معماری سیستم، یک یا دو مورد از آن‌ها را اولویت داد.




ما آماده پیاده سازی این راهکار ها برای سازمان های شما هستیم . کافی است با ما تماس حاصل فرمایید .
جهت وقت مشاوره با پشتیبانی مکاتبه نمایید .

#db #dba #linux #cap #consistency #Availability #Partition #database


https://t.me/unixmens
👍1
staging.pdf
255.4 KB
مقاله ای که در مورد staging نوشتم . تقدیم دوستان

نویسنده : یاشار اسمعیل دخت

#database #stage #staging #oracle #dba #mariadb #mysql #article

#yashar_esmaildokht


https://t.me/unixmens
👍4
This media is not supported in your browser
VIEW IN TELEGRAM
How Postgres 17 improves IN queries

In prior releases, postgres would loop and do multiple "primitive" index scans as many as your IN elements.

In Postgres 17 it takes an array and eliminates the need for multiple scans.

#dba #postgress #index #db
@unixmens
This media is not supported in your browser
VIEW IN TELEGRAM
Selecting the right database is crucial for building robust workflows tailored to your needs. Databases are the backbone of efficient data storage, retrieval, and management.

Different database types serve unique purposes:

Spatial Databases: Ideal for geospatial data.

Time-Series Databases: Perfect for monitoring and analytics.

Vector, Graph, Document, and Relational Databases: Each offers specialized capabilities for diverse workflows.

For scalability and speed in high-demand environments, consider:

NoSQL Databases

Columnar Databases

In-Memory Databases

Additionally, Object-Oriented Databases provide flexibility for managing complex data structures.

Choose wisely to ensure seamless integration and enhance the precision of your workflows.


#database #devops #dba


https://t.me/unixmens
Academy and Foundation unixmens | Your skills, Your future
Photo
Common Oracle Errors and Fixes

1. ORA-12154: TNS: Could not resolve the connect identifier specified
Cause: Database connection string can't find the service name.
Fix: Check your tnsnames.ora file for typos or missing service names. Even a misplaced parenthesis can cause issues.

2. ORA-00600: Internal error code
Cause: A serious internal error occurred.
Fix: Review the alert.log and trace files for details. Use Oracle’s ORA-00600 Lookup Tool for deeper insights.

3. ORA-01722: Invalid Number
Cause: Attempting to convert a non-numeric string to a number.
Fix: Verify data types in SQL queries, especially with conversions like TO_NUMBER.

4. ORA-03113: End-of-file on communication channel
Cause: Sudden connection drops indicate network or server issues.
Fix: Investigate server crashes, network disconnections, or unexpected process terminations.

5. ORA-01000: Maximum open cursors exceeded
Cause: Too many open cursors without closing them.
Fix: Optimize your code to ensure cursors are closed and adjust the OPEN_CURSORS parameter if necessary.

6. ORA-12560: TNS: Protocol adapter error
Cause: Connectivity issue due to improperly running Oracle services.
Fix: Ensure Oracle services are active and verify your environment variables.

7. ORA-12505: TNS: Listener does not currently know of SID given in connect descriptor
Cause: Configuration mismatch with the listener.
Fix: Use lsnrctl status to check listener configuration and ensure the SID matches in listener.ora.

8. ORA-04031: Unable to allocate memory in the shared pool
Cause: Memory allocation issues in the shared pool.
Fix: Increase the shared pool size or flush it with ALTER SYSTEM FLUSH SHARED_POOL.

9. ORA-01555: Snapshot too old
Cause: Insufficient undo tablespace during undo operations.
Fix: Increase undo tablespace size or optimize queries to reduce excessive undo generation.

10. ORA-00936: Missing expression
Cause: Syntax errors in SQL statements.
Fix: Review SQL syntax for missing or misplaced operators, keywords, or parentheses.




#orace #dba #error

https://t.me/unixmens
👍1
دوستان پرسیده بودن در oracle 19c چه ویژگی های جدیدی داریم و پاسخ من


#oracle #dba

@unixmens
END: این بلوک حاوی دستورات SQL اصلی Stored Procedure است.
* SELECT * FROM Customers WHERE CustomerName LIKE CONCAT('%', name, '%');: این دستور SQL مشتریانی را برمی‌گرداند که نام آن‌ها مشابه پارامتر ورودی name است. CONCAT در MariaDB برای الحاق رشته‌ها استفاده می‌شود. این معادل % + name + % در SQL Server است.
* DELIMITER ;: این خط جداکننده‌ی دستورات را به حالت پیش‌فرض ; برمی‌گرداند.


نحوه‌ی اجرا:

بعد از ایجاد این Stored Procedure، می‌توانید آن را با استفاده از دستور زیر اجرا کنید:

CALL GetCustomersByName('John');


این دستور، Stored Procedure را با پارامتر ورودی 'John' اجرا می‌کند و مشتریانی را که نام آن‌ها شامل "John" است را برمی‌گرداند.


به خاطر داشته باشید که قبل از اجرای این کد، باید مطمئن شوید که جدولی به نام Customers با ستونی به نام CustomerName در پایگاه داده‌ی خود دارید. همچنین، دسترسی‌های لازم برای ایجاد Stored Procedure را داشته باشید.


#dba #tips

@unixmens
Database DevOps engineers manage complex database ecosystems, encompassing technologies like SQL, RAC, Exadata, and OCI. The role requires deep technical expertise, strong problem-solving skills, and the ability to juggle multiple priorities under pressure – a constant need to orchestrate high-performing, reliable database solutions. This involves managing infrastructure, troubleshooting performance issues, and ensuring high availability and scalability. Effective communication and collaboration are essential for coordinating with developers, operations teams, and stakeholders to meet evolving business needs and navigate competing priorities. Responsibilities extend to automation and ensuring the seamless delivery of database solutions. Are you a highly skilled Database DevOps engineer with experience across diverse platforms? If so, we want to hear from you!

#dba

https://t.me/unixmens
ما در داتین در پارک فن آوری پردیس پوزیشن باز برای کارشناس دیتابیس (اوراکل dba) داریم .
تیم ما بیشتر متمرکز هست بر فعالیت های app dba :
schema management
sql tuning
partitioning & indexing
oracle performance tuning
oracle security
database design
plsql programing


در صورتی که توانایی های استفاده از سرویس ها و نرم افزار های زیر را نیز دارید به عنوان پلاس برای ما محسوب میشه و فرصت استفاده از این توانایی ها نیز در تیم ما هست :
oracle goldengate
oracle data guard
oracle rman
postgres dba
python

شرایط کار :
حضور کامل در شرکت در تایم اداری
امکان دورکاری در صورت تایید مدیر
حداقل ۲ سال سابقه کار مرتبط با اوراکل


امکانات داتین (پارک فن آوری پردیس):
صبحانه ،ناهار، شام
برگزاری دوره های آموزشی
آنکالی
سرویس ایاب و ذهاب
اتاق استراحت
اتاق بازی(ps5)

فرصت کار و کسب تجربه در دیتابیس های بزرگ و دیدن چالش هایی جدید فراهم‌ هست .

حداقل نیازمندی برای جذب تو این تیم :
-تسلط به معماری instance اوراکل (pga ,sga)
تسلط به کتاب oracle administration workshop 1
نیاز به تجربه عملیاتی نیست و آموزش های لازم در حین کار داده میشه
-تجربه کاری در محیط عملیاتی و آشنایی به ریسک ها و دغدغه های این محیط
-

لطفا رزومه خودتون به
b.vahidnia@dotin.ir
ارسال کنید
#jobs #oracle #dba #linux

@unixmens
Academy and Foundation unixmens | Your skills, Your future
AVDF20_technical_paper+Nov+2024+V2.pdf
Oracle Audit Vault and Database Firewall (AVDF) is a comprehensive security solution designed to protect sensitive data in Oracle databases and other database environments. It combines auditing, monitoring, and protection capabilities to help organizations secure their databases against unauthorized access and potential threats.

Key Features of Oracle Audit Vault and Database Firewall:

1. Database Auditing:

Comprehensive Auditing: AVDF collects and consolidates audit data from various databases, including Oracle and non-Oracle databases, providing a centralized view of database activity.

Policy-Based Auditing: Organizations can define specific auditing policies to monitor critical actions, such as changes to sensitive data or unauthorized access attempts.

2. Real-Time Monitoring:

Database Firewall: The solution includes a firewall that monitors and filters database traffic in real-time, blocking unauthorized access attempts and SQL injection attacks.

Alerts and Notifications: Security teams can receive alerts for suspicious activities, allowing for prompt investigation and response.

3. Threat Detection:

Anomaly Detection: AVDF uses machine learning algorithms to detect unusual patterns of database activity that may indicate potential security threats.

Predefined Rules: The system comes with a set of predefined security rules that help identify common attack vectors.

4. Compliance Reporting:

Regulatory Compliance: AVDF assists organizations in meeting compliance requirements for regulations such as GDPR, HIPAA, PCI-DSS, and others by providing detailed audit logs and reports.

Custom Reporting: Users can generate custom reports based on specific criteria to support compliance audits.

5. Data Protection:

Sensitive Data Discovery: AVDF helps identify and classify sensitive data within databases, enabling organizations to apply appropriate security measures.

Data Masking: The solution can mask sensitive data in non-production environments to protect it from unauthorized access during testing or development.

6. Centralized Management:

Single Interface: AVDF provides a single management console for monitoring and managing security across multiple databases, simplifying administration tasks.

Integration with Existing Security Tools: The solution can integrate with other security products and SIEM (Security Information and Event Management) systems for enhanced visibility.

Use Cases:

Regulatory Compliance: Organizations in regulated industries can use AVDF to ensure they meet compliance requirements related to data security and auditing.

Data Security Posture Improvement: By implementing AVDF, organizations can strengthen their overall data security posture and reduce the risk of data breaches.

Incident Response: Security teams can leverage the real-time monitoring capabilities to quickly respond to potential threats and mitigate risks.

In summary, Oracle Audit Vault and Database Firewall provides organizations with a robust framework for securing their database environments through comprehensive auditing, real-time monitoring, threat detection, and compliance reporting. It is particularly valuable for businesses that handle sensitive data and need to adhere to strict regulatory requirements.



#oracle #database #devops #dba #linux #mysql #sqlserver #system

https://t.me/unixmens
استخدام کارشناس پایگاه داده اوراکل Oracle DBA



1.مهارت‌های فنی



آشنا با معماری و مفاهیم پایگاه داده های اوراکل
تجربه در مدیریت RAC ، GUARD و ASM
توانایی شناسایی و حل مشکلات performance در سطح دیتابیس
مهارت خوب در نوشتن، رفع اشکال، و بهینه‌سازی کدهای PL/SQL
تجربه در مدیریت و اعمال PATCH امنیتی و ارتقاء نسخ


2. تجربه ومهارت های شغلی



حداقل 3 تا 5 سال تجربه در زمینه Oracle database
توانایی تحلیل مشکلات پیچیده دیتابیس و ارائه راه‌حل‌های مؤثر
توانایی کار تیمی و برقراری ارتباط مؤثر با کارفرما و مشتریان
مهارت‌های مستندسازی و ارائه گزارش‌های دقیق
علاقه به یادگیری تکنولوژی‌های جدید و به‌روز نگه داشتن دانش خود در زمینه دیتابیس و زیرساخت
کار به صورت تمام وقت می باشد.

#jobs #oracle #dba #linux

@unixmens
Academy and Foundation unixmens | Your skills, Your future
mariadb api.pdf
مقاله mariadb / oracle mysql api

نویسنده : مهندس یاشار اسمعیل دخت


نسخه : 0.1


MariaDB Connect Engine is a feature of MariaDB that allows users to connect to external data sources and treat them as if they were regular tables in a MariaDB database. This capability is particularly useful for integrating data from various sources without the need to import it into the database. Here are some key points about the MariaDB Connect Engine:

Data Sources: The Connect Engine can connect to a variety of data sources, including other databases (like MySQL, PostgreSQL, and Oracle), NoSQL databases, flat files (CSV, JSON, etc.), and even web services.

Virtual Tables: When you connect to an external data source, the Connect Engine creates virtual tables that represent the data in those sources. You can then perform SQL queries on these virtual tables just like you would with regular tables in MariaDB.

Data Federation: This feature allows for data federation, meaning you can query and join data from multiple sources in a single SQL statement. This is particularly useful for reporting and analytics where data is spread across different systems.

Configuration: To use the Connect Engine, you need to configure it properly by defining the connection parameters and the structure of the external data. This is typically done using SQL commands to create a table that specifies the connection details.

Performance: While the Connect Engine provides flexibility, performance can vary depending on the external data source and the complexity of the queries. It's important to consider the performance implications when designing your data architecture.

Use Cases: Common use cases for the Connect Engine include data integration, reporting, and analytics, where organizations need to access and analyze data from multiple disparate sources without duplicating data.

Installation: The Connect Engine is not enabled by default in all MariaDB installations, so you may need to install it separately or enable it in your MariaDB configuration.

Overall, the MariaDB Connect Engine is a powerful tool for organizations looking to integrate and analyze data from various sources seamlessly.


#mariadb #engine #mysql #oracle #dba #devops #database #yashar_esmaildokht

https://t.me/unixmens
This image is a creative and symbolic representation of the importance of SQL (Structured Query Language) across various tech roles. It’s styled like the Knights of the Round Table, where each character represents a different profession in the tech industry. They all have their swords pointed towards the center, symbolizing SQL as a shared, unifying tool or "power" they all rely on.

Here’s a breakdown of what each character symbolizes:
🔁 Roles Around the Table:

Software Engineer

Data Analyst

BI Analyst (Business Intelligence Analyst)

Database Administrator

Cybersecurity Analyst

Full Stack Developer

AI/ML Engineer

ETL Developer

Cloud Engineer

Data Engineer

Data Scientist

💡 Meaning and Message:

Central Role of SQL: Despite the diversity in roles—from data-centric ones (like Data Analyst, Data Scientist) to infrastructure roles (like Cloud Engineer, Cybersecurity Analyst)—SQL is portrayed as a foundational skill that all of them must wield.

Unity Through Data: The image shows that in today’s data-driven world, SQL is not just for database admins—everyone in tech needs to know it, at least to a basic level.

Visual Metaphor: The round table evokes equality and cooperation, symbolizing how all these roles collaborate with a common language: SQL.

🧠 Deeper Insight:

Symbolic Leadership: The person labeled Software Engineer is placed centrally (like a king), which could imply the pivotal or initiating role of software engineering in tech development, though it’s arguable depending on context.

Shared Knowledge Culture: It’s a humorous but poignant reminder that, like a sword for a knight, SQL is a key tool in the arsenal of nearly every modern tech professional.

#sql #devops #linux #database #data #dba

https://t.me/unixmens
Oracle Enterprise Manager (OEM) Cloud is a comprehensive management solution that provides tools for monitoring, managing, and optimizing Oracle Cloud environments and on-premises databases. When it comes to MySQL and MariaDB, Oracle OEM can be used to manage these databases, although its primary focus is on Oracle databases.
Key Features of Oracle OEM for MySQL/MariaDB

Monitoring and Performance Management:

OEM provides real-time monitoring of MySQL and MariaDB databases, allowing administrators to track performance metrics, query execution times, and resource utilization.
It can help identify slow queries and performance bottlenecks.

Configuration Management:

Administrators can manage database configurations, ensuring that settings are optimized for performance and security.
OEM can help in maintaining consistency across multiple database instances.


Security Management:

The tool can help manage user access and permissions, ensuring that only authorized users have access to sensitive data.
It can also monitor for security vulnerabilities and compliance with best practices.
Reporting and Analytics:
OEM provides reporting capabilities that allow administrators to generate insights into database performance and usage patterns.
Custom dashboards can be created to visualize key metrics.

Integration with Oracle Cloud

When using MySQL or MariaDB in Oracle Cloud, OEM can provide additional benefits:
Unified Management: Manage both Oracle and non-Oracle databases from a single interface.

Cloud-Specific Features:

Leverage cloud-native features such as auto-scaling, high availability, and disaster recovery options that are available in Oracle Cloud.
Considerations
While Oracle OEM is powerful, it is essential to evaluate whether it meets the specific needs of your MySQL or MariaDB environment, especially if you are primarily using these databases.
There may be other specialized tools for MySQL and MariaDB that could offer more tailored features for those specific database systems.
In summary, Oracle OEM Cloud can be a valuable tool for managing MySQL and MariaDB databases, especially in environments that also utilize Oracle databases, providing a unified approach to database management.


Oracle Enterprise Manager (OEM) Cloud is primarily focused on monitoring, managing, and optimizing Oracle databases and environments. While it provides various management features, it is not specifically designed as a dedicated backup solution for MySQL or MariaDB databases.
Backup Capabilities in OEM Cloud

Monitoring Backup Processes: OEM can monitor the status of backup processes if they are initiated through other tools or scripts. It can provide alerts and reports on backup success or failure.

Integration with Backup Solutions: OEM can integrate with third-party backup solutions or scripts that handle the actual backup process. This means you can use OEM to oversee and manage these processes but not perform the backups directly.

Database Management: While OEM can help manage configurations and settings related to backup strategies, it does not replace the need for dedicated backup tools like mysqldump, MySQL Enterprise Backup, or MariaDB Backup.

#dba #mysql #mariadb #monitoring #oracle #oem #cloud
https://t.me/unixmens