My Youtube Channel

Please Subscribe

Flag of Nepal

Built in OpenGL

Word Cloud in Python

With masked image

Showing posts with label Nepal Telecom. Show all posts
Showing posts with label Nepal Telecom. Show all posts

Thursday, April 9, 2026

What is PAYG? How to enable and disable it in NTC (Nepal Telecom) SIM Card?

 

What is PAYG (Pay-As-You-Go) Data?

In simple terms:
PAYG means you use mobile data and get charged directly from your main balance, without needing a data pack. No subscription—just pay for what you use.

In telecom terms:
PAYG is a default billing mechanism where data usage is rated per KB/MB and deducted from the subscriber’s prepaid balance when no active data bundle is available.


PAYG in Nepal Telecom (NTC)

With a Nepal Telecom SIM, PAYG controls whether your mobile data can consume your main balance.


How to Enable / Disable PAYG

  1. Dial *444#

  2. Select 4 (Data Service Settings)

  3. Choose:

    • 1 → Disable PAYG

    • 2 → Enable PAYG

    • 3 → Check Status





What Do “Enable” and “Disable” Mean?

  • PAYG Enabled
    → Data works using your main balance
    “PAYG data service is currently ENABLED…”

  • PAYG Disabled
    → Data will NOT use your main balance
    “PAYG data service is currently DISABLED…”


Quick Tip

If you want to avoid unexpected balance deduction, keep PAYG disabled (which actually blocks usage from balance).


✔ Simple rule:

  • Want internet anytime? → Enable PAYG

  • Want to protect balance? → Disable PAYG

Tuesday, March 24, 2026

How to Identify Slow SQL Queries in Oracle (Practical Guide for Performance Tuning)

 

How to Identify Slow SQL Queries in Oracle (Practical Guide for Performance Tuning)

Performance tuning is one of the most valuable skills when working with Oracle Database. Slow SQL queries can degrade application performance, increase CPU usage, and frustrate users.

In this guide, we’ll cover how to identify slow SQL using:

  • V$SQL

  • V$SQLAREA

  • AWR Reports

  • Simple and effective tuning ideas


🔍 1. Using V$SQL to Find Slow Queries

The V$SQL view contains detailed statistics about SQL statements currently in the shared pool.


✅ Find Top Slow Queries by Elapsed Time

SELECT 
    sql_id,
    executions,
    elapsed_time/1000000 AS elapsed_sec,
    cpu_time/1000000 AS cpu_sec,
    disk_reads,
    buffer_gets,
    sql_text
FROM 
    v$sql
ORDER BY 
    elapsed_time DESC
FETCH FIRST 10 ROWS ONLY;

📌 Key Columns Explained

  • elapsed_time → total execution time

  • cpu_time → CPU usage

  • disk_reads → physical I/O (slow operations)

  • buffer_gets → logical reads

  • executions → how many times query ran

👉 Focus on:

  • High elapsed time

  • High disk reads

  • High buffer gets


🎯 Find Slow Queries Per Execution

SELECT 
    sql_id,
    executions,
    elapsed_time / DECODE(executions,0,1,executions) / 1000000 AS avg_time_sec,
    sql_text
FROM 
    v$sql
ORDER BY 
    avg_time_sec DESC;

👉 This helps identify queries that are slow individually (not just frequent ones).


📊 2. Using V$SQLAREA (Aggregated View)

V$SQLAREA provides aggregated statistics for SQL statements.


✅ Top Queries by Resource Usage

SELECT 
    sql_id,
    executions,
    buffer_gets,
    disk_reads,
    elapsed_time/1000000 AS elapsed_sec,
    sql_text
FROM 
    v$sqlarea
ORDER BY 
    buffer_gets DESC
FETCH FIRST 10 ROWS ONLY;

📌 When to Use V$SQLAREA

  • To identify heavy queries overall

  • When multiple executions are involved

  • For workload-level analysis


📈 3. Using AWR Reports (Advanced Method)

🔍 What is AWR?

AWR (Automatic Workload Repository) stores historical performance data in Oracle Database.


🛠️ Generate AWR Report

@$ORACLE_HOME/rdbms/admin/awrrpt.sql

📊 Key Sections in AWR Report

🔥 Top SQL by Elapsed Time

  • Shows queries consuming most time

💽 Top SQL by Disk Reads

  • Identifies I/O-heavy queries

🧠 Top SQL by CPU Time

  • CPU-intensive SQL


📌 What to Look For

  • High elapsed time SQL

  • SQL with high executions

  • SQL with high I/O

👉 AWR is best for:

  • Historical analysis

  • Production troubleshooting

  • Identifying trends


🚨 4. Common Signs of Slow SQL

  • High response time

  • High CPU usage

  • Excessive disk reads

  • Full table scans

  • Long-running sessions


🛠️ 5. Simple SQL Tuning Ideas


✅ 1. Use Proper Indexes

CREATE INDEX idx_emp_name ON emp(name);

👉 Helps avoid full table scans


✅ 2. Avoid SELECT *

-- Bad
SELECT * FROM employees;

-- Good
SELECT id, name FROM employees;

👉 Reduces unnecessary data retrieval


✅ 3. Use Bind Variables

SELECT * FROM emp WHERE emp_id = :id;

👉 Improves parsing efficiency


✅ 4. Check Execution Plan

EXPLAIN PLAN FOR 
SELECT * FROM emp WHERE id = 100;

SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);

👉 Understand how Oracle executes query


✅ 5. Reduce Full Table Scans

  • Add indexes

  • Use selective conditions


✅ 6. Optimize Joins

  • Use proper join conditions

  • Avoid Cartesian joins


✅ 7. Gather Statistics

EXEC DBMS_STATS.GATHER_SCHEMA_STATS('HR');

👉 Helps optimizer choose better plans


🧪 6. Real-World Example

Problem Query

SELECT * FROM orders WHERE customer_id = 101;

Issue

  • No index on customer_id

  • Full table scan


Solution

CREATE INDEX idx_orders_cust ON orders(customer_id);

👉 Result:

  • Query becomes significantly faster


⚖️ V$SQL vs V$SQLAREA vs AWR

FeatureV$SQLV$SQLAREAAWR
Data TypeReal-timeAggregatedHistorical
ScopeIndividual SQLCombined SQLSystem-wide
Use CaseImmediate tuningWorkload analysisDeep performance analysis

📌 Conclusion

Identifying slow SQL in Oracle Database involves a combination of:

  • Real-time views (V$SQL, V$SQLAREA)

  • Historical analysis (AWR Reports)

Once identified, applying simple tuning techniques like indexing, query optimization, and statistics gathering can dramatically improve performance.


🚀 Next Topics You Can Cover

Since you're building performance-focused content, you can also write about:

  • SQL Execution Plans deep dive

  • Index types in Oracle

  • Wait events and session tuning

  • ASH vs AWR

Just tell me if you want those ready 👍

Monday, December 1, 2025

The Fading Signal: Why Telecom Profitability is Declining in Nepal and Across the Globe

 

The Fading Signal: Why Telecom Profitability is Declining in Nepal and Across the Globe

Tech Topic: Reason for declining profitability of telecom sector in Nepal and its comparison with various other developed, developing and South Asian countries and future ahead

The telecommunications industry, the backbone of global connectivity, is experiencing a significant downturn in profitability worldwide, a crisis particularly acute in Nepal. This decline is driven by evolving communication methods, regulatory pressures, and intense competition.

Generated Image 1: Overview of Global Telecom Challenges

Nepal's Steep Climb: A Localized Crisis

Nepal's telecom sector, led by Nepal Telecom and Ncell, faces a sharp decline in revenue and net profit due to:

  • Over-The-Top (OTT) Services: Platforms like Messenger, Viber, and WhatsApp have eroded traditional voice and SMS revenue streams. Nepal Telecom reported a 22.37% drop in interconnection revenue. While data usage is high, it hasn't compensated for losses, shrinking the market from NPR 100 billion to below NPR 75 billion.
  • Burdensome Tax Regime and Fees: Operators face a combined tax burden of 21.2% (VAT, service charge, ownership tax), plus corporate tax (30%), spectrum, and royalty fees. This leaves only a meager 5% net profit from gross revenue. Ncell states 50-60% of its income goes to taxes and regulatory fees.
  • Exorbitant License Renewal Fees: A NPR 20 billion GSM license renewal fee every five years strains financial reserves.
  • Intense Market Competition: Aggressive pricing strategies and declining data costs by players like Nepal Telecom and Ncell have squeezed margins.
  • – Nepal Telecom's net profit dropped 48.67% in Q3 FY 2024/25.
  • – Ncell saw a 6% year-on-year revenue decrease and a 48% net profit drop over three quarters in 2020.
  • Market Instability: The revocation of Smart Telecom's license in April 2023 due to unpaid fees highlights market precarity.
  • Revenue Decline: A continuous revenue decline of approximately 28% over seven years for major operators raises concerns about investment in future technologies like 5G.
Generated Image 2: Nepal Telecom Tower with a vibrant sky

A Global Echo: Developed Nations Feel the Pinch

Developed countries face similar challenges:

  • Market Saturation and Competition: Leading to declining Average Revenue Per User (ARPU) and reduced pricing power. Germany saw wireless communication prices drop by 6% (2020-2024).
  • High Capital Expenditures (CapEx): Massive investments in 5G rollout and fiber optic networks incur significant debt, especially with rising interest rates. German telcos invested €13.2 billion in broadband infrastructure in 2023.
  • Slow Monetization of New Technologies: The return on investment for 5G and new technologies has been slower than anticipated.
  • OTT Impact: These services drive data usage but siphon off traditional revenue without compensating network providers.
  • Regulatory Pressures: Prioritizing consumer interests often limits pricing power and M&A.
  • Increasing Operational Costs: Energy, labor, and legacy infrastructure contribute to declining Return on Invested Capital (ROIC), with some failing to cover costs.
Generated Image 3: Global Network Infrastructure

The Developing World's Struggle: Universal Themes, Unique Obstacles

Developing countries share challenges with Nepal and developed nations, plus additional complexities:

  • Amplified High CapEx: Building foundational infrastructure in challenging terrains with lower average incomes makes recouping investment difficult.
  • Significant Debt: The global telecom sector carries substantial debt from continuous upgrades.
  • Price Wars and Low ARPU: Intense competition drives down already lower ARPU due to income disparities and prepaid users.
  • OTT as "Dumb Pipes": OTT services increase data demand but cut into traditional revenue.
  • Regulatory and Political Barriers: Complex frameworks, spectrum allocation issues, and instability can delay projects and increase risks.
  • Skilled Worker Shortage: Hinders deployment and maintenance of advanced networks.
  • Macroeconomic Pressures: Combined with other challenges, often lead to profitability and ROIC falling below the cost of capital.
Generated Image 4: Developing World Telecom Challenges

South Asian Neighbors: A Tapestry of Hurdles

Other South Asian nations face distinct challenges:

  • Pakistan: Political instability, low ARPU, mismatch between dollar-denominated fees and local currency revenue, high taxes, infrastructure costs, and profit repatriation issues.
  • Sri Lanka: Unhealthy competition, broader economic crises, high inflation, reduced consumer demand, and historically excessive taxation hindering rural investment.
  • Bangladesh: Profitability issues from SIM and corporate taxes, stiff competition, regulatory uncertainties, decreasing subscriber growth, poor service quality, and limited technological expansion.
  • Maldives: Tourism-dependent economy's downturn impacting mobile demand, high CapEx for undersea infrastructure across scattered islands.
  • Bhutan: Small market size, mountainous terrain making service provision expensive, continuous investment in rapid technological advancements with slow returns, high license fees, and stringent collateral requirements.
  • Afghanistan: Prolonged political instability and conflict, infrastructure destruction, increased operational risks, and unpredictable tax policies.
Generated Image 5: South Asian Countries Telecom Challenges

The Future Ahead: Strategies for Revival

Hope for the telecom sector lies in strategic pivots:

  1. Cost Optimization: Replacing legacy infrastructure, migrating to cloud, leveraging automation/AI for network management, vendor consolidation, contract renegotiation, and resource auditing.
  2. 5G Monetization and New Revenue Streams:
    • High-Value Use Cases: Remote surgeries, manufacturing automation.
    • Flexible Business Models: Enterprise solutions (B2B) like private 5G, IoT, cloud services, cybersecurity.
    • Consumer (B2C) Value-Added Services: Enhanced mobile broadband, mobile gaming, smart home solutions, often bundled.
    • New Avenues: Network-as-a-Service (NaaS), network slicing, edge computing, exposing Open Gateway APIs.
  3. Customer Experience (CX) Enhancement: Customer-centric approach, personalized offers, proactive communication, and AI-driven omnichannel customer support to minimize churn.
  4. Strategic Partnerships and Ecosystems: Collaboration with OTT players, tech companies, and infrastructure sharing partners to reduce costs and expand reach.
  5. Fiber Optic Expansion and Monetization: Expanding fiber to underserved areas and offering cloud computing, security, and IoT services over these connections, coupled with aggressive customer acquisition.

The telecommunications sector is at a pivotal juncture. While declining profitability presents challenges, it necessitates a transformative approach. By embracing innovation, optimizing operations, and strategically diversifying, telecom companies can navigate this complex landscape, secure their financial future, and continue powering global digital transformation.

Generated Image 6: Future Strategies for Telecom Revival

Thursday, November 27, 2025

Know about Types of Call Forwarding of Nepal Telecom SIM | NTC

Important Things to know about Nepal telecom Online eSIM Portal before you apply

Nepal Telecom Call center or Support number | FTTH | GSM | Support | Re...

Solved : Nepal telecom Recharge card problem | Pinrecovery | Nepal Telecom

Fixed | Nepal Telecom Newly bought SIM Card not working

Solved: Incoming call issue in Nepal Telecom SIM | Nepal Telecom | NTC

Manually select/ latch in other telecom Network for Roaming | Nepal Tele...

Solved: Incoming call issue in Iphone mobile | Nepal Telecom | NTC

Sunday, November 9, 2025

Roaming charges and Packages of Nepal Telecom SIM