And I am building a search functionality, anyone with experience in building a good db search who can point me in the right direction about indexing?

|
keatngan 2021-01-14 07:08:34
laravel_discuss-66529.jpg
Who can help me??
segungreat 2021-01-14 07:21:42
keatngan 2021-01-14 07:08:34
Who can help me??

Db table settings does not exist, try migrating or create the table

2021-01-14 11:26:30
keatngan 2021-01-14 07:08:34
Who can help me??

Check env file

Kistlak 2021-01-14 11:55:20
This web site was run in shared hosting for a long time. But, today I got this error suddenly. Why is that ?? Env file is updated.
Kistlak 2021-01-14 12:04:53
Kistlak 2021-01-14 11:55:20
This web site was run in shared hosting for a long time. But, today I got this error suddenly. Why is that ?? Env file is updated.

This web site was running on a shared hosting for a long time without any problem. But, today I got this database connection error suddenly. Env file and everything is fine. Why is this ?? How can I fix this ??

GistOf 2021-01-14 12:21:30
Hey guys. I have an HTML question
GistOf 2021-01-14 12:23:22
We have a form with a field called “phone”. When the user focuses on the field, Firefox suggests email addresses
GistOf 2021-01-14 12:24:10
I’ve tried autocomplete=”off”
GistOf 2021-01-14 12:24:27
Still Firefox doesn’t care
GistOf 2021-01-14 12:25:57
Tried these values to:
“tel”,
“tel-national”,
“mobile tel”
GistOf 2021-01-14 12:26:27
The field is of type tel
2021-01-14 12:27:05
do it in jquery
Stan 2021-01-14 12:27:21
Please doesn’t anyone has any resource to refer me to any resource that explains database indexing properly
Stan 2021-01-14 12:27:32
Please doesn’t anyone has any resource to refer me to any resource that explains database indexing properly
Stan 2021-01-14 12:27:44
I understand normal indexing but I saw somewhere someone said indexing is highly need for fast db querying
2021-01-14 12:28:09
GistOf 2021-01-14 12:24:27
Still Firefox doesn’t care

$(‘input’).attr(‘autocomplete’,’off’);

GistOf 2021-01-14 12:29:06
2021-01-14 12:28:09
$(‘input’).attr(‘autocomplete’,’off’);

Will try that. Thanks

Stan 2021-01-14 12:29:40
And I am building a search functionality, anyone with experience in building a good db search who can point me in the right direction about indexing?
hypernxf 2021-01-14 12:47:49
What do you want to know?
Stan 2021-01-14 12:49:25
hypernxf 2021-01-14 12:47:49
What do you want to know?

Ok thank you, what I want to know is I understand indexing as a concept to of giving my a record unique identify from other records such as numbering index but how does this translate to making searching fast?

hypernxf 2021-01-14 12:49:49
I’ll give you the short version
Sandhya M 2021-01-14 12:50:16
I created registration form in laravel . After submit button Data is not added in database also how to create index.php. after executing project it shows follows
2021-01-14 12:50:16
Hi everyone, need help,
does any one know how to implement AES Encryption 128 bit in PHP? I am using Yii 2

PS: I know its laravel group, but just asking for help

Stan 2021-01-14 12:50:57
Especially my db record is getting to around 20k but I kind of start having some load time issues with search things, could it be because of I need to upgrade hardware ?although I plan to do so but someone mentioned indexing
hypernxf 2021-01-14 12:51:03
If you dont have an index, your database will start from row1 and search for what you want all the way until the very last result. Thus it will take a long time if you have more rows.

But with an index, your database will know where certain data is located and directly go to the row. Thus shortening the time

hypernxf 2021-01-14 12:51:22
20k to be honest is not alot of data
hypernxf 2021-01-14 12:51:42
If you are not doing any indexing, then that’s very high chance where your culprit are
keatngan 2021-01-14 12:52:04
2021-01-14 11:26:30
Check env file

yes thank

Stan 2021-01-14 12:52:25
hypernxf 2021-01-14 12:51:42
If you are not doing any indexing, then that’s very high chance where your culprit are

I only used basic indexing like id. Is that enough?

hypernxf 2021-01-14 12:53:06
Whether is it enough will depend on your query use in your app
hypernxf 2021-01-14 12:53:21
for example, if youa re just doing

SELECT * FROM users WHERE id = 5;

hypernxf 2021-01-14 12:54:03
Sure your basic indexing for id is definitely enough. But if you are doing

SELECT * FROM users WHERE level = 5 AND ratings = ‘4’;

Stan 2021-01-14 12:54:06
hypernxf 2021-01-14 12:53:06
Whether is it enough will depend on your query use in your app

Ok good so if I use email instead o id, then I need to use email as an index right?

keatngan 2021-01-14 12:54:10
I can’t install AdminLTE with Laravel 5.8. What problem?
hypernxf 2021-01-14 12:54:43
Then your basic index is literally useless
|