• Platform
    • Back
    • Product
      • Back
      • Platform Overview
      • Flex Framework
      • AI Capabilities
      • Featured Customers
      • Marketplace
        • Contact Sales
        • Support
          • Back
          • Online Help
          • Community Forum
          • Contact Support
            • Contact Sales
            • Log in
            Get a DemoTry Free
            High Contrast
        • Log in
        Get a DemoTry Free
        High Contrast
    • Industries
      • Back
      • Healthcare
      • Education
      • Government
      • Financial Services
      • Energy and Utilities
      • Nonprofits
      • Media
      • Consulting
        • Contact Sales
        • Support
          • Back
          • Online Help
          • Community Forum
          • Contact Support
            • Contact Sales
            • Log in
            Get a DemoTry Free
            High Contrast
        • Log in
        Get a DemoTry Free
        High Contrast
    • Get Started
      • Back
      • Free Trial
      • Get a Custom Demo
      • Contact Sales
        • Support
          • Back
          • Online Help
          • Community Forum
          • Contact Support
            • Contact Sales
            • Log in
            Get a DemoTry Free
            High Contrast
        • Log in
        Get a DemoTry Free
        High Contrast
      • Contact Sales
      • Support
        • Back
        • Online Help
        • Community Forum
        • Contact Support
          • Contact Sales
          • Log in
          Get a DemoTry Free
          High Contrast
      • Log in
      Get a DemoTry Free
      High Contrast
  • Resources
    • Back
    • Resources(inner)
      • Back
      • Resource Center
      • Marketplace
      • Blog
      • Events
        • Contact Sales
        • Support
          • Back
          • Online Help
          • Community Forum
          • Contact Support
            • Contact Sales
            • Log in
            Get a DemoTry Free
            High Contrast
        • Log in
        Get a DemoTry Free
        High Contrast
    • Plan for Success
      • Back
      • Free Training
      • Onboarding
      • Professional Services
      • Partner Directory
        • Contact Sales
        • Support
          • Back
          • Online Help
          • Community Forum
          • Contact Support
            • Contact Sales
            • Log in
            Get a DemoTry Free
            High Contrast
        • Log in
        Get a DemoTry Free
        High Contrast
      • Contact Sales
      • Support
        • Back
        • Online Help
        • Community Forum
        • Contact Support
          • Contact Sales
          • Log in
          Get a DemoTry Free
          High Contrast
      • Log in
      Get a DemoTry Free
      High Contrast
  • Pricing
  • search
  • Contact Sales
  • Support
    • Back
    • Online Help
    • Community Forum
    • Contact Support
      • Contact Sales
      • Log in
      Get a DemoTry Free
      High Contrast
  • Log in
Get a Demo Try Free
High Contrast
Caspio logo Try Free
  • Platform

    The Caspio Low-Code Platform

    • menu-product-icon[1]
      Product
      • Platform Overview
      • Flex Framework
      • AI Capabilities
      • Featured Customers
      • Marketplace
    • industries-icon
      Industries
      • Healthcare
      • Education
      • Government
      • Financial Services
      • Energy and Utilities
      • Nonprofits
      • Media
      • Consulting
    • get-started-icon
      Get Started
      • Free Trial
      • Get a Custom Demo
      • Contact Sales
  • Resources

    All the Tools and Support You Need

    • menu-resources-icon[1]
      Resources(inner)
      • Resource Center
      • Marketplace
      • Blog
      • Events
    • menu-plan-for-success-icon[1]
      Plan for Success
      • Free Training
      • Onboarding
      • Professional Services
      • Partner Directory
  • Pricing
  • High Contrast
  • search
  • Contact Sales
  • Support
    • Online Help
    • Community Forum
    • Contact Support
  • Log in
Get a Demo Try Free

How to Make Your Search Applications Perform Faster

April 23, 2012

  • Tech Tips
  • Customer Spotlight
  • News Articles
Try Free
  • Home
  • Blog
  • Current Article
3875
April 23, 2012
How to Make Your Search Applications Perform Faster

Search Application - Part 1A number of things affect the performance of your search applications. Aside from infrastructure factors such as server load and bandwidth, database size and application design are two major areas under your control.

In this blog series, we offer several ideas and best practices to help you design your app for maximum performance. You may not be able to apply all these ideas to your online database application and that’s okay. Each option can give your app a little boost. The more you can apply, the faster your app will run.

This article is the first of a three-part series about improving the performance of your apps. This first article focuses only on the search portion of your application.

Part 1: Making Searches Fast

You may not realize it, but whenever you create an app using the point-and-click wizards, the Caspio App Engine analyzes the DataPage behind-the-scenes and looks for ways to fine-tune your data for the best possible performance. For example, it applies database indexes on relevant fields that are being used for searching or sorting. Also, if you try to create a lookup dropdown based on a large table, it automatically recommends an alternative method that gives you the same functionality with much faster performance.

Search Application - Database Lookups

When creating a large lookup, Caspio recommends generating a Summary Lookup Table to improve performance.

In addition to the many built-in optimizations that Caspio does automatically, you may want to consider the following best practices:

Limit “Contains” Comparison Type

“Contains” is a handy comparison type that allows your end users to search anywhere within the text of a field. The downside is that it is a CPU-intensive search and there is very little the engine can do to speed it up. The problem grows even more if:

  • Multiple search fields are using the Contains comparison type.
  • Your table is very large.
  • Your fields contain a large amount of text utilizing the Text(64000) data type.

What to do:

  • Contains runs faster on Text(255) fields than on Text(64000) fields, even if both have the same amount of text. If possible, consider converting Contains search fields from Text(64000) to Text(255).
  • Consider using the “Equal” comparison type because it’s enormously faster.
  • If Equal is not optimal, see if “Begins with” makes sense for your search.
Search Application - Contains Search

Instead of “Contains”, consider using “Equal” or “Begins With” comparison types.

  • Reduce the number of Contains instances.
  • If you have a lot of data in your table, consider creating a view to filter the unnecessary fields and build your search application on this view.
  • Give your users two search options: “Basic Search” and “Advanced Search”. Make Basic Search the default using very few search fields and reserve the Contains option in the Advanced Search only.
Search Application - Advanced Search

Example of The San Francisco Chronicle’s recipe guide offering an “Advanced Search” in addition to the basic search.

Lookups, Cascading Dropdowns and Listboxes

Any time the search form is displayed to one of your users, the Caspio App Engine has to render the search form while populating the values of each lookup by querying the relevant table or view. There are as many queries as you have dropdowns and listboxes.

Cascading dropdowns and listboxes require even more complex and CPU-intensive queries in order to display filtered results. Similarly, lookups that are based on complex views take more time than table lookups.

While the Caspio App Engine proactively optimizes these database-intensive form elements, you can apply additional best practices for improved performance.

What to do:
We want you to use as many lookups and cascades as you want, but it’s best to create separate tables for them. Avoid using a table with tens of thousands of records for generating a lookup of a few dozen values. Place the lookup values in their own table.

If you have too many options in a dropdown or a listbox, consider using the AutoComplete feature that recommends choices already in the database.

Search Application - AutoComplete

Caspio’s AutoComplete feature displays a selection box as the user types keywords (similar to Google search).

Searches on Complex Views

Views are virtual. They only exist as a definition until someone asks for the data. When your search application runs on a view, the view has to be put together before each search is performed. This is fine for two or three tables, but becomes complex with some join types based on too many tables, too many fields, or too much data.

Search Application - Views

Views that join more than 2 or 3 tables can hinder search performance.

What to do:
Sometimes you can’t do much about this, but if your application logic allows, consider avoiding views for search or restructure your app to use less complex views.

Let us know if these ideas work for you and if you have other suggestions.

Read Part 2: Make Your Search Results Page Load Faster

Caspio Free Trial Caspio Free Trial

Share this post:

Previous Post:
10 Tasks for Managing Your Applications with Regular Checkups
Next Post:
How to Make Your Search Results Page Load Faster

Recommended Articles

How Caspio Partner WorkMovr and Healthier Pets Redefine Pet Wellness With Low Code

WorkMovr + Healthier Pets: Redefining Pet Wellness With Low Code

READ STORY
Introducing Flex: A Modern Way to Build Apps

Introducing Flex: A Modern Way to Build Apps

READ STORY
Announcing Caspio’s New AI Capability

Announcing Caspio's New AI Capability

READ STORY
From Spreadsheets to Automation: How Marriott International Scaled With Caspio  

How Marriott International Scaled With Low Code

READ STORY
10 Questions to Ask Before Choosing Hospital Management Software

10 Must-Ask Questions Before Choosing Hospital Management Software

READ STORY
Outperform in Uncertainty: How Smart Companies Are Scaling With Less

Outperform in Uncertainty: How Smart Companies Are Scaling With Less

READ STORY
HIPAA-Compliant Caspio App Cuts Occupational Therapy Reporting Time by 80%

HIPAA-Compliant App Cuts Occupational Therapy Reporting Time by 80%

READ STORY
Caspio Turns 25: A Journey of Growth, Innovation and Impact

Caspio Turns 25: A Journey of Growth, Innovation and Impact

READ STORY
Beyond Excel: How a Healthcare Consulting Company Rebuilt Its Workflows With Caspio 

How a Healthcare Management Company Rebuilt Its Workflows With Low Code

READ STORY
How Illinois Orthopedic Network Embraces Low Code for Improved Data Management 

How ION Embraces Low Code for Improved Data Management | Caspio

READ STORY
10 Practical Ways to Use AI in Your Caspio Apps

10 Practical Ways to Use AI in Your Caspio Apps

READ STORY
Send Instant Updates From Caspio to Slack Channels

Send Instant Updates From Caspio to Slack Channels

READ STORY
How Caspio Partner WorkMovr and Healthier Pets Redefine Pet Wellness With Low Code

WorkMovr + Healthier Pets: Redefining Pet Wellness With Low Code

READ STORY
Introducing Flex: A Modern Way to Build Apps

Introducing Flex: A Modern Way to Build Apps

READ STORY
Announcing Caspio’s New AI Capability

Announcing Caspio's New AI Capability

READ STORY
From Spreadsheets to Automation: How Marriott International Scaled With Caspio  

How Marriott International Scaled With Low Code

READ STORY
10 Questions to Ask Before Choosing Hospital Management Software

10 Must-Ask Questions Before Choosing Hospital Management Software

READ STORY
Outperform in Uncertainty: How Smart Companies Are Scaling With Less

Outperform in Uncertainty: How Smart Companies Are Scaling With Less

READ STORY
HIPAA-Compliant Caspio App Cuts Occupational Therapy Reporting Time by 80%

HIPAA-Compliant App Cuts Occupational Therapy Reporting Time by 80%

READ STORY
Caspio Turns 25: A Journey of Growth, Innovation and Impact

Caspio Turns 25: A Journey of Growth, Innovation and Impact

READ STORY
Beyond Excel: How a Healthcare Consulting Company Rebuilt Its Workflows With Caspio 

How a Healthcare Management Company Rebuilt Its Workflows With Low Code

READ STORY
How Illinois Orthopedic Network Embraces Low Code for Improved Data Management 

How ION Embraces Low Code for Improved Data Management | Caspio

READ STORY
10 Practical Ways to Use AI in Your Caspio Apps

10 Practical Ways to Use AI in Your Caspio Apps

READ STORY
Send Instant Updates From Caspio to Slack Channels

Send Instant Updates From Caspio to Slack Channels

READ STORY
How Caspio Partner WorkMovr and Healthier Pets Redefine Pet Wellness With Low Code

WorkMovr + Healthier Pets: Redefining Pet Wellness With Low Code

READ STORY
Introducing Flex: A Modern Way to Build Apps

Introducing Flex: A Modern Way to Build Apps

READ STORY
Announcing Caspio’s New AI Capability

Announcing Caspio's New AI Capability

READ STORY
Subscribe for More Updates
  • PRODUCT

  • Platform Overview
  • Why Low Code
  • Case Studies
  • App Marketplace
  • Pricing
  • Get a Custom Demo
  • Free Trial
  • SOLUTIONS

  • Healthcare
  • Education
  • Government
  • Financial Services
  • Energy and Utilities
  • Nonprofits
  • Media
  • Consulting
  • RESOURCES

  • Resource Center
  • Blog
  • Events
  • Free Training
  • Online Help
  • Onboarding
  • Get Certified
  • Professional Services
  • Support Center
  • COMPANY

  • Our Story
  • Careers
  • Leadership
  • News
  • Partner Programs
  • Referral Program
  • Academic Program
  • Discount Programs
  • Contact Us
  • TRENDING

  • Build Custom CRM
  • Create Web Dashboards
  • Best Online Database
  • Convert Excel to Web
  • Go Paperless With Web Forms
  • Migrate MS Access Online
  • HIPAA Compliant Database
  • Create a Patient Portal
Caspio Logo

Caspio is the world’s leading cloud platform for building online database applications without coding.
Start a free trial today and experience the power of no-code.

Footer Partners

© 2025 Caspio, Inc. Sunnyvale, California. All rights reserved.

  • Privacy Statement
  • Terms of Use
  • Report Abuse
  • Sitemap
  • Feedback